mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-02 04:31:55 +08:00
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.
This commit is contained in:
4
codes/cpp/chapter_sorting/CMakeLists.txt
Normal file
4
codes/cpp/chapter_sorting/CMakeLists.txt
Normal file
@ -0,0 +1,4 @@
|
||||
add_executable(bubble_sort bubble_sort.cpp)
|
||||
add_executable(insertion_sort insertion_sort.cpp)
|
||||
add_executable(merge_sort merge_sort.cpp)
|
||||
add_executable(quick_sort quick_sort.cpp)
|
||||
Reference in New Issue
Block a user