[D3D8][D3D9][DDRAW][WINED3D] Use modules instead of shared libraries

This reverts part of (revert) commit 81cffd7658,
so restores 23373acbb9.
This commit is contained in:
Serge Gautherie 2019-10-21 00:38:24 +02:00 committed by Jérôme Gardou
parent f63310b056
commit cef6a5b691
4 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ list(APPEND SOURCE
volume.c
precomp.h)
add_library(d3d8 SHARED
add_library(d3d8 MODULE
${SOURCE}
guid.c
version.rc

View file

@ -21,7 +21,7 @@ list(APPEND SOURCE
volume.c
precomp.h)
add_library(d3d9 SHARED
add_library(d3d9 MODULE
${SOURCE}
guid.c
version.rc

View file

@ -29,7 +29,7 @@ if(MSVC)
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/FIwine/typeof.h")
endif()
add_library(ddraw SHARED
add_library(ddraw MODULE
${SOURCE}
ddraw.rc
${CMAKE_CURRENT_BINARY_DIR}/ddraw.def)

View file

@ -41,7 +41,7 @@ list(APPEND SOURCE
wined3d_main.c
precomp.h)
add_library(d3dwine SHARED
add_library(d3dwine MODULE
${SOURCE}
version.rc
${CMAKE_CURRENT_BINARY_DIR}/d3dwine.def)