-
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0e3da6
commit d357eb5
Showing
48 changed files
with
104,554 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
|
||
add_definitions( | ||
-D__WINESRC__ | ||
-D_USE_MATH_DEFINES | ||
-DUSE_WIN32_OPENGL | ||
-DSTAGING_CSMT | ||
-Dcopysignf=_copysignf) | ||
|
||
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) | ||
|
||
# We name this d3dwine.dll, because the Virtualbox additions ship with a custom wined3d.dll | ||
# and it breaks everything if it is installed. | ||
spec2def(d3dwine.dll wined3d.spec ADD_IMPORTLIB) | ||
|
||
list(APPEND SOURCE | ||
adapter_gl.c | ||
adapter_vk.c | ||
arb_program_shader.c | ||
ati_fragment_shader.c | ||
buffer.c | ||
context.c | ||
cs.c | ||
device.c | ||
directx.c | ||
dxtn.c | ||
gl_compat.c | ||
glsl_shader.c | ||
nvidia_texture_shader.c | ||
palette.c | ||
query.c | ||
resource.c | ||
sampler.c | ||
shader.c | ||
shader_sm1.c | ||
shader_sm4.c | ||
state.c | ||
stateblock.c | ||
surface.c | ||
swapchain.c | ||
texture.c | ||
utils.c | ||
vertexdeclaration.c | ||
view.c | ||
wined3d_main.c | ||
precomp.h) | ||
|
||
add_library(d3dwine SHARED | ||
${SOURCE} | ||
version.rc | ||
${CMAKE_CURRENT_BINARY_DIR}/d3dwine.def) | ||
|
||
set_module_type(d3dwine win32dll) | ||
target_link_libraries(d3dwine wine) | ||
add_importlibs(d3dwine user32 opengl32 gdi32 advapi32 msvcrt kernel32 ntdll) | ||
add_pch(d3dwine precomp.h SOURCE) | ||
add_cd_file(TARGET d3dwine DESTINATION reactos/system32 FOR all) |
Oops, something went wrong.