-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (46 loc) · 1.58 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
cmake_minimum_required(VERSION 3.16)
# set the projec t name and version number
project(rcc C )
set(CMAKE_C_STANDARD 99)
include_directories (${rcc_SOURCE_DIR}/src)
add_executable(rcc
${rcc_SOURCE_DIR}/src/main.c
${rcc_SOURCE_DIR}/src/alloc.c
${rcc_SOURCE_DIR}/src/bind.c
${rcc_SOURCE_DIR}/src/bytecode.c
${rcc_SOURCE_DIR}/src/dag.c
${rcc_SOURCE_DIR}/src/decl.c
${rcc_SOURCE_DIR}/src/enode.c
${rcc_SOURCE_DIR}/src/error.c
${rcc_SOURCE_DIR}/src/event.c
${rcc_SOURCE_DIR}/src/expr.c
${rcc_SOURCE_DIR}/src/gen.c
${rcc_SOURCE_DIR}/src/init.c
${rcc_SOURCE_DIR}/src/inits.c
${rcc_SOURCE_DIR}/src/input.c
${rcc_SOURCE_DIR}/src/lex.c
${rcc_SOURCE_DIR}/src/list.c
${rcc_SOURCE_DIR}/src/main.c
${rcc_SOURCE_DIR}/src/null.c
${rcc_SOURCE_DIR}/src/output.c
${rcc_SOURCE_DIR}/src/prof.c
${rcc_SOURCE_DIR}/src/profio.c
${rcc_SOURCE_DIR}/src/simp.c
${rcc_SOURCE_DIR}/src/stab.c
${rcc_SOURCE_DIR}/src/stmt.c
${rcc_SOURCE_DIR}/src/string.c
${rcc_SOURCE_DIR}/src/sym.c
${rcc_SOURCE_DIR}/src/symbolic.c
${rcc_SOURCE_DIR}/src/trace.c
${rcc_SOURCE_DIR}/src/tree.c
${rcc_SOURCE_DIR}/src/types.c
${rcc_SOURCE_DIR}/src/alpha.c
${rcc_SOURCE_DIR}/src/mips.c
${rcc_SOURCE_DIR}/src/dagcheck.c
${rcc_SOURCE_DIR}/src/sparc.c
${rcc_SOURCE_DIR}/src/x86.c
${rcc_SOURCE_DIR}/src/x86linux.c
)
add_executable(ops
${rcc_SOURCE_DIR}/etc/ops.c
)