aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
blob: 415816ffe53340977f895fe13538003e7b940eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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})