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

18 lines
401 B
CMake

add_library(
chapter_02
src/constexp.cpp
src/if_constexpr.cpp
src/ifswitch.cpp
src/initlist.cpp
src/null.cpp
src/range_based_for.cpp
src/structured_binding.cpp
src/type_inference.cpp
src/variadic_templates.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)