forked from group-c-game/carcassonne
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
46 lines (40 loc) · 991 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
34
35
36
37
38
39
40
41
42
43
44
45
46
cmake_minimum_required(VERSION 3.11)
project(carcassonne C)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_FLAGS "-Wall -Wextra -Wlogical-op -Wdouble-promotion -Wconversion \
-Wsign-conversion -Wshadow -Wformat=2 -g3 -Wjump-misses-init -pedantic")
include_directories(src)
set(carc_srcs
src/ai.c
src/ai.h
src/board.c
src/board.h
src/calculator.c
src/calculator.h
src/interactive.c
src/interactive.h
src/logic.c
src/logic.h
src/main.c
src/move.c
src/move.h
src/point.c
src/point.h
src/side.c
src/side.h
src/tile.c
src/tile.h
src/tlist.c
src/tlist.h)
add_executable(carcassonne ${carc_srcs})
set(gen_srcs
src/board.c
src/board.h
src/generator.c
src/side.c
src/side.h
src/tile.c
src/tile.h
src/tlist.c
src/tlist.h)
add_executable(generator ${gen_srcs})