15 lines
377 B
CMake
15 lines
377 B
CMake
PROJECT(libcommon_utest)
|
|
|
|
INCLUDE_DIRECTORIES(. ${CMAKE_SOURCE_DIR}/srcs/include ${CMAKE_SOURCE_DIR}/srcs/libs/include)
|
|
|
|
AUX_SOURCE_DIRECTORY(misc UTEST_SRC)
|
|
|
|
ADD_DEFINITIONS(-DPROJECT_NAME="${PROJECT_NAME}")
|
|
|
|
ADD_EXECUTABLE(${PROJECT_NAME} ${UTEST_SRC})
|
|
|
|
TARGET_LINK_LIBRARIES(${PROJECT_NAME} common)
|
|
|
|
#INCLUDE(CTest)
|
|
#INCLUDE(doctest)
|
|
#doctest_discover_tests(${PROJECT_NAME}) |