-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
30 lines (24 loc) · 882 Bytes
/
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
cmake_minimum_required(VERSION 3.16)
project(ARMv8)
set(CMAKE_CXX_STANDARD 20)
add_executable(ARMv8
libs/glad/source/glad.c
libs/imgui/source/imgui.cpp
libs/imgui/source/imgui_demo.cpp
libs/imgui/source/imgui_draw.cpp
libs/imgui/source/imgui_widgets.cpp
libs/imgui/source/imgui_impl_glfw.cpp
libs/imgui/source/imgui_impl_opengl3.cpp
source/main.cpp
source/core.cpp
source/logger.cpp
source/address_space.cpp
source/board.cpp
source/cpu.cpp
source/devices/memory.cpp
source/devices/uart.cpp
source/ui/window.cpp)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fconcepts")
include_directories(ARMv8 include libs/glad/include libs/glfw/include libs/imgui/include)
target_link_directories(ARMv8 PUBLIC libs/glfw/lib)
target_link_libraries(ARMv8 PUBLIC glfw3)