Navigation



Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • freeDiameter/tests/CMakeLists.txt

    r3 r1  
    1212# List the test cases
    1313SET(TEST_LIST
    14         testlist
    1514        testdict
    1615        testmesg
    1716        testmq
    18         testsess
    1917)
    2018
     
    2220# Some parameters for the tests
    2321
     22# Add this flag to add some debug information in the tests themselves
    2423ADD_DEFINITIONS(-DTEST_DEBUG)
    25 ADD_DEFINITIONS(-DTRACE_LEVEL=NONE)
    2624
    2725INCLUDE_DIRECTORIES( ".." )
    28 INCLUDE_DIRECTORIES( "../../libfreeDiameter" )
    2926
    3027SET(TEST_COMMON_SRC "")
     
    3835# ENDFOREACH(SRC_FILE)
    3936
    40 FOREACH( SRC_FILE ${LFD_SRC})
    41    SET(TEST_COMMON_SRC ${TEST_COMMON_SRC} "../../libfreeDiameter/${SRC_FILE}")
    42 ENDFOREACH(SRC_FILE)
    43 
    4437# Create an archive with the daemon common files (all but main)
    4538ADD_LIBRARY(fDcore STATIC ${TEST_COMMON_SRC})
     
    5043FOREACH( TEST ${TEST_LIST} )
    5144   ADD_EXECUTABLE(${TEST} ${TEST}.c tests.h)
    52    TARGET_LINK_LIBRARIES(${TEST} fDcore ${FD_LIBS})
     45   TARGET_LINK_LIBRARIES(${TEST} libfreeDiameter fDcore ${FD_LIBS})
    5346   ADD_TEST(${TEST} ${EXECUTABLE_OUTPUT_PATH}/${TEST})
    5447ENDFOREACH( TEST )
Note: See TracChangeset for help on using the changeset viewer.