-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
48 lines (42 loc) · 946 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
cmake_minimum_required(VERSION 3.15)
project(Metapath VERSION 4.0.13)
add_compile_definitions(
WIN32
_WINDOWS
NDEBUG
_UNICODE
UNICODE)
add_executable(Metapath
"src/metapath.c")
target_sources(Metapath
PUBLIC "src/Dialogs.c"
PUBLIC "src/Dialogs.h"
PUBLIC "src/Dlapi.c"
PUBLIC "src/Dlapi.h"
PUBLIC "src/Dropsource.cpp"
PUBLIC "src/Dropsource.h"
PUBLIC "src/Helpers.c"
PUBLIC "src/Helpers.h"
PUBLIC "src/metapath.h"
PUBLIC "src/metapath.rc"
PUBLIC "src/metapath.ver"
PUBLIC "src/resource.h"
PUBLIC "src/version.h")
target_compile_features(Metapath
PUBLIC cxx_std_17
)
target_link_libraries(Metapath
PUBLIC kernel32.lib
PUBLIC user32.lib
PUBLIC gdi32.lib
PUBLIC Msimg32.lib
PUBLIC advapi32.lib
PUBLIC shell32.lib
PUBLIC shlwapi.lib
PUBLIC comdlg32.lib
PUBLIC comctl32.lib
PUBLIC winspool.lib
PUBLIC imm32.lib
PUBLIC ole32.lib
PUBLIC oleaut32.lib
PUBLIC psapi.lib)