-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
44 lines (35 loc) · 1.11 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
# CMakeList.txt : CMake project for descosmos_gpu_monitor, include source and define
# project specific logic here.
#
cmake_minimum_required (VERSION 3.8)
project ("descosmos_gpu_monitor")
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# sys include directory
include_directories("C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/shared")
include_directories("C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um")
# this include directory
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/./utils)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/./config)
set(SRC_SOURCES
"src/gpuMonitor.h"
"src/gpuMonitor.cpp"
"config/ntifs.h"
"config/phnt.h"
"config/phnt_windows.h"
"config/ntrtl.h"
"config/refp.h"
"config/phsup.h"
)
set(UTILS_SOURCES
"utils/common.h"
"utils/getWindowsVersion.h"
"utils/getWindowsVersion.cpp"
"utils/Handles.h"
"utils/Handles.cpp"
"utils/baseup.h"
"utils/baseup.cpp"
)
# Add source to this project's executable.
add_executable (descosmos_gpu_monitor "main.cpp" ${UTILS_SOURCES} ${SRC_SOURCES})
# TODO: Add tests and install targets if needed.