forked from reactos/reactos
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SDK][DIRECTX:WINE] Bring in vista+ DLLs so we can have a good start
- Loading branch information
1 parent
ea5d2c5
commit 25d5f86
Showing
130 changed files
with
85,618 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
|
||
|
||
add_definitions( | ||
-D__WINESRC__) | ||
|
||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) | ||
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/psdk) | ||
|
||
spec2def(d2d1.dll d2d1.spec ADD_IMPORTLIB) | ||
|
||
add_library(d2d1 MODULE | ||
bitmap_render_target.c | ||
bitmap.c | ||
brush.c | ||
dc_render_target.c | ||
factory.c | ||
geometry.c | ||
hwnd_render_target.c | ||
layer.c | ||
mesh.c | ||
state_block.c | ||
stroke.c | ||
wic_render_target.c | ||
${CMAKE_CURRENT_BINARY_DIR}/d2d1_stubs.c | ||
${CMAKE_CURRENT_BINARY_DIR}/d2d1.def) | ||
|
||
if(CMAKE_C_COMPILER_ID STREQUAL "GNU") | ||
target_compile_options(d2d1 PRIVATE -Wno-sequence-point -Wno-unused-function -Wno-unused-but-set-variable -Wno-error) # Our favourite compiler :) | ||
endif() | ||
|
||
set_module_type(d2d1 win32dll) | ||
target_link_libraries(d2d1 dxguid uuid wine) | ||
add_importlibs(d2d1 advapi32 gdi32 user32 d3dwine msvcrt kernel32 ntdll) | ||
add_dependencies(d2d1 wineheaders d3d_idl_headers) | ||
add_cd_file(TARGET d2d1 DESTINATION reactos/system32 FOR all) |
Oops, something went wrong.