-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathCMakeLists.txt
50 lines (42 loc) · 1.63 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
cmake_minimum_required(VERSION 3.10)
project(sort-algos C)
project(sort-algos-int C)
project(sort-algos-int-with-func C)
set(CMAKE_C_STANDARD 11)
include_directories("./include")
add_executable(sort-algos
include/data-swap.c
include/sort-algos/selection-sort.c
include/sort-algos/bubble-sort.c
include/sort-algos/insertion-sort.c
include/sort-algos/quick-sort.c
include/sort-algos/cocktail-sort.c
include/sorted-assert.c
include/sort-algos/sort-test.c
include/time-utils.c
include/sort-base.h
sort-algos.c)
add_executable(sort-algos-int
include/sort-algos-int/selection-sort-int.c
include/sort-algos-int/bubble-sort-int.c
include/sort-algos-int/insertion-sort-int.c
include/sort-algos-int/quick-sort-int.c
include/sort-algos-int/cocktail-sort-int.c
include/sorted-assert.c
include/data-swap.c
include/sort-algos-int/sort-test.c
include/time-utils.c
include/sort-base.h
sort-algos-int.c)
add_executable(sort-algos-int-with-func
include/sort-algos-int-with-func/selection-sort-int-with-func.c
include/sort-algos-int-with-func/bubble-sort-int-with-func.c
include/sort-algos-int-with-func/insertion-sort-int-with-func.c
include/sort-algos-int-with-func/quick-sort-int-with-func.c
include/sort-algos-int-with-func/cocktail-sort-int-with-func.c
include/sorted-assert.c
include/data-swap.c
include/sort-algos-int-with-func/sort-test.c
include/time-utils.c
include/sort-base.h
sort-algos-int-with-func.c)