forked from moizumi99/m99_riscv_emulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
51 lines (45 loc) · 1.04 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
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
)
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
)
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
)