Changes in freeDiameter/tests/CMakeLists.txt [1:bafb831ba688:3:ef303f1078ab] in freeDiameter
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/tests/CMakeLists.txt
r1 r3 12 12 # List the test cases 13 13 SET(TEST_LIST 14 testlist 14 15 testdict 15 16 testmesg 16 17 testmq 18 testsess 17 19 ) 18 20 … … 20 22 # Some parameters for the tests 21 23 22 # Add this flag to add some debug information in the tests themselves23 24 ADD_DEFINITIONS(-DTEST_DEBUG) 25 ADD_DEFINITIONS(-DTRACE_LEVEL=NONE) 24 26 25 27 INCLUDE_DIRECTORIES( ".." ) 28 INCLUDE_DIRECTORIES( "../../libfreeDiameter" ) 26 29 27 30 SET(TEST_COMMON_SRC "") … … 35 38 # ENDFOREACH(SRC_FILE) 36 39 40 FOREACH( SRC_FILE ${LFD_SRC}) 41 SET(TEST_COMMON_SRC ${TEST_COMMON_SRC} "../../libfreeDiameter/${SRC_FILE}") 42 ENDFOREACH(SRC_FILE) 43 37 44 # Create an archive with the daemon common files (all but main) 38 45 ADD_LIBRARY(fDcore STATIC ${TEST_COMMON_SRC}) … … 43 50 FOREACH( TEST ${TEST_LIST} ) 44 51 ADD_EXECUTABLE(${TEST} ${TEST}.c tests.h) 45 TARGET_LINK_LIBRARIES(${TEST} libfreeDiameterfDcore ${FD_LIBS})52 TARGET_LINK_LIBRARIES(${TEST} fDcore ${FD_LIBS}) 46 53 ADD_TEST(${TEST} ${EXECUTABLE_OUTPUT_PATH}/${TEST}) 47 54 ENDFOREACH( TEST )
Note: See TracChangeset
for help on using the changeset viewer.