forked from wernerd/ZRTPCPP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
executable file
·31 lines (24 loc) · 1015 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#to make sure includes are first taken - it contains config.h
include_directories(BEFORE ${CMAKE_BINARY_DIR})
include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/zrtp
${CMAKE_SOURCE_DIR}/clients/ccrtp)
if (CCRTP)
########### next target ###############
add_executable(zrtptest zrtptest.cpp)
target_link_libraries(zrtptest ${zrtplibName})
add_dependencies(zrtptest ${zrtplibName})
########### next target ###############
add_executable(zrtptestMulti zrtptestMulti.cpp)
target_link_libraries(zrtptestMulti ${zrtplibName})
add_dependencies(zrtptestMulti ${zrtplibName})
else()
add_executable(sdestest sdestest.cpp)
target_link_libraries(sdestest ${zrtplibName})
add_dependencies(sdestest ${zrtplibName})
endif()
########### next target ###############
#add_executable(wrappertest wrappertest.c)
#target_link_libraries(wrappertest zrtpcpp)
########### install files ###############
# None