Commit 34c102eb authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

src_CMakeLists: Build libvlc-control.

parent b06b60d4
...@@ -130,6 +130,38 @@ endif(SYS_DARWIN) ...@@ -130,6 +130,38 @@ endif(SYS_DARWIN)
add_library(libvlc SHARED ${SOURCES_libvlc}) add_library(libvlc SHARED ${SOURCES_libvlc})
install_targets(/lib libvlc) install_targets(/lib libvlc)
# libvlc-control
set( SOURCES_libvlc_control
control/libvlc_internal.h
control/core.c
control/log.c
control/playlist.c
control/vlm.c
control/video.c
control/audio.c
control/dynamic_media_list.c
control/event.c
control/flat_media_list_view.c
control/hierarchical_media_list_view.c
control/hierarchical_node_media_list_view.c
control/media_descriptor.c
control/media_instance.c
control/media_list.c
control/media_list_path.h
control/media_list_player.c
control/media_list_view.c
control/media_library.c
control/mediacontrol_internal.h
control/mediacontrol_core.c
control/mediacontrol_util.c
control/mediacontrol_audio_video.c
control/media_discoverer.c
control/tag_query.c )
add_library(libvlc-control SHARED ${SOURCES_libvlc_control})
install_targets(/lib libvlc-control)
########################################################## ##########################################################
# Libraries # Libraries
...@@ -155,5 +187,5 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp && ...@@ -155,5 +187,5 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp &&
########################################################## ##########################################################
# SET_TARGET_PROPERTIES # SET_TARGET_PROPERTIES
set_target_properties(libvlc vlc PROPERTIES COMPILE_FLAGS set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
"-std=c99 -I. -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" ) "-std=c99 -I. -Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
...@@ -98,7 +98,6 @@ if(APPLE) ...@@ -98,7 +98,6 @@ if(APPLE)
"${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS} -undefined dynamic_lookup") "${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS} -undefined dynamic_lookup")
set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
"${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup") "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup")
MESSAGE( "Using ${CMAKE_SHARED_MODULE_LINK_C_FLAGS}" )
set(HAVE_DL_DYLD ON INTERNAL) set(HAVE_DL_DYLD ON INTERNAL)
set(SYS_DARWIN 1) set(SYS_DARWIN 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment