Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 1 | |
Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -0500 | [diff] [blame^] | 2 | #to make sure includes are first taken - it contains config.h |
| 3 | include_directories(BEFORE ${CMAKE_BINARY_DIR}) |
| 4 | include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} |
| 5 | ${CMAKE_SOURCE_DIR}/zrtp |
| 6 | ${CMAKE_SOURCE_DIR}/clients/ccrtp) |
Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 7 | |
Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -0500 | [diff] [blame^] | 8 | if (CCRTP) |
| 9 | ########### next target ############### |
Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 10 | |
Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -0500 | [diff] [blame^] | 11 | add_executable(zrtptest zrtptest.cpp) |
| 12 | target_link_libraries(zrtptest ${zrtplibName}) |
| 13 | add_dependencies(zrtptest ${zrtplibName}) |
Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 14 | |
Alexandre Lision | 7fd5d3d | 2013-12-04 13:06:40 -0500 | [diff] [blame^] | 15 | ########### next target ############### |
| 16 | |
| 17 | add_executable(zrtptestMulti zrtptestMulti.cpp) |
| 18 | target_link_libraries(zrtptestMulti ${zrtplibName}) |
| 19 | add_dependencies(zrtptestMulti ${zrtplibName}) |
| 20 | else() |
| 21 | add_executable(sdestest sdestest.cpp) |
| 22 | target_link_libraries(sdestest ${zrtplibName}) |
| 23 | add_dependencies(sdestest ${zrtplibName}) |
| 24 | endif() |
Alexandre Lision | 51140e1 | 2013-12-02 10:54:09 -0500 | [diff] [blame] | 25 | ########### next target ############### |
| 26 | |
| 27 | #add_executable(wrappertest wrappertest.c) |
| 28 | #target_link_libraries(wrappertest zrtpcpp) |
| 29 | |
| 30 | ########### install files ############### |
| 31 | # None |