[DXSDK]
[reactos.git] / reactos / dll / directx / wine / d3dx9_27 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 spec2def(d3dx9_27.dll d3dx9_27.spec)
6
7 list(APPEND SOURCE
8 d3dx9_27_main.c
9 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27_stubs.c
10 ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27.def)
11
12 add_library(d3dx9_27 SHARED ${SOURCE} version.rc)
13 set_module_type(d3dx9_27 win32dll)
14 target_link_libraries(d3dx9_27 wine)
15 add_importlibs(d3dx9_27 d3dx9_30 msvcrt kernel32 ntdll)
16 add_cd_file(TARGET d3dx9_27 DESTINATION reactos/system32 FOR all)