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