Some code fixes done to multicast service classes.
[tourist.git] / App / testsuite / CMakeLists.txt
blob404876ef228fe5056fbf04fb5503ec3ea59892e2
1 INCLUDE_DIRECTORIES(
2 ./include
3 ${PROJECT_ROOT}/Core/include
4 ${PROJECT_ROOT}/Util/include
5 ${PROJECT_ROOT}/Message/include
6 ${PROJECT_ROOT}/ReliableUDP/include
7 ${PROJECT_ROOT}/Hessian
10 SET(APP_TEST_SRCS
11 src/Driver
12 src/CoreTestSuite
13 src/TestPeerHandshake
14 src/TestCacheXfer
15 src/TestMulticast
18 FIND_LIBRARY(CPPUNIT_LIBRARY NAMES CppUnit)
20 #Require for linking against the library TouristApp
21 LINK_DIRECTORIES(${PROJECT_ROOT}/App})
23 ADD_EXECUTABLE(testrunner_app ${APP_TEST_SRCS})
25 ADD_LIBRARY(AppTest SHARED ${APP_TEST_SRCS})
27 TARGET_LINK_LIBRARIES(testrunner_app ${CPPUNIT_LIBRARY} TouristMessage TouristNet TouristApp)