2023-02-02 02:58:49 +00:00
|
|
|
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})
|
|
|
|
|
2023-03-03 07:17:20 +00:00
|
|
|
TARGET_LINK_LIBRARIES(${PROJECT_NAME} common ${COMMON_LIBS})
|
2023-02-02 02:58:49 +00:00
|
|
|
|
|
|
|
#INCLUDE(CTest)
|
|
|
|
#INCLUDE(doctest)
|
|
|
|
#doctest_discover_tests(${PROJECT_NAME})
|