-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
65 lines (58 loc) · 1.63 KB
/
CMakeLists.txt
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
cmake_minimum_required(VERSION 3.5)
project(SER502_Spring2018_Team15)
set(CMAKE_CXX_STANDARD 11)
add_definitions(-D_GLIBCXX_USE_CXX11_ABI=0)
add_executable(melloc
src/utils/node.h
src/utils/node.cpp
src/utils/opcodes.h
src/utils/symbolTable.h
src/utils/treeHelper.h
src/utils/treeHelper.cpp
src/compiler/lexer.h
src/compiler/lexer.cpp
src/compiler/parser.h
src/compiler/parser.cpp
src/compiler/bytecode.h
src/compiler/bytecode.cpp
src/runtime/runtime.h
src/runtime/runtime.cpp
src/melloc.cpp)
add_executable(mello
src/utils/opcodes.h
src/runtime/runtime.h
src/runtime/runtime.cpp
src/mello.cpp)
add_executable(parser
src/utils/node.h
src/utils/symbolTable.h
src/utils/treeHelper.h
src/compiler/parser.h
src/utils/node.cpp
src/utils/treeHelper.cpp
src/compiler/parser.cpp
src/tests/parser_test.cpp)
add_executable(lexer
src/compiler/lexer.h
src/compiler/lexer.cpp
src/tests/lexer_test.cpp
)
add_executable(bytecode
src/utils/node.h
src/utils/symbolTable.h
src/utils/treeHelper.h
src/compiler/parser.h
src/utils/opcodes.h
src/utils/node.cpp
src/utils/treeHelper.cpp
src/compiler/parser.cpp
src/compiler/bytecode.h
src/compiler/bytecode.cpp
src/tests/bytecode_test.cpp
)
add_executable(runtime_test
src/utils/opcodes.h
src/runtime/runtime.cpp
src/runtime/runtime.h
src/tests/runtime_test.cpp
)