6 -Dcopysignf=_copysignf)
8 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
10 # We name this d3dwine.dll, because the Virtualbox additions ship with a custom wined3d.dll
11 # and it breaks everything if it is installed.
12 spec2def(d3dwine.dll wined3d.spec ADD_IMPORTLIB)
26 nvidia_texture_shader.c
46 add_library(d3dwine SHARED
49 ${CMAKE_CURRENT_BINARY_DIR}/d3dwine.def)
51 set_module_type(d3dwine win32dll)
52 target_link_libraries(d3dwine wine)
54 if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
55 target_link_libraries(d3dwine mingwex)
58 add_importlibs(d3dwine user32 opengl32 gdi32 advapi32 msvcrt kernel32 ntdll)
59 add_pch(d3dwine wined3d_private.h SOURCE)
60 add_cd_file(TARGET d3dwine DESTINATION reactos/system32 FOR all)