aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
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})