blob: c253d9fcc5c3e9e3b8523e2a748466051799cbb8 [file] [log] [blame]
Alexandre Lision51140e12013-12-02 10:54:09 -05001
Alexandre Lision7fd5d3d2013-12-04 13:06:40 -05002#to make sure includes are first taken - it contains config.h
3include_directories(BEFORE ${CMAKE_BINARY_DIR})
4include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}
5 ${CMAKE_SOURCE_DIR}/zrtp
6 ${CMAKE_SOURCE_DIR}/clients/ccrtp)
Alexandre Lision51140e12013-12-02 10:54:09 -05007
Alexandre Lision7fd5d3d2013-12-04 13:06:40 -05008if (CCRTP)
9 ########### next target ###############
Alexandre Lision51140e12013-12-02 10:54:09 -050010
Alexandre Lision7fd5d3d2013-12-04 13:06:40 -050011 add_executable(zrtptest zrtptest.cpp)
12 target_link_libraries(zrtptest ${zrtplibName})
13 add_dependencies(zrtptest ${zrtplibName})
Alexandre Lision51140e12013-12-02 10:54:09 -050014
Alexandre Lision7fd5d3d2013-12-04 13:06:40 -050015 ########### next target ###############
16
17 add_executable(zrtptestMulti zrtptestMulti.cpp)
18 target_link_libraries(zrtptestMulti ${zrtplibName})
19 add_dependencies(zrtptestMulti ${zrtplibName})
20else()
21 add_executable(sdestest sdestest.cpp)
22 target_link_libraries(sdestest ${zrtplibName})
23 add_dependencies(sdestest ${zrtplibName})
24endif()
Alexandre Lision51140e12013-12-02 10:54:09 -050025########### next target ###############
26
27#add_executable(wrappertest wrappertest.c)
28#target_link_libraries(wrappertest zrtpcpp)
29
30########### install files ###############
31# None