aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorGalin Simeonov <gts@volconst.com>2021-06-01 18:21:02 +0300
committerGalin Simeonov <gts@volconst.com>2021-07-15 18:03:43 +0300
commit85b23fbee717f047af5a89eac6f4dba8e7812524 (patch)
treedc88ef3f4cb826f4f3a3c9e12c67562878460aa5 /CMakeLists.txt
parent255a49ba5a41b3854dbdfebdec75fb6229450507 (diff)
downloadMEGATRON-85b23fbee717f047af5a89eac6f4dba8e7812524.tar.gz
restructuring
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt29
1 files changed, 18 insertions, 11 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 415816f..f4561cb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,25 +3,32 @@ project (AUTOMATA)
include_directories(src/)
include_directories(src/backend/)
+include_directories(src/backend/targets/)
+include_directories(src/backend/targets/print/)
+include_directories(src/backend/targets/C/)
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/backend/targets/C/ast_to_c.c
+ src/backend/targets/C/ast_to_c.h
+ src/backend/targets/print/print.c
+ src/backend/targets/print/print.h
+ src/backend/backend.c
+ src/backend/backend.h
+ src/frontend/lexer.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
+ src/misc/map.c
+ src/misc/map.h
+ src/misc/queue.c
+ src/misc/queue.h
+ src/misc/stack.c
+ src/misc/stack.h
+ src/program/program.c
+ src/program/program.h
)
add_executable(main ${SOURCES})