- Update to r53061
[reactos.git] / dll / directx / wine / d3dx9_38 / CMakeLists.txt
1 set_rc_compiler()
2
3 spec2def(d3dx9_38.dll d3dx9_38.spec)
4
5 list(APPEND SOURCE
6 d3dx9_38_main.c
7 version.rc
8 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_38.def)
9
10 add_definitions(-D__WINESRC__)
11
12 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
13
14 add_library(d3dx9_38 SHARED ${SOURCE})
15 set_module_type(d3dx9_38 win32dll)
16
17 target_link_libraries(d3dx9_38
18 wine)
19
20 add_importlibs(d3dx9_38
21 d3dx9_36
22 d3d9
23 user32
24 gdi32
25 advapi32
26 msvcrt
27 kernel32
28 ntdll)
29
30 add_dependencies(d3dx9_38 wineheaders)
31 add_cd_file(TARGET d3dx9_38 DESTINATION reactos/system32 FOR all)