-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
58 lines (49 loc) · 872 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
58 lines (49 loc) · 872 Bytes
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
##
## G13, 2019
## CMakeLists.txt
##
cmake_minimum_required(VERSION 3.0.0 FATAL_ERROR)
cmake_policy(SET CMP0076 NEW)
project(G13 VERSION 0.1.0 LANGUAGES CXX C)
add_executable(g13d)
target_compile_features(g13d
PUBLIC
cxx_std_17
)
target_compile_options(g13d
PUBLIC
-fPIC
-W -Wall -Wextra
-g3
)
target_include_directories(g13d
PUBLIC
.
sources
)
target_sources(g13d
PUBLIC
extern/tinyformat.hpp
extern/font-5x8.h
sources/Color.hpp
sources/Exception.hpp
sources/Logger.cpp
sources/Logger.hpp
sources/Main.cpp
sources/RenderTarget.cpp
sources/RenderTarget.hpp
sources/G13/Actions.hpp
sources/G13/Device.cpp
sources/G13/Device.hpp
sources/G13/Display.cpp
sources/G13/Display.hpp
sources/G13/Keys.hpp
sources/G13/Manager.cpp
sources/G13/Manager.hpp
sources/G13/Profile.cpp
sources/G13/Profile.hpp
)
target_link_libraries(g13d
PUBLIC
usb-1.0
)