|
@@ -1,10 +1,10 @@
|
|
|
-cmake_minimum_required(VERSION 3.0.0)
|
|
|
+cmake_minimum_required(VERSION 3.0.1)
|
|
|
project(mumsi)
|
|
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
|
|
|
|
|
|
INCLUDE(FindPkgConfig)
|
|
|
-find_package(Boost COMPONENTS system unit_test_framework program_options filesystem REQUIRED)
|
|
|
+find_package(Boost COMPONENTS system REQUIRED)
|
|
|
find_package(PkgConfig REQUIRED)
|
|
|
|
|
|
pkg_check_modules(PJSIP "libpjproject")
|
|
@@ -25,20 +25,9 @@ set(SOURCE_FILES
|
|
|
Configuration.cpp
|
|
|
Configuration.hpp)
|
|
|
|
|
|
-#set(TEST_SOURCE_FILES
|
|
|
-# SoundSampleQueueTest.cpp
|
|
|
-#)
|
|
|
-
|
|
|
add_executable(mumsi ${SOURCE_FILES} main.cpp)
|
|
|
target_link_libraries(mumsi ${PJSIP_LIBRARIES})
|
|
|
target_link_libraries(mumsi ${LOG4CPP_LIBRARIES})
|
|
|
target_link_libraries(mumsi ${Boost_LIBRARIES})
|
|
|
target_link_libraries(mumsi mumlib)
|
|
|
|
|
|
-#add_executable(mumsi_test ${SOURCE_FILES} ${TEST_SOURCE_FILES} test_main.cpp)
|
|
|
-#target_link_libraries(mumsi_test ${OPUS_LIBRARIES})
|
|
|
-#target_link_libraries(mumsi_test ${PJSIP_LIBRARIES})
|
|
|
-#target_link_libraries(mumsi_test ${LOG4CPP_LIBRARIES})
|
|
|
-#target_link_libraries(mumsi_test ${SNDFILE_LIBRARIES})
|
|
|
-#target_link_libraries(mumsi_test ${Boost_LIBRARIES})
|
|
|
-#target_link_libraries(mumsi_test mumble)
|