mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
[DIRECTX]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62089
This commit is contained in:
parent
8d7af385aa
commit
24e4d63d1f
|
@ -12,10 +12,15 @@ list(APPEND SOURCE
|
||||||
main.c
|
main.c
|
||||||
mediastream.c
|
mediastream.c
|
||||||
mediastreamfilter.c
|
mediastreamfilter.c
|
||||||
|
amstream_private.h)
|
||||||
|
|
||||||
|
add_library(amstream SHARED
|
||||||
|
${SOURCE}
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
|
${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
|
||||||
|
|
||||||
add_library(amstream SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(amstream win32dll)
|
set_module_type(amstream win32dll)
|
||||||
target_link_libraries(amstream strmbase strmiids uuid wine)
|
target_link_libraries(amstream strmbase strmiids uuid wine)
|
||||||
add_importlibs(amstream ole32 msvcrt kernel32 ntdll)
|
add_importlibs(amstream ole32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(amstream amstream_private.h SOURCE)
|
||||||
add_cd_file(TARGET amstream DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET amstream DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -18,13 +18,16 @@ list(APPEND SOURCE
|
||||||
texture.c
|
texture.c
|
||||||
vertexdeclaration.c
|
vertexdeclaration.c
|
||||||
volume.c
|
volume.c
|
||||||
|
d3d8_private.h)
|
||||||
|
|
||||||
|
add_library(d3d8 SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
version.rc
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
|
||||||
|
|
||||||
add_library(d3d8 SHARED ${SOURCE})
|
|
||||||
set_module_type(d3d8 win32dll UNICODE)
|
set_module_type(d3d8 win32dll UNICODE)
|
||||||
target_link_libraries(d3d8 uuid wine)
|
target_link_libraries(d3d8 uuid wine)
|
||||||
add_importlibs(d3d8 wined3d msvcrt kernel32 ntdll)
|
add_importlibs(d3d8 wined3d msvcrt kernel32 ntdll)
|
||||||
add_pch(d3d8 d3d8_private.h)
|
add_pch(d3d8 d3d8_private.h SOURCE)
|
||||||
add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -20,14 +20,17 @@ list(APPEND SOURCE
|
||||||
texture.c
|
texture.c
|
||||||
vertexdeclaration.c
|
vertexdeclaration.c
|
||||||
volume.c
|
volume.c
|
||||||
|
d3d9_private.h)
|
||||||
|
|
||||||
|
add_library(d3d9 SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
version.rc
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3d9_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/d3d9_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
|
||||||
|
|
||||||
add_library(d3d9 SHARED ${SOURCE})
|
|
||||||
set_module_type(d3d9 win32dll UNICODE)
|
set_module_type(d3d9 win32dll UNICODE)
|
||||||
target_link_libraries(d3d9 wine)
|
target_link_libraries(d3d9 wine)
|
||||||
add_importlibs(d3d9 wined3d msvcrt kernel32 ntdll)
|
add_importlibs(d3d9 wined3d msvcrt kernel32 ntdll)
|
||||||
add_pch(d3d9 d3d9_private.h)
|
add_pch(d3d9 d3d9_private.h SOURCE)
|
||||||
add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -19,12 +19,17 @@ list(APPEND SOURCE
|
||||||
hlsl.yy.c
|
hlsl.yy.c
|
||||||
reflection.c
|
reflection.c
|
||||||
utils.c
|
utils.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c
|
d3dcompiler_private.h
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c)
|
||||||
|
|
||||||
|
add_library(d3dcompiler_43 SHARED
|
||||||
|
${SOURCE}
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
|
||||||
|
|
||||||
add_library(d3dcompiler_43 SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(d3dcompiler_43 win32dll)
|
set_module_type(d3dcompiler_43 win32dll)
|
||||||
target_link_libraries(d3dcompiler_43 dx10guid uuid wine wpp)
|
target_link_libraries(d3dcompiler_43 dx10guid uuid wine wpp)
|
||||||
add_importlibs(d3dcompiler_43 msvcrt kernel32 ntdll)
|
add_importlibs(d3dcompiler_43 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(d3dcompiler_43 d3d_idl_headers)
|
add_dependencies(d3dcompiler_43 d3d_idl_headers)
|
||||||
|
add_pch(d3dcompiler_43 d3dcompiler_private.h SOURCE)
|
||||||
add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -21,13 +21,18 @@ list(APPEND SOURCE
|
||||||
util.c
|
util.c
|
||||||
volume.c
|
volume.c
|
||||||
xfile.c
|
xfile.c
|
||||||
|
d3dx9_36_private.h)
|
||||||
|
|
||||||
|
add_library(d3dx9_36 SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
|
||||||
|
|
||||||
add_library(d3dx9_36 SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(d3dx9_36 win32dll)
|
set_module_type(d3dx9_36 win32dll)
|
||||||
add_dependencies(d3dx9_36 d3d_idl_headers)
|
add_dependencies(d3dx9_36 d3d_idl_headers)
|
||||||
target_link_libraries(d3dx9_36 dxguid wine)
|
target_link_libraries(d3dx9_36 dxguid wine)
|
||||||
add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll)
|
add_importlibs(d3dx9_36 d3dcompiler_43 d3dxof user32 ole32 gdi32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(d3dx9_36 d3dx9_36_private.h SOURCE)
|
||||||
add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3dx9_36 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -7,12 +7,17 @@ spec2def(d3dxof.dll d3dxof.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
d3dxof.c
|
d3dxof.c
|
||||||
main.c
|
main.c
|
||||||
mszip.c
|
|
||||||
parsing.c
|
parsing.c
|
||||||
|
d3dxof_private.h)
|
||||||
|
|
||||||
|
add_library(d3dxof SHARED
|
||||||
|
${SOURCE}
|
||||||
|
mszip.c
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def)
|
||||||
|
|
||||||
add_library(d3dxof SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(d3dxof win32dll)
|
set_module_type(d3dxof win32dll)
|
||||||
target_link_libraries(d3dxof dxguid uuid wine)
|
target_link_libraries(d3dxof dxguid uuid wine)
|
||||||
add_importlibs(d3dxof msvcrt kernel32 ntdll)
|
add_importlibs(d3dxof msvcrt kernel32 ntdll)
|
||||||
|
add_pch(d3dxof d3dxof_private.h SOURCE)
|
||||||
add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -20,8 +20,8 @@ list(APPEND SOURCE
|
||||||
utils.c
|
utils.c
|
||||||
vertexbuffer.c
|
vertexbuffer.c
|
||||||
viewport.c
|
viewport.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ddraw_stubs.c
|
ddraw_private.h
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ddraw.def)
|
${CMAKE_CURRENT_BINARY_DIR}/ddraw_stubs.c)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||||
|
@ -29,10 +29,14 @@ if(MSVC)
|
||||||
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/FIwine/typeof.h")
|
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/FIwine/typeof.h")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(ddraw SHARED ${SOURCE} ddraw.rc)
|
add_library(ddraw SHARED
|
||||||
|
${SOURCE}
|
||||||
|
ddraw.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/ddraw.def)
|
||||||
|
|
||||||
set_module_type(ddraw win32dll)
|
set_module_type(ddraw win32dll)
|
||||||
target_link_libraries(ddraw wine uuid dxguid ${PSEH_LIB})
|
target_link_libraries(ddraw wine uuid dxguid ${PSEH_LIB})
|
||||||
add_importlibs(ddraw advapi32 gdi32 user32 wined3d msvcrt kernel32 ntdll)
|
add_importlibs(ddraw advapi32 gdi32 user32 wined3d msvcrt kernel32 ntdll)
|
||||||
add_dependencies(ddraw wineheaders)
|
add_dependencies(ddraw wineheaders)
|
||||||
add_pch(ddraw ddraw_private.h)
|
add_pch(ddraw ddraw_private.h SOURCE)
|
||||||
add_cd_file(TARGET ddraw DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET ddraw DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -12,12 +12,16 @@ list(APPEND SOURCE
|
||||||
factory.c
|
factory.c
|
||||||
mediacatenum.c
|
mediacatenum.c
|
||||||
parsedisplayname.c
|
parsedisplayname.c
|
||||||
|
devenum_private.h)
|
||||||
|
|
||||||
|
add_library(devenum SHARED
|
||||||
|
${SOURCE}
|
||||||
|
devenum.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
||||||
|
|
||||||
add_library(devenum SHARED ${SOURCE} devenum.rc)
|
|
||||||
set_source_files_properties(devenum.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/devenum_classes.rgs)
|
set_source_files_properties(devenum.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/devenum_classes.rgs)
|
||||||
set_module_type(devenum win32dll UNICODE)
|
set_module_type(devenum win32dll UNICODE)
|
||||||
target_link_libraries(devenum strmiids uuid wine)
|
target_link_libraries(devenum strmiids uuid wine)
|
||||||
add_importlibs(devenum advapi32 ole32 oleaut32 winmm user32 avicap32 msvcrt kernel32 ntdll)
|
add_importlibs(devenum advapi32 ole32 oleaut32 winmm user32 avicap32 msvcrt kernel32 ntdll)
|
||||||
add_pch(devenum devenum_private.h)
|
add_pch(devenum devenum_private.h SOURCE)
|
||||||
add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -5,7 +5,6 @@ spec2def(dinput.dll dinput.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
config.c
|
config.c
|
||||||
data_formats.c
|
|
||||||
device.c
|
device.c
|
||||||
dinput_main.c
|
dinput_main.c
|
||||||
effect_linuxinput.c
|
effect_linuxinput.c
|
||||||
|
@ -15,12 +14,18 @@ list(APPEND SOURCE
|
||||||
joystick_osx.c
|
joystick_osx.c
|
||||||
keyboard.c
|
keyboard.c
|
||||||
mouse.c
|
mouse.c
|
||||||
|
dinput_private.h)
|
||||||
|
|
||||||
|
add_library(dinput SHARED
|
||||||
|
${SOURCE}
|
||||||
|
data_formats.c
|
||||||
|
dinput.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dinput.def)
|
||||||
|
|
||||||
add_library(dinput SHARED ${SOURCE} dinput.rc)
|
|
||||||
add_library(dinput_data_formats data_formats.c)
|
add_library(dinput_data_formats data_formats.c)
|
||||||
add_dependencies(dinput_data_formats psdk)
|
add_dependencies(dinput_data_formats psdk)
|
||||||
set_module_type(dinput win32dll)
|
set_module_type(dinput win32dll)
|
||||||
target_link_libraries(dinput dxguid uuid wine)
|
target_link_libraries(dinput dxguid uuid wine)
|
||||||
add_importlibs(dinput comctl32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(dinput comctl32 ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(dinput dinput_private.h SOURCE)
|
||||||
add_cd_file(TARGET dinput DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dinput DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -12,11 +12,15 @@ list(APPEND SOURCE
|
||||||
download.c
|
download.c
|
||||||
instrument.c
|
instrument.c
|
||||||
port.c
|
port.c
|
||||||
|
dmusic_private.h)
|
||||||
|
|
||||||
|
add_library(dmusic SHARED
|
||||||
|
${SOURCE}
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
|
||||||
|
|
||||||
add_library(dmusic SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(dmusic win32dll)
|
set_module_type(dmusic win32dll)
|
||||||
target_link_libraries(dmusic dxguid uuid wine)
|
target_link_libraries(dmusic dxguid uuid wine)
|
||||||
add_importlibs(dmusic ole32 advapi32 winmm msvcrt kernel32 ntdll)
|
add_importlibs(dmusic ole32 advapi32 winmm msvcrt kernel32 ntdll)
|
||||||
add_pch(dmusic dmusic_private.h)
|
add_pch(dmusic dmusic_private.h SOURCE)
|
||||||
add_cd_file(TARGET dmusic DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dmusic DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -17,10 +17,15 @@ list(APPEND SOURCE
|
||||||
dplobby.c
|
dplobby.c
|
||||||
lobbysp.c
|
lobbysp.c
|
||||||
name_server.c
|
name_server.c
|
||||||
|
dplayx_global.h)
|
||||||
|
|
||||||
|
add_library(dplayx SHARED
|
||||||
|
${SOURCE}
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
|
||||||
|
|
||||||
add_library(dplayx SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(dplayx win32dll)
|
set_module_type(dplayx win32dll)
|
||||||
target_link_libraries(dplayx dxguid uuid wine)
|
target_link_libraries(dplayx dxguid uuid wine)
|
||||||
add_importlibs(dplayx winmm ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(dplayx winmm ole32 user32 advapi32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(dplayx dplayx_global.h SOURCE)
|
||||||
add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -2,19 +2,23 @@
|
||||||
add_definitions(-D__WINESRC__)
|
add_definitions(-D__WINESRC__)
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
spec2def(dxdiagn.dll dxdiagn.spec)
|
spec2def(dxdiagn.dll dxdiagn.spec)
|
||||||
|
add_idl_headers(dxdiagn_idlheader fil_data.idl)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
container.c
|
container.c
|
||||||
dxdiag_main.c
|
dxdiag_main.c
|
||||||
provider.c
|
provider.c
|
||||||
|
dxdiag_private.h)
|
||||||
|
|
||||||
|
add_library(dxdiagn SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
|
dxdiagn.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
||||||
|
|
||||||
add_idl_headers(dxdiagn_idlheader fil_data.idl)
|
|
||||||
add_library(dxdiagn SHARED ${SOURCE} dxdiagn.rc)
|
|
||||||
set_module_type(dxdiagn win32dll)
|
set_module_type(dxdiagn win32dll)
|
||||||
target_link_libraries(dxdiagn strmiids dxguid uuid wine)
|
target_link_libraries(dxdiagn strmiids dxguid uuid wine)
|
||||||
add_dependencies(dxdiagn dxdiagn_idlheader)
|
add_dependencies(dxdiagn dxdiagn_idlheader)
|
||||||
add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 msvcrt kernel32 ntdll)
|
add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(dxdiagn dxdiag_private.h)
|
add_pch(dxdiagn dxdiag_private.h SOURCE)
|
||||||
add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -13,12 +13,17 @@ list(APPEND SOURCE
|
||||||
surface.c
|
surface.c
|
||||||
swapchain.c
|
swapchain.c
|
||||||
utils.c
|
utils.c
|
||||||
|
dxgi_private.h)
|
||||||
|
|
||||||
|
add_library(dxgi SHARED
|
||||||
|
${SOURCE}
|
||||||
guid.c
|
guid.c
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dxgi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dxgi.def)
|
||||||
|
|
||||||
add_library(dxgi SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(dxgi win32dll)
|
set_module_type(dxgi win32dll)
|
||||||
target_link_libraries(dxgi uuid dxgi_uuids wine)
|
target_link_libraries(dxgi uuid dxgi_uuids wine)
|
||||||
add_importlibs(dxgi wined3d msvcrt kernel32 ntdll)
|
add_importlibs(dxgi wined3d msvcrt kernel32 ntdll)
|
||||||
add_dependencies(dxgi wineheaders)
|
add_dependencies(dxgi wineheaders)
|
||||||
|
add_pch(dxgi dxgi_private.h SOURCE)
|
||||||
add_cd_file(TARGET dxgi DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dxgi DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -6,11 +6,16 @@ spec2def(msdmo.dll msdmo.spec)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
dmoreg.c
|
dmoreg.c
|
||||||
dmort.c
|
dmort.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
|
add_library(msdmo SHARED
|
||||||
|
${SOURCE}
|
||||||
stubs.c
|
stubs.c
|
||||||
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
|
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
|
||||||
|
|
||||||
add_library(msdmo SHARED ${SOURCE} rsrc.rc)
|
|
||||||
set_module_type(msdmo win32dll)
|
set_module_type(msdmo win32dll)
|
||||||
target_link_libraries(msdmo uuid wine mediaobj_guid)
|
target_link_libraries(msdmo uuid wine mediaobj_guid)
|
||||||
add_importlibs(msdmo user32 advapi32 ole32 msvcrt kernel32 ntdll)
|
add_importlibs(msdmo user32 advapi32 ole32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(msdmo precomp.h SOURCE)
|
||||||
add_cd_file(TARGET msdmo DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET msdmo DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -7,11 +7,15 @@ list(APPEND SOURCE
|
||||||
main.c
|
main.c
|
||||||
mediadet.c
|
mediadet.c
|
||||||
samplegrabber.c
|
samplegrabber.c
|
||||||
|
qedit_private.h)
|
||||||
|
|
||||||
|
add_library(qedit SHARED
|
||||||
|
${SOURCE}
|
||||||
|
qedit.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
|
${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
|
||||||
|
|
||||||
add_library(qedit SHARED ${SOURCE} qedit.rc)
|
|
||||||
set_module_type(qedit win32dll)
|
set_module_type(qedit win32dll)
|
||||||
target_link_libraries(qedit strmiids uuid wine)
|
target_link_libraries(qedit strmiids uuid wine)
|
||||||
add_importlibs(qedit ole32 oleaut32 msvcrt kernel32 ntdll)
|
add_importlibs(qedit ole32 oleaut32 msvcrt kernel32 ntdll)
|
||||||
add_pch(qedit qedit_private.h)
|
add_pch(qedit qedit_private.h SOURCE)
|
||||||
add_cd_file(TARGET qedit DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET qedit DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -35,11 +35,14 @@ list(APPEND SOURCE
|
||||||
videorenderer.c
|
videorenderer.c
|
||||||
vmr9.c
|
vmr9.c
|
||||||
waveparser.c
|
waveparser.c
|
||||||
|
quartz_private.h)
|
||||||
|
|
||||||
|
add_library(quartz SHARED
|
||||||
|
${SOURCE}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/quartz.def)
|
${CMAKE_CURRENT_BINARY_DIR}/quartz.def
|
||||||
|
version.rc)
|
||||||
add_library(quartz SHARED ${SOURCE} version.rc)
|
|
||||||
|
|
||||||
add_idl_headers(quartz_idlheader fil_data.idl)
|
add_idl_headers(quartz_idlheader fil_data.idl)
|
||||||
|
|
||||||
|
@ -56,5 +59,5 @@ set_module_type(quartz win32dll)
|
||||||
target_link_libraries(quartz strmbase strmiids uuid dxguid wine ${PSEH_LIB})
|
target_link_libraries(quartz strmbase strmiids uuid dxguid wine ${PSEH_LIB})
|
||||||
add_importlibs(quartz dsound msacm32 msvfw32 ole32 oleaut32 shlwapi rpcrt4 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(quartz dsound msacm32 msvfw32 ole32 oleaut32 shlwapi rpcrt4 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(quartz dxsdk quartz_idlheader stdole2)
|
add_dependencies(quartz dxsdk quartz_idlheader stdole2)
|
||||||
add_pch(quartz quartz_private.h)
|
add_pch(quartz quartz_private.h SOURCE)
|
||||||
add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -37,11 +37,15 @@ list(APPEND SOURCE
|
||||||
view.c
|
view.c
|
||||||
volume.c
|
volume.c
|
||||||
wined3d_main.c
|
wined3d_main.c
|
||||||
|
wined3d_private.h)
|
||||||
|
|
||||||
|
add_library(wined3d SHARED
|
||||||
|
${SOURCE}
|
||||||
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wined3d.def)
|
${CMAKE_CURRENT_BINARY_DIR}/wined3d.def)
|
||||||
|
|
||||||
add_library(wined3d SHARED ${SOURCE} version.rc)
|
|
||||||
set_module_type(wined3d win32dll)
|
set_module_type(wined3d win32dll)
|
||||||
target_link_libraries(wined3d wine)
|
target_link_libraries(wined3d wine)
|
||||||
add_importlibs(wined3d user32 opengl32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(wined3d user32 opengl32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(wined3d wined3d_private.h)
|
add_pch(wined3d wined3d_private.h SOURCE)
|
||||||
add_cd_file(TARGET wined3d DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET wined3d DESTINATION reactos/system32 FOR all)
|
||||||
|
|
Loading…
Reference in a new issue