From 85b23fbee717f047af5a89eac6f4dba8e7812524 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Tue, 1 Jun 2021 18:21:02 +0300 Subject: restructuring --- CMakeLists.txt | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) (limited to 'CMakeLists.txt') 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}) -- cgit v1.2.3