[AMSTREAM] Sync with Wine Staging 3.9. CORE-14656
[reactos.git] / dll / directx / wine / d3dx9_29 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 spec2def(d3dx9_29.dll d3dx9_29.spec)
5
6 list(APPEND SOURCE
7 d3dx9_29_main.c
8 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29_stubs.c
9 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29.def)
10
11 add_library(d3dx9_29 SHARED ${SOURCE} version.rc)
12 set_module_type(d3dx9_29 win32dll)
13 target_link_libraries(d3dx9_29 wine)
14 add_importlibs(d3dx9_29 d3dx9_30 msvcrt kernel32 ntdll)
15 add_cd_file(TARGET d3dx9_29 DESTINATION reactos/system32 FOR all)