blob: f4561cb50e215d21f9f2a55dd316ea3f845588f6 (
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
28
29
30
31
32
33
34
|
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})
|