- Sync with trunk r58248 to bring the latest changes from Amine (headers) and others...
[reactos.git] / dll / directx / wine / d3dx9_42 / CMakeLists.txt
1
2 spec2def(d3dx9_42.dll d3dx9_42.spec)
3
4 list(APPEND SOURCE
5 d3dx9_42_main.c
6 version.rc
7 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_42.def)
8
9 add_definitions(-D__WINESRC__)
10 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
11 add_library(d3dx9_42 SHARED ${SOURCE})
12 set_module_type(d3dx9_42 win32dll)
13 target_link_libraries(d3dx9_42 wine)
14
15 add_importlibs(d3dx9_42
16 d3dx9_36
17 d3d9
18 user32
19 gdi32
20 advapi32
21 msvcrt
22 kernel32
23 ntdll)
24
25 add_dependencies(d3dx9_42 wineheaders)
26 add_cd_file(TARGET d3dx9_42 DESTINATION reactos/system32 FOR all)