* Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
[reactos.git] / dll / directx / wine / d3dcompiler_43 / CMakeLists.txt
1
2 add_definitions(
3 -D__WINESRC__
4 -DDIRECT3D_VERSION=0x0900)
5
6 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7
8 spec2def(d3dcompiler_43.dll d3dcompiler_43.spec ADD_IMPORTLIB)
9
10 list(APPEND SOURCE
11 asmparser.c
12 asmshader.tab.c
13 asmshader.yy.c
14 blob.c
15 bytecodewriter.c
16 compiler.c
17 d3dcompiler_43_main.c
18 hlsl.tab.c
19 hlsl.yy.c
20 reflection.c
21 utils.c
22 d3dcompiler_private.h
23 ${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c)
24
25 add_library(d3dcompiler_43 SHARED
26 ${SOURCE}
27 version.rc
28 ${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
29
30 set_module_type(d3dcompiler_43 win32dll)
31 target_link_libraries(d3dcompiler_43 dx10guid uuid wine wpp)
32 add_importlibs(d3dcompiler_43 msvcrt kernel32 ntdll)
33 add_dependencies(d3dcompiler_43 d3d_idl_headers)
34 add_pch(d3dcompiler_43 d3dcompiler_private.h SOURCE)
35 add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)