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

22 lines
507 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/chapter_2_tests.cpp
2023-10-22 19:43:17 +00:00
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
2023-11-05 10:54:41 +00:00
src/variadic_templates.cpp
2023-11-05 11:06:16 +00:00
src/delegate_constructor.cpp
2023-11-19 14:00:39 +00:00
src/inheritance_constructor.cpp
src/enum.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)