From 255a49ba5a41b3854dbdfebdec75fb6229450507 Mon Sep 17 00:00:00 2001 From: Galin Simeonov Date: Mon, 31 May 2021 22:02:10 +0300 Subject: added cmake file --- CMakeLists.txt | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..415816f --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,27 @@ +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}) -- cgit v1.2.3