Sync up with trunk r61578.
[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 ${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c
23 ${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
24
25 add_library(d3dcompiler_43 SHARED ${SOURCE} version.rc)
26 set_module_type(d3dcompiler_43 win32dll)
27 target_link_libraries(d3dcompiler_43 dx10guid uuid wine wpp)
28 add_importlibs(d3dcompiler_43 msvcrt kernel32 ntdll)
29 add_dependencies(d3dcompiler_43 d3d_idl_headers)
30 add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)