blob: 475325244435a6466ef18e6a21507f70a640bf7f (
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) # FIXME: This project is unused as of now; see TODO in top-level.
set(CMAKE_MFC_FLAG 1)
add_executable(
Magic2 WIN32
AlphaInverse.cpp
AlphaPalette.cpp
Command.cpp
ContentBundle.cpp
Editor.cpp
Grid.cpp
GridProps.cpp
l3ds.cpp
Locale_ss.cpp
M3DS.cpp
Magic.cpp
MagicDoc.cpp
MagicView.cpp
MainFrm.cpp
MaterialDialog.cpp
ModelFile3DS.cpp
ModelFileMAG.cpp
ModelFileOBJ.cpp
ModelView.cpp
Primitives.cpp
Selection.cpp
Selector.cpp
StdAfx.cpp
SurfacePropertiesDialog.cpp
TexCubeDX9.cpp
TextureMapDialog.cpp
Thumbnail.cpp
UVMapView.cpp
VideoDX9.cpp
)
target_include_directories(
Magic2
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
PUBLIC $ENV{DXSDK_DIR}/Include
PUBLIC ${WINDOWSSDK_PATH} # FIXME
)
target_precompile_headers(
Magic2
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/StdAfx.h
)
target_link_libraries(
Magic2
PUBLIC FoundationEx
)
target_compile_definitions(
Magic2
PRIVATE _AFXDLL
)
|