12 lines
353 B
CMake
12 lines
353 B
CMake
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>)
|
|
|
|
target_compile_options(pb_1 PUBLIC ${COMPILE_FLAGS})
|
|
|
|
target_link_options(pb_1 PUBLIC ${LINKER_OPTIONS})
|
|
|
|
target_link_libraries(pb_1 PUBLIC ${LINKER_FLAGS} common)
|