0
0
AdventOfCode2023/pb_1/CMakeLists.txt

12 lines
353 B
CMake
Raw Permalink Normal View History

2024-01-17 21:05:04 +01:00
project(pb1 CXX)
add_library(pb_1 STATIC problem_1.cpp problem_1.hpp)
target_compile_definitions(pb_1 PUBLIC $<$<AND:$<CONFIG:Debug>,$<STREQUAL:$<CXX_COMPILER_ID>,GNU>>:_GLIBCXX_DEBUG>)
2024-07-31 22:20:57 +02:00
target_compile_options(pb_1 PUBLIC ${COMPILE_FLAGS})
2024-01-17 21:05:04 +01:00
2024-07-31 22:20:57 +02:00
target_link_options(pb_1 PUBLIC ${LINKER_OPTIONS})
2024-01-17 21:05:04 +01:00
2024-07-31 22:20:57 +02:00
target_link_libraries(pb_1 PUBLIC ${LINKER_FLAGS} common)