|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
project(hello_algo C)
|
|
|
|
|
|
|
|
set(CMAKE_C_STANDARD 11)
|
|
|
|
|
|
|
|
include_directories(./include)
|
|
|
|
|
|
|
|
add_subdirectory(chapter_computational_complexity)
|
|
|
|
add_subdirectory(chapter_array_and_linkedlist)
|
|
|
|
add_subdirectory(chapter_stack_and_queue)
|
|
|
|
add_subdirectory(chapter_hashing)
|
|
|
|
add_subdirectory(chapter_tree)
|
|
|
|
add_subdirectory(chapter_heap)
|
|
|
|
add_subdirectory(chapter_graph)
|
|
|
|
add_subdirectory(chapter_searching)
|
|
|
|
add_subdirectory(chapter_sorting)
|
|
|
|
add_subdirectory(chapter_divide_and_conquer)
|
|
|
|
add_subdirectory(chapter_backtracking)
|
|
|
|
add_subdirectory(chapter_dynamic_programming)
|
|
|
|
add_subdirectory(chapter_greedy)
|