blob: 186afdfa34b849479804af5bdda94a3244244f42 (
plain)
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
|
project(Magic2)
set(CMAKE_MFC_FLAG 1)
add_executable(
Magic2 WIN32
AlphaInverse.cpp
AlphaPalette.cpp
Command.cpp
Editor.cpp
Grid.cpp
GridProps.cpp
Magic.cpp
Magic.rc
MagicDoc.cpp
MagicView.cpp
MainFrm.cpp
MaterialDialog.cpp
ModelView.cpp
Selection.cpp
Selector.cpp
StdAfx.cpp
SurfacePropertiesDialog.cpp
TextureMapDialog.cpp
Thumbnail.cpp
UVMapView.cpp
)
target_include_directories(
Magic2
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
)
target_include_directories(
Magic2 SYSTEM
PUBLIC ${WINDOWSSDK_PATH}/um
PUBLIC ${WINDOWSSDK_PATH}/shared
PUBLIC $ENV{DXSDK_DIR}/Include
)
target_precompile_headers(
Magic2
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h
)
target_link_libraries(Magic2 PUBLIC FoundationEx MagicEx StarsEx)
target_compile_definitions(Magic2 PRIVATE _AFXDLL)
|