mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
24e4d63d1f
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62089
36 lines
930 B
CMake
36 lines
930 B
CMake
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-DDIRECT3D_VERSION=0x0900)
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(d3dcompiler_43.dll d3dcompiler_43.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
asmparser.c
|
|
asmshader.tab.c
|
|
asmshader.yy.c
|
|
blob.c
|
|
bytecodewriter.c
|
|
compiler.c
|
|
d3dcompiler_43_main.c
|
|
hlsl.tab.c
|
|
hlsl.yy.c
|
|
reflection.c
|
|
utils.c
|
|
d3dcompiler_private.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c)
|
|
|
|
add_library(d3dcompiler_43 SHARED
|
|
${SOURCE}
|
|
version.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
|
|
|
|
set_module_type(d3dcompiler_43 win32dll)
|
|
target_link_libraries(d3dcompiler_43 dx10guid uuid wine wpp)
|
|
add_importlibs(d3dcompiler_43 msvcrt kernel32 ntdll)
|
|
add_dependencies(d3dcompiler_43 d3d_idl_headers)
|
|
add_pch(d3dcompiler_43 d3dcompiler_private.h SOURCE)
|
|
add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)
|