-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
87 lines (79 loc) · 2.21 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
project(MDLstudio)
find_package(OpenGL REQUIRED)
set(CMAKE_CXX_STANDARD 17)
add_executable(MDLstudio WIN32)
target_sources(MDLstudio
PUBLIC
hlsdk/cmdlib.c
hlsdk/cmdlib.h
hlsdk/mathlib.c
hlsdk/mathlib.h
hlsdk/studio.h
hlsdk/studio_event.h
hlsdk/studio_export.cpp
hlsdk/studio_import.cpp
hlsdk/studio_render.cpp
hlsdk/studio_render.h
hlsdk/studio_utils.cpp
resource/energy.ico
resource/explorer.bmp
resource/hand.cur
resource/resource.h
resource/resource.rc
source/CBrowseDlg.cpp
source/CBrowseDlg.h
source/CCManager.cpp
source/CCManager.h
source/CInfoDlg.cpp
source/CInfoDlg.h
source/CMainFrame.cpp
source/CMainFrame.h
source/CMaterialDlg.cpp
source/CMaterialDlg.h
source/COpenGL.cpp
source/COpenGL.h
source/CSequenceDlg.cpp
source/CSequenceDlg.h
source/CWin.cpp
source/CWin.h
source/Settings.cpp
source/Settings.h
source/WinMain.cpp
source/controls/CButton.cpp
source/controls/CButton.h
source/controls/CCommonDialogs.cpp
source/controls/CCommonDialogs.h
source/controls/CControl.cpp
source/controls/CControl.h
source/controls/CFileView.cpp
source/controls/CFileView.h
source/controls/CFolderView.cpp
source/controls/CFolderView.h
source/controls/CLabel.cpp
source/controls/CLabel.h
source/controls/CSlider.cpp
source/controls/CSlider.h
source/controls/CStatusBar.cpp
source/controls/CStatusBar.h
source/controls/CToolBar.cpp
source/controls/CToolBar.h
source/controls/CTreeView.cpp
source/controls/CTreeView.h
source/controls/GUI.H
source/decompiler/hlsdk/activity.h
source/glad.c
)
target_link_libraries(MDLstudio
${OPENGL_LIBRARIES}
winmm
comctl32
)
target_compile_features(MDLstudio
PRIVATE cxx_auto_type
PRIVATE cxx_nullptr
PRIVATE cxx_range_for
)
target_include_directories(MDLstudio
PRIVATE source
)