Changeset 2:d8ce06172629 in freeDiameter for freeDiameter/tests/CMakeLists.txt
- Timestamp:
- Aug 31, 2009, 5:32:22 PM (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freeDiameter/tests/CMakeLists.txt
r1 r2 20 20 # Some parameters for the tests 21 21 22 # Add this flag to add some debug information in the tests themselves23 22 ADD_DEFINITIONS(-DTEST_DEBUG) 23 ADD_DEFINITIONS(-DTRACE_LEVEL=NONE) 24 24 25 25 INCLUDE_DIRECTORIES( ".." ) 26 INCLUDE_DIRECTORIES( "../../libfreeDiameter" ) 26 27 27 28 SET(TEST_COMMON_SRC "") … … 35 36 # ENDFOREACH(SRC_FILE) 36 37 38 FOREACH( SRC_FILE ${LFD_SRC}) 39 SET(TEST_COMMON_SRC ${TEST_COMMON_SRC} "../../libfreeDiameter/${SRC_FILE}") 40 ENDFOREACH(SRC_FILE) 41 37 42 # Create an archive with the daemon common files (all but main) 38 43 ADD_LIBRARY(fDcore STATIC ${TEST_COMMON_SRC}) … … 43 48 FOREACH( TEST ${TEST_LIST} ) 44 49 ADD_EXECUTABLE(${TEST} ${TEST}.c tests.h) 45 TARGET_LINK_LIBRARIES(${TEST} libfreeDiameterfDcore ${FD_LIBS})50 TARGET_LINK_LIBRARIES(${TEST} fDcore ${FD_LIBS}) 46 51 ADD_TEST(${TEST} ${EXECUTABLE_OUTPUT_PATH}/${TEST}) 47 52 ENDFOREACH( TEST )
Note: See TracChangeset
for help on using the changeset viewer.