7 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
9 # We name this d3dwine.dll, because the Virtualbox additions ship with a custom wined3d.dll
10 # and it breaks everything if it is installed.
11 spec2def(d3dwine.dll wined3d.spec ADD_IMPORTLIB)
24 nvidia_texture_shader.c
44 add_library(d3dwine SHARED
47 ${CMAKE_CURRENT_BINARY_DIR}/d3dwine.def)
49 set_module_type(d3dwine win32dll)
50 target_link_libraries(d3dwine wine)
52 if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
53 target_link_libraries(d3dwine mingwex)
56 add_importlibs(d3dwine user32 opengl32 gdi32 advapi32 msvcrt kernel32 ntdll)
57 add_pch(d3dwine wined3d_private.h SOURCE)
58 add_cd_file(TARGET d3dwine DESTINATION reactos/system32 FOR all)