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})