Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
4c7600b8
Commit
4c7600b8
authored
Feb 12, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Some improvements based on Alexander Neundorf feedback.
parent
44678aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
12 deletions
+10
-12
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+10
-12
No files found.
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
View file @
4c7600b8
include_directories( . )
add_definitions(-Dasm=__asm__ -D_INTL_REDIRECT_MACROS)
add_definitions(-DLOCALEDIR=\\"${CMAKE_INSTALL_PREFIX}/locale\\")
...
...
@@ -8,8 +7,6 @@ add_definitions(-DPLUGIN_PATH=\\"${CMAKE_INSTALL_PREFIX}/lib/vlc\\")
add_executable(vlc vlc.c)
target_link_libraries(vlc libvlc)
install_targets(/bin vlc)
# libvlc
set( SOURCES_libvlc_beos misc/beos_specific.cpp )
...
...
@@ -132,16 +129,12 @@ if(SYS_DARWIN)
endif(SYS_DARWIN)
add_library(libvlc SHARED ${SOURCES_libvlc})
install_targets(/lib libvlc)
set_target_properties(libvlc PROPERTIES
OUTPUT_NAME vlc)
set_target_properties(libvlc PROPERTIES SOVERSION 1)
set_target_properties(libvlc PROPERTIES
VERSION 1.0.0)
set_target_properties(libvlc PROPERTIES
OUTPUT_NAME vlc
SOVERSION 1
VERSION 1.0.0)
target_link_libraries(libvlc ${LIBM})
target_link_libraries(libvlc ${LIBRT})
target_link_libraries(libvlc ${LIBICONV})
target_link_libraries(libvlc ${Dlopen_LIBRARIES})
target_link_libraries(libvlc ${LIBM} ${LIBRT} ${LIBICONV} ${Dlopen_LIBRARIES})
# libvlc-control
...
...
@@ -173,7 +166,6 @@ set( SOURCES_libvlc_control
control/tag_query.c )
add_library(libvlc-control SHARED ${SOURCES_libvlc_control})
install_targets(/lib libvlc-control)
set_target_properties(libvlc-control PROPERTIES OUTPUT_NAME vlc-control)
set_target_properties(libvlc-control PROPERTIES SOVERSION 0)
...
...
@@ -181,6 +173,12 @@ set_target_properties(libvlc PROPERTIES VERSION 0.0.0)
target_link_libraries(libvlc-control libvlc)
##########################################################
# Install
install(TARGETS libvlc libvlc-control DESTINATION lib)
install(TARGETS vlc DESTINATION bin)
##########################################################
# Libraries
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment