#------------------------------------------------------------------- # This file is part of the CMake build system for Scol # # The contents of this file are placed in the public domain. Feel # free to make use of it in any way you like. #------------------------------------------------------------------- ############################################################ # Vlc plugin CMakeList ############################################################ PROJECT(scolvlc) # define header and source files for the library set (VLC_HEADER_FILES include/inttypes.h include/stdint.h include/scolvlc/ObjVlcMediaPlayer.h include/scolvlc/scolvlcplugin.h ) set (VLC_SOURCE_FILES src/scolvlc/ObjVlcMediaPlayer.cpp src/scolvlc/scolvlcplugin.cpp ) # Add directories includes include_directories(include include/scolvlc ${Vlc_INCLUDE_DIRS}) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS) set(LIBRARIES ${Vlc_LIBRARIES} strmiids.lib ) # setup Scol scolvlc plugin target add_library(scolvlc ${Scol_LIB_TYPE} ${VLC_HEADER_FILES} ${VLC_SOURCE_FILES} ) add_dependencies(scolvlc kernel) # set the dll version. #set_target_properties(scolvlc PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(scolvlc ${LIBRARIES}) # install Scol scolvlc scol_config_plugin(scolvlc) #install(FILES ${VLC_HEADER_FILES} DESTINATION include/SCOL/plugins/vlcscol)