1 FILE(GLOB SRC *.cpp *.h)
3 ADD_EXECUTABLE(nel_unit_test ${SRC})
5 INCLUDE_DIRECTORIES(${CPPTEST_INCLUDE_DIR})
7 TARGET_LINK_LIBRARIES(nel_unit_test ${CPPTEST_LIBRARIES} nelmisc nelnet nelligo)
8 NL_DEFAULT_PROPS(nel_unit_test "Unit Tests")
9 NL_ADD_RUNTIME_FLAGS(nel_unit_test)
11 ADD_DEFINITIONS(-DNEL_UNIT_BASE="${PROJECT_SOURCE_DIR}/nel/tools/nel_unit_test/")
13 INSTALL(TARGETS nel_unit_test RUNTIME DESTINATION ${NL_BIN_PREFIX})