forked from moizumi99/m99_riscv_emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
58 lines (52 loc) · 1.37 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
cmake_minimum_required(VERSION 3.14)
project(assembler_test)
set(CMAKE_CXX_STANDARD 14)
include_directories(.)
add_executable(assembler_test
assembler.cc
assembler.h
bit_tools.cc
bit_tools.h
instruction_encdec.cc
instruction_encdec.h
load_assembler.cc
load_assembler.h
load_assembler_test.cc
load_assembler_test.h
RISCV_cpu.cc
RISCV_cpu.h
memory_wrapper.h
memory_wrapper.cpp
)
add_executable(cpu_test
assembler.cc
assembler.h
bit_tools.cc
bit_tools.h
instruction_encdec.cc
instruction_encdec.h
load_assembler.cc
load_assembler.h
cpu_test.cc
RISCV_cpu.cc
RISCV_cpu.h
memory_wrapper.cpp memory_wrapper.h system_call_emulator.cpp system_call_emulator.h)
add_executable(RISCV_Emulator
assembler.cc
assembler.h
bit_tools.cc
bit_tools.h
instruction_encdec.cc
instruction_encdec.h
load_assembler.cc
load_assembler.h
RISCV_cpu.cc
RISCV_cpu.h
RISCV_Emulator.cc
RISCV_Emulator.h
memory_wrapper.cpp memory_wrapper.h system_call_emulator.cpp system_call_emulator.h)
add_executable(memory_wrapper_test
memory_wrapper.cpp
memory_wrapper.h
memory_wrapper_test.cpp
)