cmake_minimum_required (VERSION 3.13.4)
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/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/parser.h
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})