mirror of
https://github.com/krahets/hello-algo.git
synced 2024-12-26 13:56: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.
4 lines
No EOL
234 B
CMake
4 lines
No EOL
234 B
CMake
add_executable(leetcode_two_sum leetcode_two_sum.cpp)
|
|
add_executable(space_complexity space_complexity.cpp )
|
|
add_executable(time_complexity time_complexity.cpp)
|
|
add_executable(worst_best_time_complexity worst_best_time_complexity.cpp) |