blob: 3ccd588a2fa5e605508d4e4e0c62474b3e23c7d4 (
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
42
43
44
45
46
47
48
49
50
51
52
|
project(Magic2)
set(CMAKE_MFC_FLAG 1)
add_executable(
Magic2 WIN32
AlphaInverse.cpp
AlphaPalette.cpp
Command.cpp
Editor.cpp
Grid.cpp
GridProps.cpp
l3ds.cpp
Magic.cpp
Magic.rc
MagicDoc.cpp
MagicView.cpp
MainFrm.cpp
MaterialDialog.cpp
ModelFile3DS.cpp
ModelFileMAG.cpp
ModelFileOBJ.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
PUBLIC StarsEx
)
target_compile_definitions(
Magic2
PRIVATE _AFXDLL
)
|