aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..415816f
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,27 @@
+cmake_minimum_required (VERSION 3.13.4)
+project (AUTOMATA)
+
+include_directories(src/)
+include_directories(src/backend/)
+include_directories(src/frontend/)
+include_directories(src/misc/)
+include_directories(src/program/)
+
+set(SOURCES
+ src/program/program.h
+ src/program/program.c
+ src/misc/queue.h
+ src/misc/stack.h
+ src/misc/map.h
+ src/misc/queue.c
+ src/misc/map.c
+ src/misc/stack.c
+ src/frontend/lexer.h
+ src/frontend/parser.c
+ src/frontend/lexer.c
+ src/frontend/parser.h
+ src/backend/print.h
+ src/backend/print.c
+ src/main.c
+ )
+add_executable(main ${SOURCES})