blob: abee71285b2a012136825025f36b7d37b4875f8f (
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
|
set(SOURCES d3dxGlobal.cpp
EffectAPI.cpp
EffectLoad.cpp
EffectNonRuntime.cpp
EffectReflection.cpp
EffectRuntime.cpp)
add_library(effects11 STATIC ${SOURCES})
target_include_directories(effects11
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/inc
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/Binary
)
target_compile_definitions(effects11 PRIVATE
_WIN7_PLATFORM_UPDATE
WIN32
_WINDOWS
_LIB
D3DXFX_LARGEADDRESS_HANDLE
_WIN32_WINNT=0x0600
_CRT_STDIO_ARBITRARY_WIDE_SPECIFIERS
)
add_precompiled_header(effects11 pchfx.h d3dxGlobal.cpp)
set_target_properties(effects11 PROPERTIES FOLDER lib)
source_group_by_folder(effects11)
set(core_DEPENDS effects11 ${core_DEPENDS} CACHE STRING "" FORCE)
|