mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-27 15:06:28 +08:00
567497a6b8
* 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.
9 lines
390 B
CMake
9 lines
390 B
CMake
add_executable(array_deque array_deque.cpp)
|
|
add_executable(array_queue array_queue.cpp)
|
|
add_executable(array_stack array_stack.cpp)
|
|
add_executable(deque deque.cpp)
|
|
add_executable(linkedlist_deque linkedlist_deque.cpp)
|
|
add_executable(linkedlist_queue linkedlist_queue.cpp)
|
|
add_executable(linkedlist_stack linkedlist_stack.cpp)
|
|
add_executable(queue queue.cpp)
|
|
add_executable(stack stack.cpp)
|