1
0
Fork 0
modern_cpp_tutorial/chapters/chapter_02/CMakeLists.txt

10 lines
324 B
CMake

add_library(
chapter_02 src/initlist.cpp src/null.cpp src/constexp.cpp src/ifswitch.cpp
src/structured_binding.cpp src/type_inference.cpp)
target_compile_features(chapter_02 PUBLIC cxx_std_20)
target_include_directories(chapter_02 PUBLIC include)
target_link_libraries(chapter_02 PUBLIC chapter_interface)