Descent3/misc/CMakeLists.txt
2024-09-24 23:00:53 +03:00

22 lines
294 B
CMake

set(HEADERS
psglob.h
psrand.h
pstring.h
)
set(CPPS
psglob.cpp
psrand.cpp
pstring.cpp
)
add_library(misc STATIC ${HEADERS} ${CPPS})
target_include_directories(misc PUBLIC
$<BUILD_INTERFACE:
${PROJECT_SOURCE_DIR}/misc
>
)
if(BUILD_TESTING)
add_subdirectory(tests)
endif()