-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
33 lines (23 loc) · 975 Bytes
/
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
cmake_minimum_required(VERSION 3.21)
project(Programmieren C)
set(CMAKE_C_STANDARD 23)
set(CMAKE_C_STANDARD_REQUIRED ON)
set(CMAKE_C_FLAGS "-O3 -Wall -Wextra -Wpedantic -pedantic-errors") # optimizations (e.g. for recursive calls) and more warnings
add_executable(helloworld
src-c/semester2/helloworld/helloworld.c)
add_executable(euclid
src-c/semester2/euclid/euclid.c)
add_executable(remove
src-c/semester2/remove/remove.c)
add_executable(strqueue
src-c/semester2/strqueue/strqueue_main.c src-c/semester2/strqueue/strqueue.c src-c/semester2/strqueue/reverse.c)
add_executable(strcat
src-c/semester2/strcat/strcat.c)
add_executable(strin
src-c/semester2/strin/strin.c)
add_executable(map
src-c/semester2/map/map.c)
add_executable(tree
src-c/semester2/tree/tree_main.c src-c/semester2/tree/tree.c)
add_executable(tree_memcheck
src-c/semester2/tree/tree_memcheck.c src-c/semester2/tree/tree.c)