2024-04-20 12:35:20 +00:00
|
|
|
set(CPPS
|
2024-04-21 09:02:27 +00:00
|
|
|
error.cpp
|
|
|
|
logfile.cpp
|
2024-04-28 22:10:32 +00:00
|
|
|
log.cpp
|
2024-04-21 09:02:27 +00:00
|
|
|
psglob.cpp
|
|
|
|
psrand.cpp
|
2024-06-26 21:09:50 +00:00
|
|
|
pstring.cpp
|
|
|
|
)
|
2024-04-16 03:43:29 +00:00
|
|
|
|
2024-06-26 21:09:50 +00:00
|
|
|
add_library(misc STATIC ${CPPS})
|
|
|
|
target_link_libraries(misc PRIVATE
|
|
|
|
ddebug
|
2024-06-29 00:52:39 +00:00
|
|
|
SDL2::SDL2
|
2024-06-26 21:09:50 +00:00
|
|
|
)
|
|
|
|
target_include_directories(misc PUBLIC
|
|
|
|
$<BUILD_INTERFACE:
|
|
|
|
${PROJECT_SOURCE_DIR}/misc
|
|
|
|
>
|
|
|
|
)
|
2024-04-30 21:50:25 +00:00
|
|
|
|
|
|
|
if(BUILD_TESTING)
|
|
|
|
add_subdirectory(tests)
|
|
|
|
endif()
|