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

18 lines
401 B
CMake
Raw Normal View History

2023-10-21 20:45:28 +00:00
add_library(
2023-10-22 19:43:17 +00:00
chapter_02
src/constexp.cpp
2023-10-22 20:12:56 +00:00
src/if_constexpr.cpp
2023-10-22 19:43:17 +00:00
src/ifswitch.cpp
2023-10-22 20:12:56 +00:00
src/initlist.cpp
src/null.cpp
src/range_based_for.cpp
2023-10-22 19:43:17 +00:00
src/structured_binding.cpp
2023-11-04 17:20:13 +00:00
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)