hello-algo/codes/cpp/chapter_array_and_linkedlist/CMakeLists.txt
Gonglja 567497a6b8
Add cpp codes cmake build method (#419)
* feat(codes/cpp): Add cmake build method

* feat(codes/cpp): Modify the cpp support version to c++17

* feat(codes/cpp): fix graph_adjacency_list.cpp cannot be compiled into an executable

* style(codes/cpp): Adjust the code to enhance compatibility.

* feat(codes/cpp): Change cpp version from 17 to 11.
2023-03-14 20:40:33 +08:00

4 lines
No EOL
144 B
CMake

add_executable(array array.cpp)
add_executable(linked_list linked_list.cpp)
add_executable(list my_list.cpp)
add_executable(my_list my_list.cpp)