src_CMakeLists: Build libvlc-control.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 14:26:54 +0000 (14:26 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Mon, 4 Feb 2008 14:26:54 +0000 (14:26 +0000)
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
extras/buildsystem/cmake/include/config.cmake

index dfe0ef5..104494a 100644 (file)
@@ -130,6 +130,38 @@ endif(SYS_DARWIN)
 add_library(libvlc SHARED ${SOURCES_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
 
@@ -155,5 +187,5 @@ COMMAND sh "rm -f misc/revision.c misc/revision.c.tmp &&
 ##########################################################
 # 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" )
index ef7fb62..c88558c 100644 (file)
@@ -98,7 +98,6 @@ if(APPLE)
             "${CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS} -undefined dynamic_lookup")
         set(CMAKE_SHARED_MODULE_CREATE_C_FLAGS
             "${CMAKE_SHARED_MODULE_CREATE_C_FLAGS} -undefined dynamic_lookup")
-    MESSAGE( "Using ${CMAKE_SHARED_MODULE_LINK_C_FLAGS}" )
 
     set(HAVE_DL_DYLD ON INTERNAL)
     set(SYS_DARWIN 1)