aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-05-31 22:02:10 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:00:15 +0300
commit255a49ba5a41b3854dbdfebdec75fb6229450507 (patch)
tree616ea5786cb91d03ef609d32b402941dc30e926b /CMakeLists.txt
parentf768d9bdb84e846d89aac66a4f3433a44241c298 (diff)
downloadMEGATRON-255a49ba5a41b3854dbdfebdec75fb6229450507.tar.gz
added cmake file
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})