1
0
This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
modern_cpp_tutorial/chapters/chapter_02/CMakeLists.txt

16 lines
346 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/initlist.cpp
src/null.cpp
src/constexp.cpp
src/ifswitch.cpp
src/structured_binding.cpp
src/type_inference.cpp
src/if_constexpr.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)