mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:33:32 +00:00
[CMAKE] Implement PCH builds with target_precompile_headers. CORE-16905
This commit is contained in:
parent
4cd7b3a3df
commit
139a3d6661
123 changed files with 874 additions and 644 deletions
|
@ -139,10 +139,17 @@ else()
|
||||||
add_definitions(-D_WINKD_)
|
add_definitions(-D_WINKD_)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_VERSION MATCHES "ReactOS" AND CMAKE_VERSION VERSION_LESS 3.3.0)
|
if(ENABLE_CCACHE)
|
||||||
set(PCH 1 CACHE BOOL "Whether to use precompiled headers")
|
message(WARNING "-- Disabling precompiled headers support (ccache).")
|
||||||
|
option(PCH "Whether to use precompiled headers" OFF)
|
||||||
|
elseif(CMAKE_VERSION VERSION_LESS 3.16.0)
|
||||||
|
message(WARNING "-- Disabling precompiled headers support due to this unsupported CMake version: ${CMAKE_VERSION}.")
|
||||||
|
option(PCH "Whether to use precompiled headers" OFF)
|
||||||
|
elseif(GCC)
|
||||||
|
message(WARNING "-- Disabling precompiled headers on GCC by default CORE-17108.")
|
||||||
|
option(PCH "Whether to use precompiled headers" OFF)
|
||||||
else()
|
else()
|
||||||
set(PCH 0 CACHE BOOL "Whether to use precompiled headers")
|
option(PCH "Whether to use precompiled headers" ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Version Options
|
# Version Options
|
||||||
|
|
|
@ -11,16 +11,24 @@ list(APPEND SOURCE
|
||||||
callback.c
|
callback.c
|
||||||
hlpfile.c
|
hlpfile.c
|
||||||
macro.c
|
macro.c
|
||||||
winhelp.c
|
winhelp.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
macro.lex.yy.c
|
||||||
|
string.c)
|
||||||
|
|
||||||
# macro.lex.yy.c has been generated with relative file paths...
|
# macro.lex.yy.c has been generated with relative file paths...
|
||||||
set_source_files_properties(macro.lex.yy.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
set_source_files_properties(macro.lex.yy.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||||
|
|
||||||
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
|
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/winhelp.ico)
|
||||||
add_executable(winhlp32 ${SOURCE} macro.lex.yy.c string.c rsrc.rc)
|
|
||||||
|
add_executable(winhlp32
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
rsrc.rc)
|
||||||
|
|
||||||
set_module_type(winhlp32 win32gui)
|
set_module_type(winhlp32 win32gui)
|
||||||
target_link_libraries(winhlp32 wine)
|
target_link_libraries(winhlp32 wine)
|
||||||
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
|
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
|
||||||
add_pch(winhlp32 precomp.h SOURCE)
|
add_pch(winhlp32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
|
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
|
||||||
|
|
|
@ -16,16 +16,18 @@ list(APPEND SOURCE
|
||||||
dhcp/socket.c
|
dhcp/socket.c
|
||||||
dhcp/tables.c
|
dhcp/tables.c
|
||||||
dhcp/util.c
|
dhcp/util.c
|
||||||
dhcpcsvc.c
|
dhcpcsvc.c)
|
||||||
include/rosdhcp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc_stubs.c)
|
||||||
|
|
||||||
add_library(dhcpcsvc MODULE
|
add_library(dhcpcsvc MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
dhcpcsvc.rc
|
dhcpcsvc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc.def)
|
||||||
|
|
||||||
set_module_type(dhcpcsvc win32dll)
|
set_module_type(dhcpcsvc win32dll)
|
||||||
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(dhcpcsvc ws2_32 iphlpapi advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(dhcpcsvc include/rosdhcp.h SOURCE)
|
add_pch(dhcpcsvc include/rosdhcp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dhcpcsvc DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -4,17 +4,19 @@ list(APPEND SOURCE
|
||||||
registry.c
|
registry.c
|
||||||
rpcsrv.c
|
rpcsrv.c
|
||||||
netbios.c
|
netbios.c
|
||||||
svchost.c
|
svchost.c)
|
||||||
svchost.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
security.cxx)
|
||||||
|
|
||||||
add_executable(svchost
|
add_executable(svchost
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
security.cxx
|
${PCH_SKIP_SOURCE}
|
||||||
svchost.rc)
|
svchost.rc)
|
||||||
|
|
||||||
target_link_libraries(svchost uuid)
|
target_link_libraries(svchost uuid)
|
||||||
set_module_type(svchost win32cui UNICODE)
|
set_module_type(svchost win32cui UNICODE)
|
||||||
add_delay_importlibs(svchost netapi32 ole32)
|
add_delay_importlibs(svchost netapi32 ole32)
|
||||||
add_importlibs(svchost advapi32 rpcrt4 kernel32 ntdll)
|
add_importlibs(svchost advapi32 rpcrt4 kernel32 ntdll)
|
||||||
add_pch(svchost svchost.h SOURCE)
|
add_pch(svchost svchost.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET svchost DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET svchost DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -20,20 +20,22 @@ list(APPEND SOURCE
|
||||||
general.c
|
general.c
|
||||||
draw.c
|
draw.c
|
||||||
theme.c
|
theme.c
|
||||||
muireg.c
|
muireg.c)
|
||||||
desk.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
file(GLOB desk_rc_deps resources/*.*)
|
file(GLOB desk_rc_deps resources/*.*)
|
||||||
add_rc_deps(desk.rc ${desk_rc_deps})
|
add_rc_deps(desk.rc ${desk_rc_deps})
|
||||||
|
|
||||||
add_library(desk MODULE
|
add_library(desk MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
desk.rc
|
desk.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/desk.def)
|
${CMAKE_CURRENT_BINARY_DIR}/desk.def)
|
||||||
|
|
||||||
set_module_type(desk cpl UNICODE)
|
set_module_type(desk cpl UNICODE)
|
||||||
target_link_libraries(desk uuid)
|
target_link_libraries(desk uuid)
|
||||||
add_importlibs(desk user32 advapi32 gdi32 comctl32 comdlg32 ole32 setupapi shell32 shlwapi uxtheme gdiplus msvcrt kernel32 ntdll)
|
add_importlibs(desk user32 advapi32 gdi32 comctl32 comdlg32 ole32 setupapi shell32 shlwapi uxtheme gdiplus msvcrt kernel32 ntdll)
|
||||||
add_pch(desk desk.h SOURCE)
|
add_pch(desk desk.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET desk DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -17,17 +17,19 @@ list(APPEND SOURCE
|
||||||
swapchain.c
|
swapchain.c
|
||||||
texture.c
|
texture.c
|
||||||
vertexdeclaration.c
|
vertexdeclaration.c
|
||||||
volume.c
|
volume.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(d3d8 MODULE
|
add_library(d3d8 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
version.rc
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
|
||||||
|
|
||||||
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 d3dwine msvcrt kernel32 ntdll)
|
add_importlibs(d3d8 d3dwine msvcrt kernel32 ntdll)
|
||||||
add_pch(d3d8 precomp.h SOURCE)
|
add_pch(d3d8 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3d8 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -18,12 +18,14 @@ list(APPEND SOURCE
|
||||||
swapchain.c
|
swapchain.c
|
||||||
texture.c
|
texture.c
|
||||||
vertexdeclaration.c
|
vertexdeclaration.c
|
||||||
volume.c
|
volume.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(d3d9 MODULE
|
add_library(d3d9 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
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)
|
||||||
|
@ -31,5 +33,5 @@ add_library(d3d9 MODULE
|
||||||
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 d3dwine user32 msvcrt kernel32 ntdll)
|
add_importlibs(d3d9 d3dwine user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(d3d9 precomp.h SOURCE)
|
add_pch(d3d9 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -15,19 +15,21 @@ list(APPEND SOURCE
|
||||||
main.c
|
main.c
|
||||||
preproc.c
|
preproc.c
|
||||||
reflection.c
|
reflection.c
|
||||||
utils.c
|
utils.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c)
|
|
||||||
|
|
||||||
add_library(d3dcompiler_43 MODULE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
${SOURCE}
|
|
||||||
asmshader.tab.c
|
asmshader.tab.c
|
||||||
asmshader.yy.c
|
asmshader.yy.c
|
||||||
hlsl.tab.c
|
hlsl.tab.c
|
||||||
hlsl.yy.c
|
hlsl.yy.c
|
||||||
ppy.tab.c
|
ppy.tab.c
|
||||||
ppl.yy.c
|
ppl.yy.c)
|
||||||
|
|
||||||
|
add_library(d3dcompiler_43 MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
version.rc
|
version.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
|
||||||
|
|
||||||
# some files have been generated with relative file paths...
|
# some files have been generated with relative file paths...
|
||||||
|
@ -44,5 +46,5 @@ 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 precomp.h SOURCE)
|
add_pch(d3dcompiler_43 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3dcompiler_43 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -22,14 +22,16 @@ function(add_d3dx9_target __version)
|
||||||
../d3dx9_36/texture.c
|
../d3dx9_36/texture.c
|
||||||
../d3dx9_36/util.c
|
../d3dx9_36/util.c
|
||||||
../d3dx9_36/volume.c
|
../d3dx9_36/volume.c
|
||||||
../d3dx9_36/xfile.c
|
../d3dx9_36/xfile.c)
|
||||||
../d3dx9_36/precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
../d3dx9_36/guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/${module}_stubs.c)
|
||||||
|
|
||||||
add_library(${module} MODULE
|
add_library(${module} MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
../d3dx9_36/guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
version.rc
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/${module}_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/${module}.def)
|
${CMAKE_CURRENT_BINARY_DIR}/${module}.def)
|
||||||
|
|
||||||
add_definitions(-D__ROS_LONG64__)
|
add_definitions(-D__ROS_LONG64__)
|
||||||
|
@ -38,7 +40,7 @@ function(add_d3dx9_target __version)
|
||||||
target_link_libraries(${module} dxguid wine)
|
target_link_libraries(${module} dxguid wine)
|
||||||
add_importlibs(${module} d3dcompiler_43 d3dxof d3dwine user32 ole32 gdi32 msvcrt kernel32 ntdll)
|
add_importlibs(${module} d3dcompiler_43 d3dxof d3dwine user32 ole32 gdi32 msvcrt kernel32 ntdll)
|
||||||
add_delay_importlibs(${module} windowscodecs)
|
add_delay_importlibs(${module} windowscodecs)
|
||||||
add_pch(${module} ../d3dx9_36/precomp.h SOURCE)
|
add_pch(${module} ../d3dx9_36/precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET ${module} DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET ${module} DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
target_compile_definitions(${module} PRIVATE -DD3DX_SDK_VERSION=${__version} -D__WINESRC__ -Dcopysignf=_copysignf)
|
target_compile_definitions(${module} PRIVATE -DD3DX_SDK_VERSION=${__version} -D__WINESRC__ -Dcopysignf=_copysignf)
|
||||||
|
|
|
@ -6,17 +6,19 @@ spec2def(d3dxof.dll d3dxof.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
d3dxof.c
|
d3dxof.c
|
||||||
main.c
|
main.c
|
||||||
parsing.c
|
parsing.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
mszip.c)
|
||||||
|
|
||||||
add_library(d3dxof MODULE
|
add_library(d3dxof MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
mszip.c
|
${PCH_SKIP_SOURCE}
|
||||||
version.rc
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def)
|
${CMAKE_CURRENT_BINARY_DIR}/d3dxof.def)
|
||||||
|
|
||||||
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 precomp.h SOURCE)
|
add_pch(d3dxof precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET d3dxof DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -6,12 +6,14 @@ spec2def(dxdiagn.dll dxdiagn.spec)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
container.c
|
container.c
|
||||||
dxdiag_main.c
|
dxdiag_main.c
|
||||||
provider.c
|
provider.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(dxdiagn MODULE
|
add_library(dxdiagn MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
dxdiagn.rc
|
dxdiagn.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
${CMAKE_CURRENT_BINARY_DIR}/dxdiagn.def)
|
||||||
|
|
||||||
|
@ -19,5 +21,5 @@ set_module_type(dxdiagn win32dll)
|
||||||
target_link_libraries(dxdiagn strmiids dxguid uuid wine)
|
target_link_libraries(dxdiagn strmiids dxguid uuid wine)
|
||||||
add_dependencies(dxdiagn wineheaders)
|
add_dependencies(dxdiagn wineheaders)
|
||||||
add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 dsound msvcrt kernel32 ntdll)
|
add_importlibs(dxdiagn d3d9 ddraw version ole32 oleaut32 psapi user32 dsound msvcrt kernel32 ntdll)
|
||||||
add_pch(dxdiagn precomp.h SOURCE)
|
add_pch(dxdiagn precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dxdiagn DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -5,17 +5,19 @@ spec2def(msdmo.dll msdmo.spec ADD_IMPORTLIB)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
dmoreg.c
|
dmoreg.c
|
||||||
dmort.c
|
dmort.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
stubs.c)
|
||||||
|
|
||||||
add_library(msdmo MODULE
|
add_library(msdmo MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
stubs.c
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
|
${CMAKE_CURRENT_BINARY_DIR}/msdmo.def)
|
||||||
|
|
||||||
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_pch(msdmo precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET msdmo DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET msdmo DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -34,13 +34,15 @@ list(APPEND SOURCE
|
||||||
systemclock.c
|
systemclock.c
|
||||||
videorenderer.c
|
videorenderer.c
|
||||||
vmr9.c
|
vmr9.c
|
||||||
waveparser.c
|
waveparser.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c)
|
||||||
|
|
||||||
add_library(quartz MODULE
|
add_library(quartz MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
${PCH_SKIP_SOURCE}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/quartz.def
|
${CMAKE_CURRENT_BINARY_DIR}/quartz.def
|
||||||
version.rc)
|
version.rc)
|
||||||
|
|
||||||
|
@ -57,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 rpcrt4 user32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
|
add_importlibs(quartz dsound msacm32 msvfw32 ole32 oleaut32 rpcrt4 user32 gdi32 advapi32 advapi32_vista shlwapi msvcrt kernel32 ntdll)
|
||||||
add_dependencies(quartz dxsdk quartz_idlheader stdole2)
|
add_dependencies(quartz dxsdk quartz_idlheader stdole2)
|
||||||
add_pch(quartz precomp.h SOURCE)
|
add_pch(quartz precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -23,8 +23,7 @@ list(APPEND SOURCE
|
||||||
rtl/libsupp.c
|
rtl/libsupp.c
|
||||||
rtl/uilist.c
|
rtl/uilist.c
|
||||||
rtl/version.c
|
rtl/version.c
|
||||||
etw/trace.c
|
etw/trace.c)
|
||||||
include/ntdll.h)
|
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
list(APPEND ASM_SOURCE dispatch/i386/dispatch.S)
|
list(APPEND ASM_SOURCE dispatch/i386/dispatch.S)
|
||||||
|
@ -38,11 +37,14 @@ endif()
|
||||||
|
|
||||||
add_asm_files(ntdll_asm ${ASM_SOURCE})
|
add_asm_files(ntdll_asm ${ASM_SOURCE})
|
||||||
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/ntdll_stubs.c)
|
||||||
|
|
||||||
add_library(ntdll MODULE
|
add_library(ntdll MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
${ntdll_asm}
|
${ntdll_asm}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
def/ntdll.rc
|
def/ntdll.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ntdll_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ntdll.def)
|
${CMAKE_CURRENT_BINARY_DIR}/ntdll.def)
|
||||||
|
|
||||||
set_module_type(ntdll win32dll ENTRYPOINT 0)
|
set_module_type(ntdll win32dll ENTRYPOINT 0)
|
||||||
|
@ -56,6 +58,6 @@ if(MSVC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
target_link_libraries(ntdll rtl ntdllsys libcntpr uuid ${PSEH_LIB})
|
target_link_libraries(ntdll rtl ntdllsys libcntpr uuid ${PSEH_LIB})
|
||||||
add_pch(ntdll include/ntdll.h SOURCE)
|
add_pch(ntdll include/ntdll.h "${PCH_SKIP_SOURCE}")
|
||||||
add_dependencies(ntdll ntstatus asm)
|
add_dependencies(ntdll ntstatus asm)
|
||||||
add_cd_file(TARGET ntdll DESTINATION reactos/system32 NO_CAB FOR all)
|
add_cd_file(TARGET ntdll DESTINATION reactos/system32 NO_CAB FOR all)
|
||||||
|
|
|
@ -107,13 +107,15 @@ list(APPEND LIBNURBS_SOURCE
|
||||||
src/libnurbs/nurbtess/sampleCompTop.cc
|
src/libnurbs/nurbtess/sampleCompTop.cc
|
||||||
src/libnurbs/nurbtess/sampleMonoPoly.cc
|
src/libnurbs/nurbtess/sampleMonoPoly.cc
|
||||||
src/libnurbs/nurbtess/sampledLine.cc
|
src/libnurbs/nurbtess/sampledLine.cc
|
||||||
src/libnurbs/nurbtess/searchTree.cc
|
src/libnurbs/nurbtess/searchTree.cc)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
src/libnurbs/nurbtess/polyDBG.cc
|
||||||
|
${SOURCE})
|
||||||
|
|
||||||
add_library(glu32 MODULE
|
add_library(glu32 MODULE
|
||||||
${LIBNURBS_SOURCE}
|
${LIBNURBS_SOURCE}
|
||||||
src/libnurbs/nurbtess/polyDBG.cc
|
${PCH_SKIP_SOURCE}
|
||||||
${SOURCE}
|
|
||||||
glu32.rc
|
glu32.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
|
||||||
|
|
||||||
|
@ -129,5 +131,5 @@ elseif(USE_CLANG_CL)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll)
|
add_importlibs(glu32 opengl32 gdi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(glu32 precomp.h LIBNURBS_SOURCE)
|
add_pch(glu32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET glu32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -26,21 +26,23 @@ list(APPEND SOURCE
|
||||||
connectmanager.cpp
|
connectmanager.cpp
|
||||||
lanconnectui.cpp
|
lanconnectui.cpp
|
||||||
lanstatusui.cpp
|
lanstatusui.cpp
|
||||||
setup.cpp
|
setup.cpp)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c)
|
||||||
|
|
||||||
file(GLOB netshell_rc_deps res/*.*)
|
file(GLOB netshell_rc_deps res/*.*)
|
||||||
add_rc_deps(netshell.rc ${netshell_rc_deps})
|
add_rc_deps(netshell.rc ${netshell_rc_deps})
|
||||||
|
|
||||||
add_library(netshell MODULE
|
add_library(netshell MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
netshell.rc
|
netshell.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
|
${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
|
||||||
|
|
||||||
set_module_type(netshell win32dll UNICODE)
|
set_module_type(netshell win32dll UNICODE)
|
||||||
target_link_libraries(netshell uuid wine)
|
target_link_libraries(netshell uuid wine)
|
||||||
add_delay_importlibs(netshell ole32 oleaut32 shlwapi shell32)
|
add_delay_importlibs(netshell ole32 oleaut32 shlwapi shell32)
|
||||||
add_importlibs(netshell version iphlpapi gdi32 user32 advapi32 setupapi ws2_32 comctl32 msvcrt kernel32 ntdll)
|
add_importlibs(netshell version iphlpapi gdi32 user32 advapi32 setupapi ws2_32 comctl32 msvcrt kernel32 ntdll)
|
||||||
add_pch(netshell precomp.h SOURCE)
|
add_pch(netshell precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -24,12 +24,14 @@ list(APPEND SOURCE
|
||||||
recv.cpp
|
recv.cpp
|
||||||
scrub.cpp
|
scrub.cpp
|
||||||
send.cpp
|
send.cpp
|
||||||
volpropsheet.cpp
|
volpropsheet.cpp)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(shellbtrfs MODULE
|
add_library(shellbtrfs MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
shellbtrfs.rc
|
shellbtrfs.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shellbtrfs.def)
|
${CMAKE_CURRENT_BINARY_DIR}/shellbtrfs.def)
|
||||||
|
|
||||||
|
@ -39,5 +41,5 @@ add_rc_deps(shellbtrfs.rc ${shellbtrfs_rc_deps})
|
||||||
set_module_type(shellbtrfs win32dll UNICODE)
|
set_module_type(shellbtrfs win32dll UNICODE)
|
||||||
target_link_libraries(shellbtrfs uuid)
|
target_link_libraries(shellbtrfs uuid)
|
||||||
add_importlibs(shellbtrfs advapi32 advapi32_vista ole32 shell32 shlwapi user32 comctl32 uxtheme setupapi comdlg32 gdi32 msvcrt kernel32_vista kernel32 ntdll)
|
add_importlibs(shellbtrfs advapi32 advapi32_vista ole32 shell32 shlwapi user32 comctl32 uxtheme setupapi comdlg32 gdi32 msvcrt kernel32_vista kernel32 ntdll)
|
||||||
add_pch(shellbtrfs precomp.h SOURCE)
|
add_pch(shellbtrfs precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET shellbtrfs DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET shellbtrfs DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -6,16 +6,18 @@ list(APPEND SOURCE
|
||||||
aclui.c
|
aclui.c
|
||||||
checklist.c
|
checklist.c
|
||||||
misc.c
|
misc.c
|
||||||
sidcache.c
|
sidcache.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(aclui MODULE
|
add_library(aclui MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
aclui.rc
|
aclui.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
||||||
|
|
||||||
set_module_type(aclui win32dll UNICODE)
|
set_module_type(aclui win32dll UNICODE)
|
||||||
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
|
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
|
||||||
add_pch(aclui precomp.h SOURCE)
|
add_pch(aclui precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -43,22 +43,24 @@ list(APPEND SOURCE
|
||||||
wine/crypt.c
|
wine/crypt.c
|
||||||
wine/crypt_des.c
|
wine/crypt_des.c
|
||||||
wine/crypt_lmhash.c
|
wine/crypt_lmhash.c
|
||||||
wine/security.c
|
wine/security.c)
|
||||||
advapi32.h)
|
|
||||||
|
|
||||||
add_library(advapi32 MODULE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
${SOURCE}
|
|
||||||
advapi32.rc
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/advapi32_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/advapi32_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/advapi32.def
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/eventlogrpc_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/eventlogrpc_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/lsa_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/lsa_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/svcctl_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/svcctl_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/winreg_c.c)
|
${CMAKE_CURRENT_BINARY_DIR}/winreg_c.c)
|
||||||
|
|
||||||
|
add_library(advapi32 MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
advapi32.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/advapi32.def)
|
||||||
|
|
||||||
set_module_type(advapi32 win32dll UNICODE ENTRYPOINT DllMain 12)
|
set_module_type(advapi32 win32dll UNICODE ENTRYPOINT DllMain 12)
|
||||||
target_link_libraries(advapi32 cryptlib wine ${PSEH_LIB})
|
target_link_libraries(advapi32 cryptlib wine ${PSEH_LIB})
|
||||||
add_delay_importlibs(advapi32 secur32)
|
add_delay_importlibs(advapi32 secur32)
|
||||||
add_importlibs(advapi32 advapi32_vista rpcrt4 kernel32 ntdll)
|
add_importlibs(advapi32 advapi32_vista rpcrt4 kernel32 ntdll)
|
||||||
add_pch(advapi32 advapi32.h SOURCE)
|
add_pch(advapi32 advapi32.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET advapi32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET advapi32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -17,19 +17,21 @@ list(APPEND SOURCE
|
||||||
getframe.c
|
getframe.c
|
||||||
icmstream.c
|
icmstream.c
|
||||||
tmpfile.c
|
tmpfile.c
|
||||||
wavfile.c
|
wavfile.c)
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
||||||
precomp.h)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/avifil32_p.c)
|
||||||
|
|
||||||
add_library(avifil32 MODULE
|
add_library(avifil32 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/avifil32_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
|
||||||
|
|
||||||
set_module_type(avifil32 win32dll)
|
set_module_type(avifil32 win32dll)
|
||||||
target_link_libraries(avifil32 wine ${PSEH_LIB})
|
target_link_libraries(avifil32 wine ${PSEH_LIB})
|
||||||
add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
add_importlibs(avifil32 msacm32 msvfw32 winmm ole32 user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||||
add_pch(avifil32 precomp.h SOURCE)
|
add_pch(avifil32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -37,19 +37,21 @@ list(APPEND SOURCE
|
||||||
toolsband.cpp
|
toolsband.cpp
|
||||||
travellog.cpp
|
travellog.cpp
|
||||||
utility.cpp
|
utility.cpp
|
||||||
CProgressDialog.cpp
|
CProgressDialog.cpp)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
dllinstall.c)
|
||||||
|
|
||||||
add_library(browseui MODULE
|
add_library(browseui MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
dllinstall.c
|
${PCH_SKIP_SOURCE}
|
||||||
browseui.rc
|
browseui.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
|
${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
|
||||||
|
|
||||||
set_module_type(browseui win32dll UNICODE)
|
set_module_type(browseui win32dll UNICODE)
|
||||||
target_link_libraries(browseui shellbars shellfind uuid wine)
|
target_link_libraries(browseui shellbars shellfind uuid wine)
|
||||||
add_importlibs(browseui uxtheme shlwapi shell32 comctl32 gdi32 ole32 oleaut32 user32 advapi32 mpr msvcrt kernel32 ntdll)
|
add_importlibs(browseui uxtheme shlwapi shell32 comctl32 gdi32 ole32 oleaut32 user32 advapi32 mpr msvcrt kernel32 ntdll)
|
||||||
add_pch(browseui precomp.h SOURCE)
|
add_pch(browseui precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
|
|
|
@ -12,17 +12,19 @@ spec2def(cabinet.dll cabinet.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
cabinet_main.c
|
cabinet_main.c
|
||||||
fci.c
|
fci.c
|
||||||
fdi.c
|
fdi.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
stubs.c)
|
||||||
|
|
||||||
add_library(cabinet MODULE
|
add_library(cabinet MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
stubs.c
|
${PCH_SKIP_SOURCE}
|
||||||
cabinet.rc
|
cabinet.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
|
${CMAKE_CURRENT_BINARY_DIR}/cabinet.def)
|
||||||
|
|
||||||
set_module_type(cabinet win32dll)
|
set_module_type(cabinet win32dll)
|
||||||
target_link_libraries(cabinet wine zlib)
|
target_link_libraries(cabinet wine zlib)
|
||||||
add_importlibs(cabinet msvcrt kernel32 ntdll)
|
add_importlibs(cabinet msvcrt kernel32 ntdll)
|
||||||
add_pch(cabinet precomp.h SOURCE)
|
add_pch(cabinet precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET cabinet DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET cabinet DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -54,12 +54,14 @@ list(APPEND SOURCE
|
||||||
tooltips.c
|
tooltips.c
|
||||||
trackbar.c
|
trackbar.c
|
||||||
treeview.c
|
treeview.c
|
||||||
updown.c
|
updown.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
stubs.c)
|
||||||
|
|
||||||
add_library(comctl32 MODULE
|
add_library(comctl32 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
stubs.c
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/comctl32.def)
|
||||||
|
|
||||||
|
@ -67,9 +69,9 @@ set_module_type(comctl32 win32dll UNICODE)
|
||||||
target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
|
target_link_libraries(comctl32 uuid wine ${PSEH_LIB})
|
||||||
add_delay_importlibs(comctl32 winmm uxtheme)
|
add_delay_importlibs(comctl32 winmm uxtheme)
|
||||||
add_importlibs(comctl32 user32 gdi32 advapi32 usp10 imm32 msvcrt kernel32 ntdll)
|
add_importlibs(comctl32 user32 gdi32 advapi32 usp10 imm32 msvcrt kernel32 ntdll)
|
||||||
add_pch(comctl32 precomp.h SOURCE)
|
add_pch(comctl32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
|
||||||
add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef FOR all)
|
add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef FOR all)
|
||||||
add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef FOR all)
|
add_cd_file(TARGET comctl32 DESTINATION reactos/winsxs/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef FOR all)
|
||||||
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
||||||
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.2600.2982_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
||||||
|
|
|
@ -40,18 +40,20 @@ list(APPEND SOURCE
|
||||||
serialize.c
|
serialize.c
|
||||||
sip.c
|
sip.c
|
||||||
store.c
|
store.c
|
||||||
str.c
|
str.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c)
|
||||||
|
|
||||||
add_library(crypt32 MODULE
|
add_library(crypt32 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
crypt32.rc
|
crypt32.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
|
||||||
|
|
||||||
set_module_type(crypt32 win32dll)
|
set_module_type(crypt32 win32dll)
|
||||||
target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
|
target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
|
||||||
add_delay_importlibs(crypt32 cryptnet)
|
add_delay_importlibs(crypt32 cryptnet)
|
||||||
add_importlibs(crypt32 bcrypt user32 advapi32 advapi32_vista msvcrt kernel32 ntdll)
|
add_importlibs(crypt32 bcrypt user32 advapi32 advapi32_vista msvcrt kernel32 ntdll)
|
||||||
add_pch(crypt32 precomp.h SOURCE)
|
add_pch(crypt32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -9,17 +9,19 @@ list(APPEND SOURCE
|
||||||
format.c
|
format.c
|
||||||
init.c
|
init.c
|
||||||
media.c
|
media.c
|
||||||
query.c
|
query.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c)
|
||||||
|
|
||||||
add_library(fmifs MODULE
|
add_library(fmifs MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
fmifs.rc
|
fmifs.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
|
${CMAKE_CURRENT_BINARY_DIR}/fmifs.def)
|
||||||
|
|
||||||
set_module_type(fmifs win32dll UNICODE ENTRYPOINT InitializeFmIfs 12)
|
set_module_type(fmifs win32dll UNICODE ENTRYPOINT InitializeFmIfs 12)
|
||||||
add_importlibs(fmifs kernel32 ntdll)
|
add_importlibs(fmifs kernel32 ntdll)
|
||||||
add_pch(fmifs precomp.h SOURCE)
|
add_pch(fmifs precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_dependencies(fmifs psdk)
|
add_dependencies(fmifs psdk)
|
||||||
add_cd_file(TARGET fmifs DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET fmifs DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -21,21 +21,23 @@ list(APPEND SOURCE
|
||||||
pathiterator.c
|
pathiterator.c
|
||||||
pen.c
|
pen.c
|
||||||
region.c
|
region.c
|
||||||
stringformat.c
|
stringformat.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c)
|
||||||
|
|
||||||
add_library(gdiplus MODULE
|
add_library(gdiplus MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
gdiplus.rc
|
gdiplus.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/gdiplus_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
|
${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
|
||||||
|
|
||||||
set_module_type(gdiplus win32dll)
|
set_module_type(gdiplus win32dll)
|
||||||
target_link_libraries(gdiplus wine)
|
target_link_libraries(gdiplus wine)
|
||||||
add_delay_importlibs(gdiplus windowscodecs)
|
add_delay_importlibs(gdiplus windowscodecs)
|
||||||
add_importlibs(gdiplus msvcrt shlwapi oleaut32 ole32 user32 gdi32 kernel32 ntdll)
|
add_importlibs(gdiplus msvcrt shlwapi oleaut32 ole32 user32 gdi32 kernel32 ntdll)
|
||||||
add_pch(gdiplus precomp.h SOURCE)
|
add_pch(gdiplus precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET gdiplus DESTINATION reactos/system32 FOR all)
|
||||||
|
|
||||||
add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef FOR all)
|
add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.23038_none_deadbeef FOR all)
|
||||||
|
@ -43,4 +45,3 @@ add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.gdiplus_6595b
|
||||||
|
|
||||||
add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef FOR all)
|
add_cd_file(TARGET gdiplus DESTINATION reactos/winsxs/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef FOR all)
|
||||||
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.14393.0_none_deadbeef.manifest DESTINATION reactos/winsxs/manifests FOR all)
|
||||||
|
|
||||||
|
|
|
@ -14,12 +14,14 @@ list(APPEND SOURCE
|
||||||
index.c
|
index.c
|
||||||
search.c
|
search.c
|
||||||
stream.c
|
stream.c
|
||||||
webbrowser.c
|
webbrowser.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(hhctrl MODULE
|
add_library(hhctrl MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
hhctrl.rc
|
hhctrl.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
|
${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
|
||||||
|
|
||||||
|
@ -34,5 +36,5 @@ set_module_type(hhctrl win32ocx)
|
||||||
target_link_libraries(hhctrl uuid wine)
|
target_link_libraries(hhctrl uuid wine)
|
||||||
add_importlibs(hhctrl advapi32 comctl32 shlwapi ole32 oleaut32 user32 gdi32 msvcrt kernel32 ntdll)
|
add_importlibs(hhctrl advapi32 comctl32 shlwapi ole32 oleaut32 user32 gdi32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(hhctrl stdole2 wineheaders)
|
add_dependencies(hhctrl stdole2 wineheaders)
|
||||||
add_pch(hhctrl precomp.h SOURCE)
|
add_pch(hhctrl precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET hhctrl DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET hhctrl DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -7,18 +7,20 @@ list(APPEND SOURCE
|
||||||
browse_ctx.c
|
browse_ctx.c
|
||||||
extserv.c
|
extserv.c
|
||||||
hlink_main.c
|
hlink_main.c
|
||||||
link.c
|
link.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/hlink_stubs.c)
|
||||||
|
|
||||||
add_library(hlink MODULE
|
add_library(hlink MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
hlink.rc
|
hlink.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/hlink_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
|
${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
|
||||||
|
|
||||||
set_module_type(hlink win32dll)
|
set_module_type(hlink win32dll)
|
||||||
target_link_libraries(hlink uuid wine)
|
target_link_libraries(hlink uuid wine)
|
||||||
add_delay_importlibs(hlink urlmon)
|
add_delay_importlibs(hlink urlmon)
|
||||||
add_importlibs(hlink shell32 ole32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(hlink shell32 ole32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(hlink precomp.h SOURCE)
|
add_pch(hlink precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET hlink DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET hlink DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -7,17 +7,19 @@ list(APPEND SOURCE
|
||||||
access.c
|
access.c
|
||||||
imagehlp_main.c
|
imagehlp_main.c
|
||||||
integrity.c
|
integrity.c
|
||||||
modify.c
|
modify.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/imagehlp_stubs.c)
|
||||||
|
|
||||||
add_library(imagehlp MODULE
|
add_library(imagehlp MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
imagehlp.rc
|
imagehlp.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/imagehlp_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def)
|
${CMAKE_CURRENT_BINARY_DIR}/imagehlp.def)
|
||||||
|
|
||||||
set_module_type(imagehlp win32dll)
|
set_module_type(imagehlp win32dll)
|
||||||
target_link_libraries(imagehlp wine ${PSEH_LIB})
|
target_link_libraries(imagehlp wine ${PSEH_LIB})
|
||||||
add_importlibs(imagehlp dbghelp msvcrt kernel32 ntdll)
|
add_importlibs(imagehlp dbghelp msvcrt kernel32 ntdll)
|
||||||
add_pch(imagehlp precomp.h SOURCE)
|
add_pch(imagehlp precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET imagehlp DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET imagehlp DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -11,18 +11,20 @@ list(APPEND SOURCE
|
||||||
mimeole.c
|
mimeole.c
|
||||||
pop3transport.c
|
pop3transport.c
|
||||||
protocol.c
|
protocol.c
|
||||||
smtptransport.c
|
smtptransport.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c)
|
||||||
|
|
||||||
add_library(inetcomm MODULE
|
add_library(inetcomm MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
inetcomm.rc
|
inetcomm.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/inetcomm_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
|
${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
|
||||||
|
|
||||||
set_module_type(inetcomm win32dll)
|
set_module_type(inetcomm win32dll)
|
||||||
target_link_libraries(inetcomm uuid wine)
|
target_link_libraries(inetcomm uuid wine)
|
||||||
add_importlibs(inetcomm ole32 oleaut32 ws2_32 user32 propsys urlmon msvcrt kernel32 ntdll)
|
add_importlibs(inetcomm ole32 oleaut32 ws2_32 user32 propsys urlmon msvcrt kernel32 ntdll)
|
||||||
add_pch(inetcomm precomp.h SOURCE)
|
add_pch(inetcomm precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -9,14 +9,20 @@ spec2def(inseng.dll inseng.spec)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
icif.c
|
icif.c
|
||||||
inf.c
|
inf.c
|
||||||
inseng_main.c
|
inseng_main.c)
|
||||||
precomp.h
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
|
add_library(inseng MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
inseng.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
|
${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
|
||||||
|
|
||||||
add_library(inseng MODULE ${SOURCE} guid.c inseng.rc)
|
|
||||||
set_module_type(inseng win32dll)
|
set_module_type(inseng win32dll)
|
||||||
target_link_libraries(inseng uuid wine)
|
target_link_libraries(inseng uuid wine)
|
||||||
add_importlibs(inseng ole32 urlmon kernel32_vista msvcrt kernel32 ntdll)
|
add_importlibs(inseng ole32 urlmon kernel32_vista msvcrt kernel32 ntdll)
|
||||||
add_pch(inseng precomp.h SOURCE)
|
add_pch(inseng precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET inseng DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -9,19 +9,21 @@ list(APPEND SOURCE
|
||||||
itss.c
|
itss.c
|
||||||
moniker.c
|
moniker.c
|
||||||
protocol.c
|
protocol.c
|
||||||
storage.c
|
storage.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c)
|
||||||
|
|
||||||
add_library(itss MODULE
|
add_library(itss MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/itss_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/itss.def)
|
${CMAKE_CURRENT_BINARY_DIR}/itss.def)
|
||||||
|
|
||||||
set_module_type(itss win32dll)
|
set_module_type(itss win32dll)
|
||||||
target_link_libraries(itss uuid wine)
|
target_link_libraries(itss uuid wine)
|
||||||
add_importlibs(itss urlmon shlwapi ole32 msvcrt kernel32 ntdll)
|
add_importlibs(itss urlmon shlwapi ole32 msvcrt kernel32 ntdll)
|
||||||
add_pch(itss precomp.h SOURCE)
|
add_pch(itss precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_dependencies(itss wineheaders)
|
add_dependencies(itss wineheaders)
|
||||||
add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET itss DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -32,8 +32,11 @@ list(APPEND SOURCE
|
||||||
object.c
|
object.c
|
||||||
regexp.c
|
regexp.c
|
||||||
string.c
|
string.c
|
||||||
vbarray.c
|
vbarray.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
cc_parser.tab.c
|
||||||
|
parser.tab.c)
|
||||||
|
|
||||||
# cc_parser.tab.c/parser.tab.c have been generated with relative file paths...
|
# cc_parser.tab.c/parser.tab.c have been generated with relative file paths...
|
||||||
set_source_files_properties(cc_parser.tab.c parser.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
set_source_files_properties(cc_parser.tab.c parser.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||||
|
@ -48,8 +51,7 @@ set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${jscript_rc_deps
|
||||||
|
|
||||||
add_library(jscript MODULE
|
add_library(jscript MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
cc_parser.tab.c
|
${PCH_SKIP_SOURCE}
|
||||||
parser.tab.c
|
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
|
${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
|
||||||
|
|
||||||
|
@ -59,5 +61,5 @@ add_dependencies(jscript jscript_idlheader stdole2)
|
||||||
set_module_type(jscript win32dll)
|
set_module_type(jscript win32dll)
|
||||||
target_link_libraries(jscript uuid wine)
|
target_link_libraries(jscript uuid wine)
|
||||||
add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(jscript user32 ole32 oleaut32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(jscript precomp.h SOURCE)
|
add_pch(jscript precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET jscript DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET jscript DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -9,18 +9,20 @@ list(APPEND SOURCE
|
||||||
prop.c
|
prop.c
|
||||||
sendmail.c
|
sendmail.c
|
||||||
stubs.c
|
stubs.c
|
||||||
util.c
|
util.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c)
|
||||||
|
|
||||||
add_library(mapi32 MODULE
|
add_library(mapi32 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
version.rc
|
version.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/mapi32_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
|
||||||
|
|
||||||
set_module_type(mapi32 win32dll)
|
set_module_type(mapi32 win32dll)
|
||||||
target_link_libraries(mapi32 uuid wine)
|
target_link_libraries(mapi32 uuid wine)
|
||||||
add_importlibs(mapi32 shlwapi user32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(mapi32 shlwapi user32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(mapi32 precomp.h SOURCE)
|
add_pch(mapi32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -13,18 +13,20 @@ list(APPEND SOURCE
|
||||||
corruntimehost.c
|
corruntimehost.c
|
||||||
metadata.c
|
metadata.c
|
||||||
metahost.c
|
metahost.c
|
||||||
mscoree_main.c
|
mscoree_main.c)
|
||||||
mscoree_private.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c)
|
||||||
|
|
||||||
add_library(mscoree MODULE
|
add_library(mscoree MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
mscoree.rc
|
mscoree.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/mscoree_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
|
${CMAKE_CURRENT_BINARY_DIR}/mscoree.def)
|
||||||
|
|
||||||
set_module_type(mscoree win32dll)
|
set_module_type(mscoree win32dll)
|
||||||
target_link_libraries(mscoree uuid wine)
|
target_link_libraries(mscoree uuid wine)
|
||||||
add_importlibs(mscoree dbghelp advapi32 shell32 ole32 shlwapi msvcrt kernel32 ntdll)
|
add_importlibs(mscoree dbghelp advapi32 shell32 ole32 shlwapi msvcrt kernel32 ntdll)
|
||||||
add_pch(mscoree mscoree_private.h SOURCE)
|
add_pch(mscoree mscoree_private.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET mscoree DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mscoree DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -10,28 +10,27 @@ include_directories(
|
||||||
|
|
||||||
spec2def(msgina.dll msgina.spec)
|
spec2def(msgina.dll msgina.spec)
|
||||||
|
|
||||||
list(APPEND C_SOURCE
|
list(APPEND SOURCE
|
||||||
gui.c
|
gui.c
|
||||||
lsa.c
|
lsa.c
|
||||||
msgina.c
|
msgina.c
|
||||||
shutdown.c
|
shutdown.c
|
||||||
stubs.c
|
stubs.c
|
||||||
tui.c
|
tui.c)
|
||||||
msgina.h)
|
|
||||||
|
|
||||||
list(APPEND CPP_SOURCE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
dimmedwindow.cpp)
|
dimmedwindow.cpp
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c)
|
||||||
|
|
||||||
add_library(msgina MODULE
|
add_library(msgina MODULE
|
||||||
${C_SOURCE}
|
${SOURCE}
|
||||||
${CPP_SOURCE}
|
${PCH_SKIP_SOURCE}
|
||||||
msgina.rc
|
msgina.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msgina_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
|
${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
|
||||||
|
|
||||||
set_module_type(msgina win32dll UNICODE)
|
set_module_type(msgina win32dll UNICODE)
|
||||||
target_link_libraries(msgina wine uuid ${PSEH_LIB})
|
target_link_libraries(msgina wine uuid ${PSEH_LIB})
|
||||||
add_delay_importlibs(msgina secur32)
|
add_delay_importlibs(msgina secur32)
|
||||||
add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
|
add_importlibs(msgina advapi32 user32 gdi32 powrprof userenv msvcrt kernel32 ntdll)
|
||||||
add_pch(msgina msgina.h CPP_SOURCE)
|
add_pch(msgina msgina.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET msgina DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -88,19 +88,21 @@ list(APPEND SOURCE
|
||||||
task.c
|
task.c
|
||||||
txtrange.c
|
txtrange.c
|
||||||
view.c
|
view.c
|
||||||
xmlhttprequest.c
|
xmlhttprequest.c)
|
||||||
mshtml_private.h)
|
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_asm_files(mshtml_asm msvc.S)
|
add_asm_files(mshtml_asm msvc.S)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c)
|
||||||
|
|
||||||
add_library(mshtml MODULE
|
add_library(mshtml MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
${mshtml_asm}
|
${mshtml_asm}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/mshtml_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
|
${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
|
||||||
|
|
||||||
list(APPEND mshtml_rc_deps
|
list(APPEND mshtml_rc_deps
|
||||||
|
@ -114,5 +116,5 @@ target_link_libraries(mshtml uuid wine strmiids oldnames)
|
||||||
add_delay_importlibs(mshtml wininet)
|
add_delay_importlibs(mshtml wininet)
|
||||||
add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(mshtml urlmon shlwapi shell32 ole32 oleaut32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(mshtml mshtml_nsiface_header)
|
add_dependencies(mshtml mshtml_nsiface_header)
|
||||||
add_pch(mshtml mshtml_private.h SOURCE)
|
add_pch(mshtml mshtml_private.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mshtml DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -54,18 +54,20 @@ list(APPEND SOURCE
|
||||||
tokenize.c
|
tokenize.c
|
||||||
update.c
|
update.c
|
||||||
upgrade.c
|
upgrade.c
|
||||||
where.c
|
where.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
cond.tab.c
|
||||||
|
sql.tab.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/msiserver_i.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/msi_stubs.c)
|
||||||
|
|
||||||
# cond.tab.c/sql.tab.c have been generated with relative file paths...
|
# cond.tab.c/sql.tab.c have been generated with relative file paths...
|
||||||
set_source_files_properties(cond.tab.c sql.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
set_source_files_properties(cond.tab.c sql.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||||
|
|
||||||
add_library(msi MODULE
|
add_library(msi MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
cond.tab.c
|
${PCH_SKIP_SOURCE}
|
||||||
sql.tab.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msiserver_i.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msi_stubs.c
|
|
||||||
msi.rc
|
msi.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/msi.def)
|
||||||
|
|
||||||
|
@ -84,5 +86,5 @@ add_importlibs(msi advapi32 advapi32_vista cabinet comctl32 gdi32 ole32 oleaut32
|
||||||
kernel32
|
kernel32
|
||||||
ntdll)
|
ntdll)
|
||||||
|
|
||||||
add_pch(msi precomp.h SOURCE)
|
add_pch(msi precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET msi DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET msi DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -47,9 +47,13 @@ list(APPEND SOURCE
|
||||||
xmldoc.c
|
xmldoc.c
|
||||||
xmlelem.c
|
xmlelem.c
|
||||||
xmlparser.c
|
xmlparser.c
|
||||||
xmlview.c
|
xmlview.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msxml3_stubs.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
factory.c
|
||||||
|
uuid.c
|
||||||
|
xslpattern.tab.c
|
||||||
|
xslpattern.yy.c)
|
||||||
|
|
||||||
# xslpattern.tab.c/xslpattern.yy.c have been generated with relative file paths...
|
# xslpattern.tab.c/xslpattern.yy.c have been generated with relative file paths...
|
||||||
set_source_files_properties(xslpattern.tab.c xslpattern.yy.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
set_source_files_properties(xslpattern.tab.c xslpattern.yy.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||||
|
@ -64,11 +68,9 @@ set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${msxml3_rc_de
|
||||||
|
|
||||||
add_library(msxml3 MODULE
|
add_library(msxml3 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
xslpattern.tab.c
|
${PCH_SKIP_SOURCE}
|
||||||
xslpattern.yy.c
|
|
||||||
factory.c
|
|
||||||
uuid.c
|
|
||||||
version.rc
|
version.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/msxml3_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
|
${CMAKE_CURRENT_BINARY_DIR}/msxml3.def)
|
||||||
|
|
||||||
add_idl_headers(xmlparser_idlheader xmlparser.idl)
|
add_idl_headers(xmlparser_idlheader xmlparser.idl)
|
||||||
|
@ -76,5 +78,5 @@ set_module_type(msxml3 win32dll)
|
||||||
target_link_libraries(msxml3 libxml2 iconv-static uuid wine zlib)
|
target_link_libraries(msxml3 libxml2 iconv-static uuid wine zlib)
|
||||||
add_importlibs(msxml3 urlmon ws2_32 shlwapi oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(msxml3 urlmon ws2_32 shlwapi oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(msxml3 xmlparser_idlheader stdole2) # msxml3_v1.tlb needs stdole2.tlb
|
add_dependencies(msxml3 xmlparser_idlheader stdole2) # msxml3_v1.tlb needs stdole2.tlb
|
||||||
add_pch(msxml3 precomp.h SOURCE)
|
add_pch(msxml3 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET msxml3 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET msxml3 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -35,24 +35,26 @@ list(APPEND SOURCE
|
||||||
user.c
|
user.c
|
||||||
utils.c
|
utils.c
|
||||||
wksta.c
|
wksta.c
|
||||||
wksta_new.c
|
wksta_new.c)
|
||||||
netapi32.h
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/netapi32_stubs.c)
|
||||||
|
|
||||||
|
add_library(netapi32 MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/atsvc_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/atsvc_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/browser_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/browser_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dssetup_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/dssetup_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/netdfs_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/netdfs_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/netlogon_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/netlogon_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/srvsvc_c.c
|
${CMAKE_CURRENT_BINARY_DIR}/srvsvc_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wkssvc_c.c)
|
${CMAKE_CURRENT_BINARY_DIR}/wkssvc_c.c
|
||||||
|
|
||||||
add_library(netapi32 MODULE
|
|
||||||
${SOURCE}
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/netapi32_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
|
||||||
|
|
||||||
set_module_type(netapi32 win32dll)
|
set_module_type(netapi32 win32dll)
|
||||||
target_link_libraries(netapi32 wine ${PSEH_LIB})
|
target_link_libraries(netapi32 wine ${PSEH_LIB})
|
||||||
add_delay_importlibs(netapi32 samlib secur32)
|
add_delay_importlibs(netapi32 samlib secur32)
|
||||||
add_importlibs(netapi32 iphlpapi ws2_32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
add_importlibs(netapi32 iphlpapi ws2_32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||||
add_pch(netapi32 netapi32.h SOURCE)
|
add_pch(netapi32 netapi32.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET netapi32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET netapi32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -58,25 +58,27 @@ list(APPEND SOURCE
|
||||||
stg_stream.c
|
stg_stream.c
|
||||||
storage32.c
|
storage32.c
|
||||||
stubmanager.c
|
stubmanager.c
|
||||||
usrmarshal.c
|
usrmarshal.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dcom_i.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/irot_c.c)
|
|
||||||
|
|
||||||
if(MSVC AND (ARCH STREQUAL "i386"))
|
if(MSVC AND (ARCH STREQUAL "i386"))
|
||||||
list(APPEND SOURCE msvc-thiscall.c)
|
list(APPEND SOURCE msvc-thiscall.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(ole32 MODULE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
${SOURCE}
|
|
||||||
guid.c
|
guid.c
|
||||||
ole32res.rc
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/dcom_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/dcom_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ole32_objidl_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/ole32_objidl_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ole32_oleidl_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/ole32_oleidl_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ole32_unknwn_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/ole32_unknwn_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ole32_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/ole32_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c)
|
||||||
|
|
||||||
|
add_library(ole32 MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
ole32res.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/dcom_i.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/irot_c.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ole32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/ole32.def)
|
||||||
|
|
||||||
set_module_type(ole32 win32dll)
|
set_module_type(ole32 win32dll)
|
||||||
|
@ -84,5 +86,5 @@ target_link_libraries(ole32 wine uuid ${PSEH_LIB})
|
||||||
add_delay_importlibs(ole32 oleaut32)
|
add_delay_importlibs(ole32 oleaut32)
|
||||||
add_importlibs(ole32 advapi32 user32 gdi32 rpcrt4 msvcrt kernel32 kernel32_vista ntdll)
|
add_importlibs(ole32 advapi32 user32 gdi32 rpcrt4 msvcrt kernel32 kernel32_vista ntdll)
|
||||||
add_dependencies(ole32 ole32idl)
|
add_dependencies(ole32 ole32idl)
|
||||||
add_pch(ole32 precomp.h SOURCE)
|
add_pch(ole32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET ole32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET ole32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -12,9 +12,12 @@ list(APPEND SOURCE
|
||||||
client.c
|
client.c
|
||||||
main.c
|
main.c
|
||||||
propservice.c
|
propservice.c
|
||||||
window.c
|
window.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc_classes_p.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c)
|
||||||
|
|
||||||
add_idl_headers(oleacc_idlheader oleacc_classes.idl)
|
add_idl_headers(oleacc_idlheader oleacc_classes.idl)
|
||||||
add_typelib(oleacc_classes.idl)
|
add_typelib(oleacc_classes.idl)
|
||||||
|
@ -29,15 +32,14 @@ set_source_files_properties(oleacc.rc PROPERTIES OBJECT_DEPENDS "${oleacc_rc_dep
|
||||||
|
|
||||||
add_library(oleacc MODULE
|
add_library(oleacc MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
oleacc.rc
|
oleacc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleacc_classes_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleacc_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
|
${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
|
||||||
|
|
||||||
add_dependencies(oleacc oleacc_idlheader stdole2)
|
add_dependencies(oleacc oleacc_idlheader stdole2)
|
||||||
set_module_type(oleacc win32dll)
|
set_module_type(oleacc win32dll)
|
||||||
target_link_libraries(oleacc uuid wine ${PSEH_LIB})
|
target_link_libraries(oleacc uuid wine ${PSEH_LIB})
|
||||||
add_importlibs(oleacc oleaut32 ole32 user32 rpcrt4 msvcrt kernel32 ntdll)
|
add_importlibs(oleacc oleaut32 ole32 user32 rpcrt4 msvcrt kernel32 ntdll)
|
||||||
add_pch(oleacc precomp.h SOURCE)
|
add_pch(oleacc precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -30,21 +30,23 @@ list(APPEND SOURCE
|
||||||
usrmarshal.c
|
usrmarshal.c
|
||||||
varformat.c
|
varformat.c
|
||||||
variant.c
|
variant.c
|
||||||
vartype.c
|
vartype.c)
|
||||||
precomp.h)
|
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_asm_files(oleaut32_asm msvc.S)
|
add_asm_files(oleaut32_asm msvc.S)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(oleaut32 MODULE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
${SOURCE}
|
|
||||||
${oleaut32_asm}
|
|
||||||
oleaut32.rc
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_oaidl_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_oaidl_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_ocidl_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/oleaut32_ocidl_p.c)
|
||||||
|
|
||||||
|
add_library(oleaut32 MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${oleaut32_asm}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
oleaut32.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/oleaut32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/oleaut32.def)
|
||||||
|
|
||||||
add_idl_headers(oleaut32_idlheader oleaut32_oaidl.idl)
|
add_idl_headers(oleaut32_idlheader oleaut32_oaidl.idl)
|
||||||
|
@ -53,5 +55,5 @@ set_module_type(oleaut32 win32dll)
|
||||||
target_link_libraries(oleaut32 wine wineldr uuid ${PSEH_LIB})
|
target_link_libraries(oleaut32 wine wineldr uuid ${PSEH_LIB})
|
||||||
add_delay_importlibs(oleaut32 comctl32 urlmon windowscodecs)
|
add_delay_importlibs(oleaut32 comctl32 urlmon windowscodecs)
|
||||||
add_importlibs(oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 kernel32_vista msvcrt kernel32 ntdll)
|
add_importlibs(oleaut32 ole32 rpcrt4 user32 gdi32 advapi32 kernel32_vista msvcrt kernel32 ntdll)
|
||||||
add_pch(oleaut32 precomp.h SOURCE)
|
add_pch(oleaut32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET oleaut32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET oleaut32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -39,21 +39,23 @@ list(APPEND SOURCE
|
||||||
rpc_server.c
|
rpc_server.c
|
||||||
rpc_transport.c
|
rpc_transport.c
|
||||||
unix_func.c
|
unix_func.c
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/epm_c.c)
|
${CMAKE_CURRENT_BINARY_DIR}/epm_c.c)
|
||||||
|
|
||||||
if(MSVC AND NOT ARCH STREQUAL "arm")
|
if(MSVC AND NOT ARCH STREQUAL "arm")
|
||||||
add_asm_files(rpcrt4_asm msvc.S)
|
add_asm_files(rpcrt4_asm msvc.S)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(rpcrt4 MODULE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
${SOURCE}
|
|
||||||
ndr_typelib.c
|
ndr_typelib.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ndr_types_p.c
|
${CMAKE_CURRENT_BINARY_DIR}/ndr_types_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/rpcrt4_stubs.c)
|
||||||
|
|
||||||
|
add_library(rpcrt4 MODULE
|
||||||
|
${SOURCE}
|
||||||
${rpcrt4_asm}
|
${rpcrt4_asm}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
rpcrt4.rc
|
rpcrt4.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/rpcrt4_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/rpcrt4.def)
|
${CMAKE_CURRENT_BINARY_DIR}/rpcrt4.def)
|
||||||
|
|
||||||
set_module_type(rpcrt4 win32dll)
|
set_module_type(rpcrt4 win32dll)
|
||||||
|
@ -61,5 +63,5 @@ target_link_libraries(rpcrt4 wine uuid ${PSEH_LIB})
|
||||||
add_delay_importlibs(rpcrt4 iphlpapi wininet secur32 user32 oleaut32)
|
add_delay_importlibs(rpcrt4 iphlpapi wininet secur32 user32 oleaut32)
|
||||||
add_importlibs(rpcrt4 advapi32 advapi32_vista kernel32_vista ws2_32 msvcrt kernel32 ntdll)
|
add_importlibs(rpcrt4 advapi32 advapi32_vista kernel32_vista ws2_32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(rpcrt4 ndr_types_header)
|
add_dependencies(rpcrt4 ndr_types_header)
|
||||||
add_pch(rpcrt4 precomp.h SOURCE)
|
add_pch(rpcrt4 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET rpcrt4 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET rpcrt4 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -8,9 +8,10 @@ add_typelib(scrrun.idl)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
dictionary.c
|
dictionary.c
|
||||||
filesystem.c
|
filesystem.c
|
||||||
scrrun.c
|
scrrun.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/scrrun_stubs.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
list(APPEND scrrun_rc_deps
|
list(APPEND scrrun_rc_deps
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/scrrun.rgs
|
${CMAKE_CURRENT_SOURCE_DIR}/scrrun.rgs
|
||||||
|
@ -21,13 +22,14 @@ set_source_files_properties(scrrun.rc PROPERTIES OBJECT_DEPENDS "${scrrun_rc_dep
|
||||||
|
|
||||||
add_library(scrrun MODULE
|
add_library(scrrun MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
scrrun.rc
|
scrrun.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/scrrun_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/scrrun.def)
|
${CMAKE_CURRENT_BINARY_DIR}/scrrun.def)
|
||||||
|
|
||||||
add_dependencies(scrrun scrrun_idlheader stdole2)
|
add_dependencies(scrrun scrrun_idlheader stdole2)
|
||||||
set_module_type(scrrun win32dll)
|
set_module_type(scrrun win32dll)
|
||||||
target_link_libraries(scrrun uuid wine)
|
target_link_libraries(scrrun uuid wine)
|
||||||
add_importlibs(scrrun oleaut32 version advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(scrrun oleaut32 version advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(scrrun precomp.h SOURCE)
|
add_pch(scrrun precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET scrrun DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET scrrun DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -29,19 +29,21 @@ list(APPEND SOURCE
|
||||||
setupcab.c
|
setupcab.c
|
||||||
stringtable.c
|
stringtable.c
|
||||||
stubs.c
|
stubs.c
|
||||||
rpc.c
|
rpc.c)
|
||||||
setupapi_private.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/pnp_c.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/setupapi_stubs.c)
|
||||||
|
|
||||||
add_library(setupapi MODULE
|
add_library(setupapi MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/pnp_c.c
|
||||||
setupapi.rc
|
setupapi.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/setupapi_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
|
||||||
|
|
||||||
set_module_type(setupapi win32dll UNICODE)
|
set_module_type(setupapi win32dll UNICODE)
|
||||||
target_link_libraries(setupapi uuid wine ${PSEH_LIB})
|
target_link_libraries(setupapi uuid wine ${PSEH_LIB})
|
||||||
add_delay_importlibs(setupapi comdlg32 shell32 winspool.drv wintrust)
|
add_delay_importlibs(setupapi comdlg32 shell32 winspool.drv wintrust)
|
||||||
add_importlibs(setupapi gdi32 comctl32 advapi32 user32 rpcrt4 version msvcrt kernel32 ntdll)
|
add_importlibs(setupapi gdi32 comctl32 advapi32 user32 rpcrt4 version msvcrt kernel32 ntdll)
|
||||||
add_pch(setupapi setupapi_private.h SOURCE)
|
add_pch(setupapi setupapi_private.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET setupapi DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET setupapi DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -86,15 +86,9 @@ list(APPEND SOURCE
|
||||||
CShellDispatch.cpp
|
CShellDispatch.cpp
|
||||||
CFolder.cpp
|
CFolder.cpp
|
||||||
CFolderItems.cpp
|
CFolderItems.cpp
|
||||||
CFolderItemVerbs.cpp
|
CFolderItemVerbs.cpp)
|
||||||
precomp.h)
|
|
||||||
|
|
||||||
file(GLOB_RECURSE shell32_rc_deps res/*.*)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
list(APPEND shell32_rc_deps ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
|
|
||||||
add_rc_deps(shell32.rc ${shell32_rc_deps})
|
|
||||||
|
|
||||||
add_library(shell32 MODULE
|
|
||||||
${SOURCE}
|
|
||||||
wine/appbar.c
|
wine/appbar.c
|
||||||
wine/brsfolder.c
|
wine/brsfolder.c
|
||||||
wine/classes.c
|
wine/classes.c
|
||||||
|
@ -110,10 +104,17 @@ add_library(shell32 MODULE
|
||||||
wine/shlmenu.c
|
wine/shlmenu.c
|
||||||
wine/shpolicy.c
|
wine/shpolicy.c
|
||||||
vista.c
|
vista.c
|
||||||
shell32.rc
|
${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c)
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shell32_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
|
||||||
|
|
||||||
|
file(GLOB_RECURSE shell32_rc_deps res/*.*)
|
||||||
|
list(APPEND shell32_rc_deps ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
|
||||||
|
add_rc_deps(shell32.rc ${shell32_rc_deps})
|
||||||
|
|
||||||
|
add_library(shell32 MODULE
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
shell32.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
||||||
|
|
||||||
add_typelib(shell32_shldisp.idl)
|
add_typelib(shell32_shldisp.idl)
|
||||||
set_source_files_properties(shell32.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
|
set_source_files_properties(shell32.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/shell32_shldisp.tlb)
|
||||||
|
@ -123,5 +124,5 @@ target_link_libraries(shell32 shellmenu shelldesktop wine uuid recyclebin)
|
||||||
add_delay_importlibs(shell32 powrprof shdocvw devmgr winspool.drv winmm mpr uxtheme ole32 oleaut32 userenv browseui version fmifs)
|
add_delay_importlibs(shell32 powrprof shdocvw devmgr winspool.drv winmm mpr uxtheme ole32 oleaut32 userenv browseui version fmifs)
|
||||||
add_importlibs(shell32 advapi32 gdi32 user32 comctl32 comdlg32 shlwapi msvcrt kernel32 ntdll)
|
add_importlibs(shell32 advapi32 gdi32 user32 comctl32 comdlg32 shlwapi msvcrt kernel32 ntdll)
|
||||||
add_dependencies(shell32 stdole2) # shell32_shldisp.tlb needs stdole2.tlb
|
add_dependencies(shell32 stdole2) # shell32_shldisp.tlb needs stdole2.tlb
|
||||||
add_pch(shell32 precomp.h SOURCE)
|
add_pch(shell32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET shell32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -25,19 +25,21 @@ list(APPEND SOURCE
|
||||||
stopwatch.c
|
stopwatch.c
|
||||||
string.c
|
string.c
|
||||||
thread.c
|
thread.c
|
||||||
url.c
|
url.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
wsprintf.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/shlwapi_stubs.c)
|
||||||
|
|
||||||
add_library(shlwapi MODULE
|
add_library(shlwapi MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
shlwapi.rc
|
shlwapi.rc
|
||||||
wsprintf.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shlwapi_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/shlwapi.def)
|
||||||
|
|
||||||
set_module_type(shlwapi win32dll)
|
set_module_type(shlwapi win32dll)
|
||||||
target_link_libraries(shlwapi uuid wine)
|
target_link_libraries(shlwapi uuid wine)
|
||||||
add_delay_importlibs(shlwapi userenv oleaut32 ole32 comdlg32 mpr mlang urlmon shell32 winmm version)
|
add_delay_importlibs(shlwapi userenv oleaut32 ole32 comdlg32 mpr mlang urlmon shell32 winmm version)
|
||||||
add_importlibs(shlwapi user32 gdi32 advapi32 wininet msvcrt kernel32 ntdll)
|
add_importlibs(shlwapi user32 gdi32 advapi32 wininet msvcrt kernel32 ntdll)
|
||||||
add_pch(shlwapi precomp.h SOURCE)
|
add_pch(shlwapi precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET shlwapi DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET shlwapi DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -11,19 +11,21 @@ add_rpcproxy_files(sti_wia.idl)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
sti.c
|
sti.c
|
||||||
sti_main.c
|
sti_main.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c)
|
guid.c)
|
||||||
|
|
||||||
add_library(sti MODULE
|
add_library(sti MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
sti.rc
|
sti.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/sti_wia_p.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/sti.def)
|
${CMAKE_CURRENT_BINARY_DIR}/sti.def)
|
||||||
|
|
||||||
set_module_type(sti win32dll)
|
set_module_type(sti win32dll)
|
||||||
target_link_libraries(sti wine uuid ${PSEH_LIB})
|
target_link_libraries(sti wine uuid ${PSEH_LIB})
|
||||||
add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
|
add_importlibs(sti ole32 oleaut32 rpcrt4 advapi32 msvcrt kernel32 ntdll)
|
||||||
add_pch(sti precomp.h SOURCE)
|
add_pch(sti precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET sti DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -6,17 +6,19 @@ spec2def(sxs.dll sxs.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
cache.c
|
cache.c
|
||||||
name.c
|
name.c
|
||||||
sxs.c
|
sxs.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(sxs MODULE
|
add_library(sxs MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/sxs_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
|
${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
|
||||||
|
|
||||||
set_module_type(sxs win32dll)
|
set_module_type(sxs win32dll)
|
||||||
target_link_libraries(sxs wine)
|
target_link_libraries(sxs wine)
|
||||||
add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
|
add_importlibs(sxs oleaut32 ole32 msvcrt kernel32 ntdll)
|
||||||
add_pch(sxs precomp.h SOURCE)
|
add_pch(sxs precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET sxs DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -41,20 +41,22 @@ list(APPEND SOURCE
|
||||||
umstream.c
|
umstream.c
|
||||||
uri.c
|
uri.c
|
||||||
urlmon_main.c
|
urlmon_main.c
|
||||||
usrmarshal.c
|
usrmarshal.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/urlmon_urlmon_p.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c)
|
||||||
|
|
||||||
add_library(urlmon MODULE
|
add_library(urlmon MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
urlmon.rc
|
urlmon.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/urlmon_urlmon_p.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/urlmon_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
|
${CMAKE_CURRENT_BINARY_DIR}/urlmon.def)
|
||||||
|
|
||||||
set_module_type(urlmon win32dll)
|
set_module_type(urlmon win32dll)
|
||||||
target_link_libraries(urlmon uuid wine ${PSEH_LIB})
|
target_link_libraries(urlmon uuid wine ${PSEH_LIB})
|
||||||
add_delay_importlibs(urlmon advpack)
|
add_delay_importlibs(urlmon advpack)
|
||||||
add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 kernel32_vista msvcrt kernel32 ntdll)
|
add_importlibs(urlmon rpcrt4 propsys ole32 oleaut32 shlwapi shell32 wininet user32 advapi32 kernel32_vista msvcrt kernel32 ntdll)
|
||||||
add_pch(urlmon precomp.h SOURCE)
|
add_pch(urlmon precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET urlmon DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET urlmon DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -11,17 +11,19 @@ list(APPEND SOURCE
|
||||||
registry.c
|
registry.c
|
||||||
setup.c
|
setup.c
|
||||||
sid.c
|
sid.c
|
||||||
userenv.c
|
userenv.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c)
|
||||||
|
|
||||||
add_library(userenv MODULE
|
add_library(userenv MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
userenv.rc
|
userenv.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/userenv_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
|
${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
|
||||||
|
|
||||||
set_module_type(userenv win32dll)
|
set_module_type(userenv win32dll)
|
||||||
target_link_libraries(userenv uuid)
|
target_link_libraries(userenv uuid)
|
||||||
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(userenv precomp.h SOURCE)
|
add_pch(userenv precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -13,8 +13,10 @@ list(APPEND SOURCE
|
||||||
vbdisp.c
|
vbdisp.c
|
||||||
vbregexp.c
|
vbregexp.c
|
||||||
vbscript.c
|
vbscript.c
|
||||||
vbscript_main.c
|
vbscript_main.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
parser.tab.c)
|
||||||
|
|
||||||
# parser.tab.c has been generated with relative file paths...
|
# parser.tab.c has been generated with relative file paths...
|
||||||
set_source_files_properties(parser.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
set_source_files_properties(parser.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||||
|
@ -34,7 +36,7 @@ add_typelib(vbsglobal.idl vbsregexp10.idl vbsregexp55.idl)
|
||||||
|
|
||||||
add_library(vbscript MODULE
|
add_library(vbscript MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
parser.tab.c
|
${PCH_SKIP_SOURCE}
|
||||||
vbscript.rc
|
vbscript.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/vbscript.def)
|
${CMAKE_CURRENT_BINARY_DIR}/vbscript.def)
|
||||||
|
|
||||||
|
@ -42,5 +44,5 @@ set_module_type(vbscript win32dll)
|
||||||
target_link_libraries(vbscript uuid wine)
|
target_link_libraries(vbscript uuid wine)
|
||||||
add_importlibs(vbscript oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(vbscript oleaut32 ole32 user32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(vbscript vbscript_idlheader stdole2)
|
add_dependencies(vbscript vbscript_idlheader stdole2)
|
||||||
add_pch(vbscript precomp.h SOURCE)
|
add_pch(vbscript precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET vbscript DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET vbscript DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -5,8 +5,10 @@ spec2def(wbemdisp.dll wbemdisp.spec)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
locator.c
|
locator.c
|
||||||
main.c
|
main.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_idl_headers(wbemdisp_idlheader wbemdisp_classes.idl)
|
add_idl_headers(wbemdisp_idlheader wbemdisp_classes.idl)
|
||||||
add_typelib(wbemdisp_tlb.idl)
|
add_typelib(wbemdisp_tlb.idl)
|
||||||
|
@ -20,7 +22,7 @@ set_source_files_properties(wbemdisp.rc PROPERTIES OBJECT_DEPENDS "${wbemdisp_rc
|
||||||
|
|
||||||
add_library(wbemdisp MODULE
|
add_library(wbemdisp MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
wbemdisp.rc
|
wbemdisp.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wbemdisp.def)
|
${CMAKE_CURRENT_BINARY_DIR}/wbemdisp.def)
|
||||||
|
|
||||||
|
@ -28,5 +30,5 @@ set_module_type(wbemdisp win32dll)
|
||||||
target_link_libraries(wbemdisp uuid wine)
|
target_link_libraries(wbemdisp uuid wine)
|
||||||
add_dependencies(wbemdisp stdole2 wbemdisp_idlheader)
|
add_dependencies(wbemdisp stdole2 wbemdisp_idlheader)
|
||||||
add_importlibs(wbemdisp oleaut32 ole32 msvcrt kernel32 ntdll)
|
add_importlibs(wbemdisp oleaut32 ole32 msvcrt kernel32 ntdll)
|
||||||
add_pch(wbemdisp precomp.h SOURCE)
|
add_pch(wbemdisp precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET wbemdisp DESTINATION reactos/system32/wbem FOR all)
|
add_cd_file(TARGET wbemdisp DESTINATION reactos/system32/wbem FOR all)
|
||||||
|
|
|
@ -18,16 +18,18 @@ list(APPEND SOURCE
|
||||||
service.c
|
service.c
|
||||||
services.c
|
services.c
|
||||||
table.c
|
table.c
|
||||||
wbemlocator.c
|
wbemlocator.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
wql.tab.c)
|
||||||
|
|
||||||
# wql.tab.c has been generated with relative file paths...
|
# wql.tab.c has been generated with relative file paths...
|
||||||
set_source_files_properties(wql.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
set_source_files_properties(wql.tab.c PROPERTIES COMPILE_FLAGS "-UREACTOS_SOURCE_DIR -DREACTOS_SOURCE_DIR=\"\\\".\\\"\"")
|
||||||
|
|
||||||
add_library(wbemprox MODULE
|
add_library(wbemprox MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
wql.tab.c
|
${PCH_SKIP_SOURCE}
|
||||||
guid.c
|
|
||||||
wbemprox.rc
|
wbemprox.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wbemprox.def)
|
${CMAKE_CURRENT_BINARY_DIR}/wbemprox.def)
|
||||||
|
|
||||||
|
@ -36,5 +38,5 @@ set_module_type(wbemprox win32dll)
|
||||||
target_link_libraries(wbemprox uuid wine)
|
target_link_libraries(wbemprox uuid wine)
|
||||||
add_importlibs(wbemprox iphlpapi oleaut32 advapi32 user32 gdi32 version winspool ws2_32 rpcrt4 setupapi msvcrt kernel32 ntdll)
|
add_importlibs(wbemprox iphlpapi oleaut32 advapi32 user32 gdi32 version winspool ws2_32 rpcrt4 setupapi msvcrt kernel32 ntdll)
|
||||||
add_dependencies(wbemprox d3d_idl_headers)
|
add_dependencies(wbemprox d3d_idl_headers)
|
||||||
add_pch(wbemprox precomp.h SOURCE)
|
add_pch(wbemprox precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET wbemprox DESTINATION reactos/system32/wbem FOR all)
|
add_cd_file(TARGET wbemprox DESTINATION reactos/system32/wbem FOR all)
|
||||||
|
|
|
@ -55,33 +55,32 @@ list(APPEND SOURCE
|
||||||
stream.c
|
stream.c
|
||||||
tgaformat.c
|
tgaformat.c
|
||||||
tiffformat.c
|
tiffformat.c
|
||||||
ungif.c
|
ungif.c)
|
||||||
precomp.h)
|
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
list(APPEND SOURCE msvc-thiscall.c)
|
list(APPEND SOURCE msvc-thiscall.c)
|
||||||
endif()
|
endif()
|
||||||
set_source_files_properties(bitmap.c PROPERTIES COMPILE_FLAGS "/FImsvc.h")
|
set_source_files_properties(bitmap.c PROPERTIES COMPILE_FLAGS "/FImsvc.h")
|
||||||
list(APPEND ADDITIONAL_SOURCE bitmap.c)
|
list(APPEND PCH_SKIP_SOURCE bitmap.c)
|
||||||
else()
|
else()
|
||||||
list(APPEND SOURCE bitmap.c)
|
list(APPEND SOURCE bitmap.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
list(APPEND ADDITIONAL_SOURCE
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
guid.c
|
guid.c
|
||||||
version.rc
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs_stubs.c
|
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs_wincodec_p.c)
|
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs_wincodec_p.c)
|
||||||
|
|
||||||
add_library(windowscodecs MODULE
|
add_library(windowscodecs MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
${ADDITIONAL_SOURCE})
|
${PCH_SKIP_SOURCE}
|
||||||
|
version.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def)
|
||||||
|
|
||||||
set_module_type(windowscodecs win32dll)
|
set_module_type(windowscodecs win32dll)
|
||||||
target_link_libraries(windowscodecs wine uuid ${PSEH_LIB})
|
target_link_libraries(windowscodecs wine uuid ${PSEH_LIB})
|
||||||
add_importlibs(windowscodecs ole32 oleaut32 rpcrt4 shlwapi user32 gdi32 advapi32 advapi32_vista propsys msvcrt kernel32 ntdll)
|
add_importlibs(windowscodecs ole32 oleaut32 rpcrt4 shlwapi user32 gdi32 advapi32 advapi32_vista propsys msvcrt kernel32 ntdll)
|
||||||
add_pch(windowscodecs precomp.h SOURCE)
|
add_pch(windowscodecs precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET windowscodecs DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET windowscodecs DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -21,18 +21,20 @@ list(APPEND SOURCE
|
||||||
internet.c
|
internet.c
|
||||||
netconnection.c
|
netconnection.c
|
||||||
urlcache.c
|
urlcache.c
|
||||||
utility.c
|
utility.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/wininet_stubs.c)
|
||||||
|
|
||||||
add_library(wininet MODULE
|
add_library(wininet MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc
|
rsrc.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wininet_stubs.c
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
|
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
|
||||||
|
|
||||||
set_module_type(wininet win32dll)
|
set_module_type(wininet win32dll)
|
||||||
target_link_libraries(wininet wine ${PSEH_LIB} zlib)
|
target_link_libraries(wininet wine ${PSEH_LIB} zlib)
|
||||||
add_delay_importlibs(wininet secur32 crypt32 cryptui)
|
add_delay_importlibs(wininet secur32 crypt32 cryptui)
|
||||||
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 ws2_32 normaliz kernel32_vista msvcrt kernel32 ntdll)
|
add_importlibs(wininet mpr shlwapi shell32 user32 advapi32 ws2_32 normaliz kernel32_vista msvcrt kernel32 ntdll)
|
||||||
add_pch(wininet precomp.h SOURCE)
|
add_pch(wininet precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET wininet DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -22,18 +22,20 @@ list(APPEND SOURCE
|
||||||
parse.c
|
parse.c
|
||||||
rename.c
|
rename.c
|
||||||
search.c
|
search.c
|
||||||
value.c
|
value.c)
|
||||||
precomp.h
|
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
ber.c)
|
||||||
|
|
||||||
add_library(wldap32 MODULE
|
add_library(wldap32 MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
ber.c
|
${PCH_SKIP_SOURCE}
|
||||||
wldap32.rc
|
wldap32.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/wldap32_stubs.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
|
${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
|
||||||
|
|
||||||
set_module_type(wldap32 win32dll)
|
set_module_type(wldap32 win32dll)
|
||||||
target_link_libraries(wldap32 wine)
|
target_link_libraries(wldap32 wine)
|
||||||
add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(wldap32 precomp.h SOURCE)
|
add_pch(wldap32 precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -11,12 +11,14 @@ add_typelib(wshom.idl)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
shell.c
|
shell.c
|
||||||
wshom_main.c
|
wshom_main.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(wshom MODULE
|
add_library(wshom MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
wshom.rc
|
wshom.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wshom.def)
|
${CMAKE_CURRENT_BINARY_DIR}/wshom.def)
|
||||||
|
|
||||||
|
@ -30,5 +32,5 @@ set_module_type(wshom win32ocx)
|
||||||
target_link_libraries(wshom uuid wine)
|
target_link_libraries(wshom uuid wine)
|
||||||
add_importlibs(wshom oleaut32 ole32 shell32 advapi32 advapi32_vista user32 msvcrt kernel32 ntdll)
|
add_importlibs(wshom oleaut32 ole32 shell32 advapi32 advapi32_vista user32 msvcrt kernel32 ntdll)
|
||||||
add_dependencies(wshom stdole2 wshom_idlheader)
|
add_dependencies(wshom stdole2 wshom_idlheader)
|
||||||
add_pch(wshom precomp.h SOURCE)
|
add_pch(wshom precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET wshom DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET wshom DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -169,15 +169,17 @@ list(APPEND ACPICA_SOURCE
|
||||||
acpica/utilities/utxface.c
|
acpica/utilities/utxface.c
|
||||||
acpica/utilities/utxferror.c
|
acpica/utilities/utxferror.c
|
||||||
acpica/utilities/utxfinit.c
|
acpica/utilities/utxfinit.c
|
||||||
acpica/utilities/utxfmutex.c
|
acpica/utilities/utxfmutex.c)
|
||||||
acpica/include/acpi.h)
|
|
||||||
|
|
||||||
add_library(acpica
|
list(APPEND ACPICA_PCH_SKIP_SOURCE
|
||||||
${ACPICA_SOURCE}
|
|
||||||
acpica/utilities/utexcep.c
|
acpica/utilities/utexcep.c
|
||||||
acpica/utilities/utglobal.c)
|
acpica/utilities/utglobal.c)
|
||||||
|
|
||||||
add_pch(acpica acpica/include/acpi.h ACPICA_SOURCE)
|
add_library(acpica
|
||||||
|
${ACPICA_SOURCE}
|
||||||
|
${ACPICA_PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
|
add_pch(acpica acpica/include/acpi.h "${ACPICA_PCH_SKIP_SOURCE}")
|
||||||
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE;ACPI_USE_SYSTEM_INTTYPES")
|
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE;ACPI_USE_SYSTEM_INTTYPES")
|
||||||
add_dependencies(acpica bugcodes xdk)
|
add_dependencies(acpica bugcodes xdk)
|
||||||
|
|
||||||
|
@ -194,8 +196,7 @@ list(APPEND ACPI_SOURCE
|
||||||
pnp.c
|
pnp.c
|
||||||
power.c
|
power.c
|
||||||
buspdo.c
|
buspdo.c
|
||||||
main.c
|
main.c)
|
||||||
precomp.h)
|
|
||||||
|
|
||||||
add_library(acpi MODULE ${ACPI_SOURCE})
|
add_library(acpi MODULE ${ACPI_SOURCE})
|
||||||
set_module_type(acpi kernelmodedriver)
|
set_module_type(acpi kernelmodedriver)
|
||||||
|
|
|
@ -3,15 +3,17 @@ list(APPEND SOURCE
|
||||||
cmbatt.c
|
cmbatt.c
|
||||||
cmexec.c
|
cmexec.c
|
||||||
cmbpnp.c
|
cmbpnp.c
|
||||||
cmbwmi.c
|
cmbwmi.c)
|
||||||
cmbatt.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(cmbatt MODULE
|
add_library(cmbatt MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
cmbatt.rc)
|
cmbatt.rc)
|
||||||
|
|
||||||
set_module_type(cmbatt kernelmodedriver)
|
set_module_type(cmbatt kernelmodedriver)
|
||||||
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
|
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
|
||||||
add_pch(cmbatt cmbatt.h SOURCE)
|
add_pch(cmbatt cmbatt.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -2,15 +2,17 @@
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
compbatt.c
|
compbatt.c
|
||||||
compmisc.c
|
compmisc.c
|
||||||
comppnp.c
|
comppnp.c)
|
||||||
compbatt.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(compbatt MODULE
|
add_library(compbatt MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
compbatt.rc)
|
compbatt.rc)
|
||||||
|
|
||||||
set_module_type(compbatt kernelmodedriver)
|
set_module_type(compbatt kernelmodedriver)
|
||||||
add_importlibs(compbatt ntoskrnl hal battc)
|
add_importlibs(compbatt ntoskrnl hal battc)
|
||||||
add_pch(compbatt compbatt.h SOURCE)
|
add_pch(compbatt compbatt.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -36,17 +36,19 @@ list(APPEND SOURCE
|
||||||
pdo.c
|
pdo.c
|
||||||
power.c
|
power.c
|
||||||
usage.c
|
usage.c
|
||||||
utils.c
|
utils.c)
|
||||||
pci.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(pcix MODULE
|
add_library(pcix MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
pci.rc)
|
pci.rc)
|
||||||
|
|
||||||
set_module_type(pcix kernelmodedriver)
|
set_module_type(pcix kernelmodedriver)
|
||||||
target_link_libraries(pcix arbiter)
|
target_link_libraries(pcix arbiter)
|
||||||
add_importlibs(pcix ntoskrnl hal)
|
add_importlibs(pcix ntoskrnl hal)
|
||||||
add_pch(pcix pci.h SOURCE)
|
add_pch(pcix pci.h "${PCH_SKIP_SOURCE}")
|
||||||
add_dependencies(pcix pciclass)
|
add_dependencies(pcix pciclass)
|
||||||
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -4,16 +4,18 @@ spec2def(hidclass.sys hidclass.spec ADD_IMPORTLIB)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
fdo.c
|
fdo.c
|
||||||
hidclass.c
|
hidclass.c
|
||||||
pdo.c
|
pdo.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(hidclass MODULE
|
add_library(hidclass MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
hidclass.rc
|
hidclass.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
|
${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
|
||||||
|
|
||||||
set_module_type(hidclass kernelmodedriver ENTRYPOINT 0)
|
set_module_type(hidclass kernelmodedriver ENTRYPOINT 0)
|
||||||
add_importlibs(hidclass ntoskrnl hidparse hal)
|
add_importlibs(hidclass ntoskrnl hidparse hal)
|
||||||
add_pch(hidclass precomp.h SOURCE)
|
add_pch(hidclass precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,16 +1,18 @@
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
kbdclass.c
|
kbdclass.c
|
||||||
misc.c
|
misc.c)
|
||||||
kbdclass.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(kbdclass MODULE
|
add_library(kbdclass MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
kbdclass.rc)
|
kbdclass.rc)
|
||||||
|
|
||||||
set_module_type(kbdclass kernelmodedriver)
|
set_module_type(kbdclass kernelmodedriver)
|
||||||
add_pch(kbdclass kbdclass.h SOURCE)
|
add_pch(kbdclass kbdclass.h "${PCH_SKIP_SOURCE}")
|
||||||
target_link_libraries(kbdclass ${PSEH_LIB})
|
target_link_libraries(kbdclass ${PSEH_LIB})
|
||||||
add_importlibs(kbdclass ntoskrnl hal)
|
add_importlibs(kbdclass ntoskrnl hal)
|
||||||
add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -1,17 +1,19 @@
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
mouclass.c
|
mouclass.c)
|
||||||
mouclass.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(mouclass MODULE
|
add_library(mouclass MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
mouclass.rc)
|
mouclass.rc)
|
||||||
|
|
||||||
set_module_type(mouclass kernelmodedriver)
|
set_module_type(mouclass kernelmodedriver)
|
||||||
target_link_libraries(mouclass ${PSEH_LIB})
|
target_link_libraries(mouclass ${PSEH_LIB})
|
||||||
add_importlibs(mouclass ntoskrnl hal)
|
add_importlibs(mouclass ntoskrnl hal)
|
||||||
add_pch(mouclass mouclass.h SOURCE)
|
add_pch(mouclass mouclass.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
|
||||||
add_registry_inf(mouclass_reg.inf)
|
add_registry_inf(mouclass_reg.inf)
|
||||||
|
|
|
@ -4,15 +4,17 @@ list(APPEND SOURCE
|
||||||
fdo.c
|
fdo.c
|
||||||
misc.c
|
misc.c
|
||||||
pdo.c
|
pdo.c
|
||||||
serenum.c
|
serenum.c)
|
||||||
serenum.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(serenum MODULE
|
add_library(serenum MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
serenum.rc)
|
serenum.rc)
|
||||||
|
|
||||||
add_pch(serenum serenum.h SOURCE)
|
add_pch(serenum serenum.h "${PCH_SKIP_SOURCE}")
|
||||||
set_module_type(serenum kernelmodedriver)
|
set_module_type(serenum kernelmodedriver)
|
||||||
add_importlibs(serenum ntoskrnl hal)
|
add_importlibs(serenum ntoskrnl hal)
|
||||||
add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -11,15 +11,17 @@ list(APPEND SOURCE
|
||||||
pnp.c
|
pnp.c
|
||||||
power.c
|
power.c
|
||||||
rw.c
|
rw.c
|
||||||
serial.c
|
serial.c)
|
||||||
serial.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(serial MODULE
|
add_library(serial MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
serial.rc)
|
serial.rc)
|
||||||
|
|
||||||
set_module_type(serial kernelmodedriver)
|
set_module_type(serial kernelmodedriver)
|
||||||
add_importlibs(serial ntoskrnl hal)
|
add_importlibs(serial ntoskrnl hal)
|
||||||
add_pch(serial serial.h SOURCE)
|
add_pch(serial serial.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET serial DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET serial DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -24,16 +24,18 @@ list(APPEND SOURCE
|
||||||
power.c
|
power.c
|
||||||
retry.c
|
retry.c
|
||||||
utils.c
|
utils.c
|
||||||
xferpkt.c
|
xferpkt.c)
|
||||||
classp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(classpnp MODULE
|
add_library(classpnp MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
class.rc
|
class.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
|
${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
|
||||||
|
|
||||||
add_pch(classpnp classp.h SOURCE)
|
add_pch(classpnp classp.h "${PCH_SKIP_SOURCE}")
|
||||||
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
|
||||||
set_module_type(classpnp kernelmodedriver)
|
set_module_type(classpnp kernelmodedriver)
|
||||||
add_importlibs(classpnp hal ntoskrnl)
|
add_importlibs(classpnp hal ntoskrnl)
|
||||||
|
|
|
@ -7,16 +7,18 @@ list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
pdo.c
|
pdo.c
|
||||||
storport.c
|
storport.c
|
||||||
stubs.c
|
stubs.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(storport MODULE
|
add_library(storport MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
storport.rc
|
storport.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/storport.def)
|
${CMAKE_CURRENT_BINARY_DIR}/storport.def)
|
||||||
|
|
||||||
add_pch(storport precomp.h SOURCE)
|
add_pch(storport precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
set_module_type(storport kernelmodedriver)
|
set_module_type(storport kernelmodedriver)
|
||||||
add_importlibs(storport ntoskrnl hal)
|
add_importlibs(storport ntoskrnl hal)
|
||||||
add_cd_file(TARGET storport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET storport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -11,16 +11,18 @@ list(APPEND SOURCE
|
||||||
function.c
|
function.c
|
||||||
misc.c
|
misc.c
|
||||||
pdo.c
|
pdo.c
|
||||||
usbccgp.c
|
usbccgp.c)
|
||||||
usbccgp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(usbccgp MODULE
|
add_library(usbccgp MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
usbccgp.rc)
|
usbccgp.rc)
|
||||||
|
|
||||||
target_link_libraries(usbccgp ${PSEH_LIB})
|
target_link_libraries(usbccgp ${PSEH_LIB})
|
||||||
set_module_type(usbccgp kernelmodedriver)
|
set_module_type(usbccgp kernelmodedriver)
|
||||||
add_importlibs(usbccgp ntoskrnl hal usbd)
|
add_importlibs(usbccgp ntoskrnl hal usbd)
|
||||||
add_pch(usbccgp usbccgp.h SOURCE)
|
add_pch(usbccgp usbccgp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -7,16 +7,18 @@ list(APPEND SOURCE
|
||||||
ioctl.c
|
ioctl.c
|
||||||
pnp.c
|
pnp.c
|
||||||
power.c
|
power.c
|
||||||
usbhub.c
|
usbhub.c)
|
||||||
usbhub.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(usbhub MODULE
|
add_library(usbhub MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
usbhub.rc)
|
usbhub.rc)
|
||||||
|
|
||||||
target_link_libraries(usbhub ${PSEH_LIB})
|
target_link_libraries(usbhub ${PSEH_LIB})
|
||||||
set_module_type(usbhub kernelmodedriver)
|
set_module_type(usbhub kernelmodedriver)
|
||||||
add_importlibs(usbhub ntoskrnl hal wmilib usbd)
|
add_importlibs(usbhub ntoskrnl hal wmilib usbd)
|
||||||
add_pch(usbhub usbhub.h SOURCE)
|
add_pch(usbhub usbhub.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -15,16 +15,18 @@ list(APPEND SOURCE
|
||||||
trfsplit.c
|
trfsplit.c
|
||||||
urb.c
|
urb.c
|
||||||
usb2.c
|
usb2.c
|
||||||
usbport.c
|
usbport.c)
|
||||||
usbport.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(usbport MODULE
|
add_library(usbport MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
usbport.rc
|
usbport.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/usbport.def)
|
${CMAKE_CURRENT_BINARY_DIR}/usbport.def)
|
||||||
|
|
||||||
add_pch(usbport usbport.h SOURCE)
|
add_pch(usbport usbport.h "${PCH_SKIP_SOURCE}")
|
||||||
set_module_type(usbport kernelmodedriver)
|
set_module_type(usbport kernelmodedriver)
|
||||||
add_importlibs(usbport ntoskrnl hal)
|
add_importlibs(usbport ntoskrnl hal)
|
||||||
add_cd_file(TARGET usbport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbport DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
|
|
|
@ -11,16 +11,18 @@ list(APPEND SOURCE
|
||||||
queue.c
|
queue.c
|
||||||
error.c
|
error.c
|
||||||
scsi.c
|
scsi.c
|
||||||
usbstor.c
|
usbstor.c)
|
||||||
usbstor.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c)
|
||||||
|
|
||||||
add_library(usbstor MODULE
|
add_library(usbstor MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
usbstor.rc)
|
usbstor.rc)
|
||||||
|
|
||||||
set_module_type(usbstor kernelmodedriver)
|
set_module_type(usbstor kernelmodedriver)
|
||||||
add_importlibs(usbstor ntoskrnl hal usbd)
|
add_importlibs(usbstor ntoskrnl hal usbd)
|
||||||
add_pch(usbstor usbstor.h SOURCE)
|
add_pch(usbstor usbstor.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
||||||
add_driver_inf(usbstor usbstor.inf)
|
add_driver_inf(usbstor usbstor.inf)
|
||||||
|
|
|
@ -46,12 +46,14 @@ list(APPEND SOURCE
|
||||||
service_group.cpp
|
service_group.cpp
|
||||||
undoc.cpp
|
undoc.cpp
|
||||||
unregister.cpp
|
unregister.cpp
|
||||||
version.cpp
|
version.cpp)
|
||||||
private.hpp)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.cpp)
|
||||||
|
|
||||||
add_library(portcls MODULE
|
add_library(portcls MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.cpp
|
${PCH_SKIP_SOURCE}
|
||||||
portcls.rc
|
portcls.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/portcls.def)
|
${CMAKE_CURRENT_BINARY_DIR}/portcls.def)
|
||||||
|
|
||||||
|
@ -61,6 +63,6 @@ endif()
|
||||||
|
|
||||||
target_link_libraries(portcls libcntpr ${PSEH_LIB})
|
target_link_libraries(portcls libcntpr ${PSEH_LIB})
|
||||||
set_module_type(portcls kernelmodedriver ENTRYPOINT 0 )
|
set_module_type(portcls kernelmodedriver ENTRYPOINT 0 )
|
||||||
add_pch(portcls private.hpp SOURCE)
|
add_pch(portcls private.hpp "${PCH_SKIP_SOURCE}")
|
||||||
add_importlibs(portcls ntoskrnl ks drmk hal)
|
add_importlibs(portcls ntoskrnl ks drmk hal)
|
||||||
add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
|
@ -12,12 +12,14 @@ list(APPEND SOURCE
|
||||||
adapter.cpp
|
adapter.cpp
|
||||||
common.cpp
|
common.cpp
|
||||||
mintopo.cpp
|
mintopo.cpp
|
||||||
minwave.cpp
|
minwave.cpp)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.cpp)
|
||||||
|
|
||||||
add_library(cmipci MODULE
|
add_library(cmipci MODULE
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.cpp
|
${PCH_SKIP_SOURCE}
|
||||||
cmipci.rc)
|
cmipci.rc)
|
||||||
|
|
||||||
target_link_libraries(cmipci stdunk libcntpr uuid)
|
target_link_libraries(cmipci stdunk libcntpr uuid)
|
||||||
|
@ -28,7 +30,7 @@ if(USE_CLANG_CL OR (NOT MSVC))
|
||||||
target_compile_options(cmipci PRIVATE -Wno-write-strings -Wno-switch)
|
target_compile_options(cmipci PRIVATE -Wno-write-strings -Wno-switch)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_pch(cmipci precomp.h SOURCE)
|
add_pch(cmipci precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_cd_file(TARGET cmipci DESTINATION reactos/system32/drivers FOR all)
|
add_cd_file(TARGET cmipci DESTINATION reactos/system32/drivers FOR all)
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
|
|
|
@ -39,23 +39,24 @@ list(APPEND SOURCE
|
||||||
utility/utility.cpp
|
utility/utility.cpp
|
||||||
utility/xmlstorage.cpp
|
utility/xmlstorage.cpp
|
||||||
utility/window.cpp
|
utility/window.cpp
|
||||||
utility/shellbrowserimpl.cpp
|
utility/shellbrowserimpl.cpp) # utility/shelltests.cpp
|
||||||
precomp.h) # utility/shelltests.cpp
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
services/startup.c)
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
list(APPEND I386_SOURCE i386-stub-win32.c)
|
list(APPEND PCH_SKIP_SOURCE i386-stub-win32.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_executable(explorer_old
|
add_executable(explorer_old
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
${I386_SOURCE}
|
${PCH_SKIP_SOURCE}
|
||||||
services/startup.c
|
|
||||||
explorer.rc)
|
explorer.rc)
|
||||||
|
|
||||||
target_link_libraries(explorer_old comsupp wine uuid)
|
target_link_libraries(explorer_old comsupp wine uuid)
|
||||||
set_module_type(explorer_old win32gui UNICODE)
|
set_module_type(explorer_old win32gui UNICODE)
|
||||||
add_importlibs(explorer_old advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll)
|
add_importlibs(explorer_old advapi32 gdi32 user32 ws2_32 msimg32 comctl32 ole32 oleaut32 shell32 shlwapi notifyhook msvcrt kernel32 ntdll)
|
||||||
add_pch(explorer_old precomp.h SOURCE)
|
add_pch(explorer_old precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_dependencies(explorer_old psdk)
|
add_dependencies(explorer_old psdk)
|
||||||
add_cd_file(TARGET explorer_old DESTINATION reactos FOR all)
|
add_cd_file(TARGET explorer_old DESTINATION reactos FOR all)
|
||||||
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)
|
add_cd_file(FILE ${CMAKE_CURRENT_SOURCE_DIR}/explorer-cfg-template.xml DESTINATION reactos FOR all)
|
||||||
|
|
|
@ -17,12 +17,17 @@ list(APPEND SOURCE
|
||||||
ServiceArgs.c
|
ServiceArgs.c
|
||||||
ServiceEnv.c
|
ServiceEnv.c
|
||||||
ServiceNetwork.c
|
ServiceNetwork.c
|
||||||
svchlp.c
|
svchlp.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(advapi32_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(advapi32_apitest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
|
target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
|
||||||
set_module_type(advapi32_apitest win32cui)
|
set_module_type(advapi32_apitest win32cui)
|
||||||
add_importlibs(advapi32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
|
add_importlibs(advapi32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
|
||||||
add_pch(advapi32_apitest precomp.h SOURCE)
|
add_pch(advapi32_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET advapi32_apitest)
|
add_rostests_file(TARGET advapi32_apitest)
|
||||||
|
|
|
@ -5,12 +5,17 @@ include_directories(
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
AfdHelpers.c
|
AfdHelpers.c
|
||||||
send.c
|
send.c
|
||||||
windowsize.c
|
windowsize.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(afd_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(afd_apitest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(afd_apitest wine)
|
target_link_libraries(afd_apitest wine)
|
||||||
set_module_type(afd_apitest win32cui)
|
set_module_type(afd_apitest win32cui)
|
||||||
add_importlibs(afd_apitest ws2_32 msvcrt kernel32 ntdll)
|
add_importlibs(afd_apitest ws2_32 msvcrt kernel32 ntdll)
|
||||||
add_pch(afd_apitest precomp.h SOURCE)
|
add_pch(afd_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET afd_apitest)
|
add_rostests_file(TARGET afd_apitest)
|
||||||
|
|
|
@ -19,16 +19,18 @@ list(APPEND SOURCE
|
||||||
CRegKey.cpp
|
CRegKey.cpp
|
||||||
CSimpleArray.cpp
|
CSimpleArray.cpp
|
||||||
CSimpleMap.cpp
|
CSimpleMap.cpp
|
||||||
CString.cpp
|
CString.cpp)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(atl_apitest
|
add_executable(atl_apitest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
testlist.c
|
${PCH_SKIP_SOURCE}
|
||||||
atl_apitest.rc)
|
atl_apitest.rc)
|
||||||
|
|
||||||
target_link_libraries(atl_apitest wine uuid)
|
target_link_libraries(atl_apitest wine uuid)
|
||||||
set_module_type(atl_apitest win32cui)
|
set_module_type(atl_apitest win32cui)
|
||||||
add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(atl_apitest rpcrt4 ole32 oleaut32 msimg32 gdi32 advapi32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(atl_apitest precomp.h SOURCE)
|
add_pch(atl_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET atl_apitest)
|
add_rostests_file(TARGET atl_apitest)
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
cmd.c
|
cmd.c
|
||||||
precomp.h)
|
testlist.c)
|
||||||
|
|
||||||
add_executable(cmd_apitest ${SOURCE} testlist.c)
|
add_executable(cmd_apitest ${SOURCE})
|
||||||
target_link_libraries(cmd_apitest wine ${PSEH_LIB})
|
target_link_libraries(cmd_apitest wine ${PSEH_LIB})
|
||||||
set_module_type(cmd_apitest win32cui)
|
set_module_type(cmd_apitest win32cui)
|
||||||
add_importlibs(cmd_apitest msvcrt kernel32)
|
add_importlibs(cmd_apitest msvcrt kernel32)
|
||||||
add_pch(cmd_apitest precomp.h SOURCE)
|
|
||||||
add_rostests_file(TARGET cmd_apitest)
|
add_rostests_file(TARGET cmd_apitest)
|
||||||
|
|
|
@ -3,19 +3,24 @@ add_definitions(-DWINE_NO_UNICODE_MACROS)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
browseui.c
|
browseui.c
|
||||||
|
com_apitest.c
|
||||||
ieframe.c
|
ieframe.c
|
||||||
netcfgx.c
|
netcfgx.c
|
||||||
netshell.c
|
netshell.c
|
||||||
ole32.c
|
ole32.c
|
||||||
shdocvw.c
|
shdocvw.c
|
||||||
shell32.c
|
shell32.c
|
||||||
zipfldr.c
|
zipfldr.c)
|
||||||
com_apitest.c
|
|
||||||
com_apitest.h)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(com_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(com_apitest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(com_apitest wine uuid)
|
target_link_libraries(com_apitest wine uuid)
|
||||||
set_module_type(com_apitest win32cui)
|
set_module_type(com_apitest win32cui)
|
||||||
add_importlibs(com_apitest advapi32 ole32 shlwapi shell32 msvcrt kernel32 ntdll)
|
add_importlibs(com_apitest advapi32 ole32 shlwapi shell32 msvcrt kernel32 ntdll)
|
||||||
add_pch(com_apitest com_apitest.h SOURCE)
|
add_pch(com_apitest com_apitest.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET com_apitest)
|
add_rostests_file(TARGET com_apitest)
|
||||||
|
|
|
@ -75,12 +75,18 @@ list(APPEND SOURCE
|
||||||
SetWindowExtEx.c
|
SetWindowExtEx.c
|
||||||
SetWorldTransform.c
|
SetWorldTransform.c
|
||||||
TextTransform.c
|
TextTransform.c
|
||||||
init.c
|
init.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(gdi32_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
resource.rc)
|
||||||
|
|
||||||
add_executable(gdi32_apitest ${SOURCE} testlist.c resource.rc)
|
|
||||||
target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
|
target_link_libraries(gdi32_apitest ${PSEH_LIB} win32ksys)
|
||||||
set_module_type(gdi32_apitest win32cui)
|
set_module_type(gdi32_apitest win32cui)
|
||||||
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(gdi32_apitest gdi32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(gdi32_apitest precomp.h SOURCE)
|
add_pch(gdi32_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET gdi32_apitest)
|
add_rostests_file(TARGET gdi32_apitest)
|
||||||
|
|
|
@ -35,16 +35,22 @@ list(APPEND SOURCE
|
||||||
SystemFirmware.c
|
SystemFirmware.c
|
||||||
TerminateProcess.c
|
TerminateProcess.c
|
||||||
TunnelCache.c
|
TunnelCache.c
|
||||||
WideCharToMultiByte.c
|
WideCharToMultiByte.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(kernel32_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
kernel32_apitest.rc)
|
||||||
|
|
||||||
add_executable(kernel32_apitest ${SOURCE} testlist.c kernel32_apitest.rc)
|
|
||||||
target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
|
target_link_libraries(kernel32_apitest wine ${PSEH_LIB})
|
||||||
set_module_type(kernel32_apitest win32cui)
|
set_module_type(kernel32_apitest win32cui)
|
||||||
add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
|
add_delay_importlibs(kernel32_apitest advapi32 shlwapi)
|
||||||
add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
|
add_importlibs(kernel32_apitest msvcrt kernel32 ntdll)
|
||||||
add_dependencies(kernel32_apitest FormatMessage)
|
add_dependencies(kernel32_apitest FormatMessage)
|
||||||
add_pch(kernel32_apitest precomp.h SOURCE)
|
add_pch(kernel32_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET kernel32_apitest)
|
add_rostests_file(TARGET kernel32_apitest)
|
||||||
|
|
||||||
list(APPEND MANIFEST_FILES
|
list(APPEND MANIFEST_FILES
|
||||||
|
|
|
@ -1,11 +1,17 @@
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
QueryPoints.c
|
QueryPoints.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(mountmgr_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(mountmgr_apitest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(mountmgr_apitest wine ${PSEH_LIB})
|
target_link_libraries(mountmgr_apitest wine ${PSEH_LIB})
|
||||||
set_module_type(mountmgr_apitest win32cui)
|
set_module_type(mountmgr_apitest win32cui)
|
||||||
add_importlibs(mountmgr_apitest msvcrt kernel32 ntdll)
|
add_importlibs(mountmgr_apitest msvcrt kernel32 ntdll)
|
||||||
add_pch(mountmgr_apitest precomp.h SOURCE)
|
# TODO: Enable this when we get more than one source file to justify its use
|
||||||
|
#add_pch(mountmgr_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET mountmgr_apitest)
|
add_rostests_file(TARGET mountmgr_apitest)
|
||||||
|
|
|
@ -75,24 +75,28 @@ list(APPEND SOURCE
|
||||||
RtlValidateUnicodeString.c
|
RtlValidateUnicodeString.c
|
||||||
StackOverflow.c
|
StackOverflow.c
|
||||||
SystemInfo.c
|
SystemInfo.c
|
||||||
Timer.c
|
Timer.c)
|
||||||
precomp.h)
|
|
||||||
|
|
||||||
if(ARCH STREQUAL "i386")
|
if(ARCH STREQUAL "i386")
|
||||||
add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
|
add_asm_files(ntdll_apitest_asm i386/NtContinue.S)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_rc_deps(testdata.rc ${CMAKE_CURRENT_BINARY_DIR}/load_notifications/load_notifications.dll)
|
add_rc_deps(testdata.rc ${CMAKE_CURRENT_BINARY_DIR}/load_notifications/load_notifications.dll)
|
||||||
|
|
||||||
add_executable(ntdll_apitest
|
add_executable(ntdll_apitest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
${ntdll_apitest_asm}
|
${ntdll_apitest_asm}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
testdata.rc
|
testdata.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ntdll_apitest.def
|
${CMAKE_CURRENT_BINARY_DIR}/ntdll_apitest.def)
|
||||||
testlist.c)
|
|
||||||
target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
|
target_link_libraries(ntdll_apitest wine uuid ${PSEH_LIB})
|
||||||
set_module_type(ntdll_apitest win32cui)
|
set_module_type(ntdll_apitest win32cui)
|
||||||
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
|
add_importlibs(ntdll_apitest msvcrt advapi32 kernel32 ntdll)
|
||||||
add_pch(ntdll_apitest precomp.h SOURCE)
|
add_pch(ntdll_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
|
set_source_files_properties(RtlGetFullPathName_UstrEx.c PROPERTIES COMPILE_FLAGS "-Wno-format")
|
||||||
|
|
|
@ -34,19 +34,21 @@ list(APPEND SOURCE
|
||||||
ShellState.cpp
|
ShellState.cpp
|
||||||
SHLimitInputEdit.cpp
|
SHLimitInputEdit.cpp
|
||||||
menu.cpp
|
menu.cpp
|
||||||
shelltest.cpp
|
shelltest.cpp)
|
||||||
shelltest.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(shell32_apitest
|
add_executable(shell32_apitest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
testlist.c
|
${PCH_SKIP_SOURCE}
|
||||||
resource.rc
|
resource.rc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
|
${CMAKE_CURRENT_BINARY_DIR}/shell32_apitest.def)
|
||||||
|
|
||||||
target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
|
target_link_libraries(shell32_apitest wine uuid ${PSEH_LIB})
|
||||||
set_module_type(shell32_apitest win32cui)
|
set_module_type(shell32_apitest win32cui)
|
||||||
add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
|
add_importlibs(shell32_apitest user32 gdi32 shell32 ole32 oleaut32 advapi32 shlwapi msvcrt kernel32 ntdll)
|
||||||
add_pch(shell32_apitest shelltest.h SOURCE)
|
add_pch(shell32_apitest shelltest.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET shell32_apitest)
|
add_rostests_file(TARGET shell32_apitest)
|
||||||
|
|
||||||
# shell-notify.exe
|
# shell-notify.exe
|
||||||
|
|
|
@ -46,14 +46,20 @@ list(APPEND SOURCE
|
||||||
SystemParametersInfo.c
|
SystemParametersInfo.c
|
||||||
TrackMouseEvent.c
|
TrackMouseEvent.c
|
||||||
WndProc.c
|
WndProc.c
|
||||||
wsprintf.c
|
wsprintf.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(user32_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE}
|
||||||
|
user32_apitest.rc)
|
||||||
|
|
||||||
add_executable(user32_apitest ${SOURCE} testlist.c user32_apitest.rc)
|
|
||||||
target_link_libraries(user32_apitest wine ${PSEH_LIB})
|
target_link_libraries(user32_apitest wine ${PSEH_LIB})
|
||||||
set_module_type(user32_apitest win32cui)
|
set_module_type(user32_apitest win32cui)
|
||||||
add_importlibs(user32_apitest advapi32 gdi32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(user32_apitest advapi32 gdi32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(user32_apitest precomp.h SOURCE)
|
add_pch(user32_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET user32_apitest)
|
add_rostests_file(TARGET user32_apitest)
|
||||||
|
|
||||||
add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/verclasstest1.manifest")
|
add_rostests_file(FILE "${CMAKE_CURRENT_SOURCE_DIR}/verclasstest1.manifest")
|
||||||
|
|
|
@ -65,11 +65,14 @@ list(APPEND SOURCE
|
||||||
ntuser/NtUserUpdatePerUserSystemParameters.c
|
ntuser/NtUserUpdatePerUserSystemParameters.c
|
||||||
|
|
||||||
#osver.c
|
#osver.c
|
||||||
win32nt.h)
|
)
|
||||||
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(win32knt_apitest
|
add_executable(win32knt_apitest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
testlist.c
|
${PCH_SKIP_SOURCE}
|
||||||
w32knapi.rc)
|
w32knapi.rc)
|
||||||
|
|
||||||
target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
|
target_link_libraries(win32knt_apitest ${PSEH_LIB} gditools)
|
||||||
|
@ -84,5 +87,5 @@ add_importlibs(win32knt_apitest
|
||||||
ntdll)
|
ntdll)
|
||||||
add_delay_importlibs(win32knt_apitest win32u)
|
add_delay_importlibs(win32knt_apitest win32u)
|
||||||
add_dependencies(win32knt_apitest xdk)
|
add_dependencies(win32knt_apitest xdk)
|
||||||
add_pch(win32knt_apitest win32nt.h SOURCE)
|
add_pch(win32knt_apitest win32nt.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET win32knt_apitest)
|
add_rostests_file(TARGET win32knt_apitest)
|
||||||
|
|
|
@ -17,12 +17,17 @@ list(APPEND SOURCE
|
||||||
WSAAsync.c
|
WSAAsync.c
|
||||||
WSAIoctl.c
|
WSAIoctl.c
|
||||||
WSARecv.c
|
WSARecv.c
|
||||||
WSAStartup.c
|
WSAStartup.c)
|
||||||
ws2_32.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(ws2_32_apitest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(ws2_32_apitest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(ws2_32_apitest wine ${PSEH_LIB})
|
target_link_libraries(ws2_32_apitest wine ${PSEH_LIB})
|
||||||
set_module_type(ws2_32_apitest win32cui)
|
set_module_type(ws2_32_apitest win32cui)
|
||||||
add_importlibs(ws2_32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
|
add_importlibs(ws2_32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
|
||||||
add_pch(ws2_32_apitest ws2_32.h SOURCE)
|
add_pch(ws2_32_apitest ws2_32.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET ws2_32_apitest)
|
add_rostests_file(TARGET ws2_32_apitest)
|
||||||
|
|
|
@ -7,17 +7,18 @@ include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
EnumObjects.cpp
|
EnumObjects.cpp
|
||||||
EnumParentDir.cpp
|
EnumParentDir.cpp
|
||||||
IDataObject.cpp
|
IDataObject.cpp)
|
||||||
precomp.h
|
|
||||||
resource.h)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(zipfldr_apitest
|
add_executable(zipfldr_apitest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
testlist.c
|
${PCH_SKIP_SOURCE}
|
||||||
zipfldr_apitest.rc)
|
zipfldr_apitest.rc)
|
||||||
|
|
||||||
target_link_libraries(zipfldr_apitest wine uuid)
|
target_link_libraries(zipfldr_apitest wine uuid)
|
||||||
set_module_type(zipfldr_apitest win32cui)
|
set_module_type(zipfldr_apitest win32cui)
|
||||||
add_importlibs(zipfldr_apitest shlwapi ole32 shell32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(zipfldr_apitest shlwapi ole32 shell32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(zipfldr_apitest precomp.h SOURCE)
|
add_pch(zipfldr_apitest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET zipfldr_apitest)
|
add_rostests_file(TARGET zipfldr_apitest)
|
||||||
|
|
|
@ -12,10 +12,14 @@ list(APPEND SOURCE
|
||||||
lsa.c
|
lsa.c
|
||||||
registry.c
|
registry.c
|
||||||
security.c
|
security.c
|
||||||
service.c
|
service.c)
|
||||||
precomp.h)
|
|
||||||
|
|
||||||
add_executable(advapi32_winetest ${SOURCE} testlist.c)
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(advapi32_winetest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
if(USE_CLANG_CL OR (NOT MSVC))
|
if(USE_CLANG_CL OR (NOT MSVC))
|
||||||
target_compile_options(advapi32_winetest PRIVATE "-Wno-format")
|
target_compile_options(advapi32_winetest PRIVATE "-Wno-format")
|
||||||
|
@ -23,5 +27,5 @@ endif()
|
||||||
|
|
||||||
set_module_type(advapi32_winetest win32cui)
|
set_module_type(advapi32_winetest win32cui)
|
||||||
add_importlibs(advapi32_winetest advapi32 ole32 user32 msvcrt kernel32 ntdll)
|
add_importlibs(advapi32_winetest advapi32 ole32 user32 msvcrt kernel32 ntdll)
|
||||||
add_pch(advapi32_winetest precomp.h SOURCE)
|
add_pch(advapi32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET advapi32_winetest)
|
add_rostests_file(TARGET advapi32_winetest)
|
||||||
|
|
|
@ -30,14 +30,16 @@ list(APPEND SOURCE
|
||||||
tooltips.c
|
tooltips.c
|
||||||
trackbar.c
|
trackbar.c
|
||||||
treeview.c
|
treeview.c
|
||||||
updown.c
|
updown.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
button.c
|
||||||
|
subclass.c
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(comctl32_winetest
|
add_executable(comctl32_winetest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
button.c
|
${PCH_SKIP_SOURCE}
|
||||||
subclass.c
|
|
||||||
testlist.c
|
|
||||||
rsrc.rc)
|
rsrc.rc)
|
||||||
|
|
||||||
if(USE_CLANG_CL OR (NOT MSVC))
|
if(USE_CLANG_CL OR (NOT MSVC))
|
||||||
|
@ -51,5 +53,5 @@ if(MSVC)
|
||||||
add_importlibs(comctl32_winetest ntdll)
|
add_importlibs(comctl32_winetest ntdll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_pch(comctl32_winetest precomp.h SOURCE)
|
add_pch(comctl32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET comctl32_winetest)
|
add_rostests_file(TARGET comctl32_winetest)
|
||||||
|
|
|
@ -6,16 +6,18 @@ list(APPEND SOURCE
|
||||||
finddlg.c
|
finddlg.c
|
||||||
fontdlg.c
|
fontdlg.c
|
||||||
itemdlg.c
|
itemdlg.c
|
||||||
printdlg.c
|
printdlg.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(comdlg32_winetest
|
add_executable(comdlg32_winetest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
testlist.c
|
${PCH_SKIP_SOURCE}
|
||||||
rsrc.rc)
|
rsrc.rc)
|
||||||
|
|
||||||
target_link_libraries(comdlg32_winetest uuid)
|
target_link_libraries(comdlg32_winetest uuid)
|
||||||
set_module_type(comdlg32_winetest win32cui)
|
set_module_type(comdlg32_winetest win32cui)
|
||||||
add_importlibs(comdlg32_winetest comdlg32 winspool user32 gdi32 ole32 shell32 msvcrt kernel32)
|
add_importlibs(comdlg32_winetest comdlg32 winspool user32 gdi32 ole32 shell32 msvcrt kernel32)
|
||||||
add_pch(comdlg32_winetest precomp.h SOURCE)
|
add_pch(comdlg32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET comdlg32_winetest)
|
add_rostests_file(TARGET comdlg32_winetest)
|
||||||
|
|
|
@ -16,11 +16,16 @@ list(APPEND SOURCE
|
||||||
protectdata.c
|
protectdata.c
|
||||||
sip.c
|
sip.c
|
||||||
store.c
|
store.c
|
||||||
str.c
|
str.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(crypt32_winetest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(crypt32_winetest ${SOURCE} testlist.c)
|
|
||||||
set_module_type(crypt32_winetest win32cui)
|
set_module_type(crypt32_winetest win32cui)
|
||||||
add_importlibs(crypt32_winetest crypt32 advapi32 user32 shlwapi shell32 msvcrt kernel32)
|
add_importlibs(crypt32_winetest crypt32 advapi32 user32 shlwapi shell32 msvcrt kernel32)
|
||||||
add_pch(crypt32_winetest precomp.h SOURCE)
|
add_pch(crypt32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET crypt32_winetest)
|
add_rostests_file(TARGET crypt32_winetest)
|
||||||
|
|
|
@ -6,12 +6,17 @@ list(APPEND SOURCE
|
||||||
dinput.c
|
dinput.c
|
||||||
joystick.c
|
joystick.c
|
||||||
keyboard.c
|
keyboard.c
|
||||||
mouse.c
|
mouse.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(dinput_winetest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(dinput_winetest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(dinput_winetest dinput_data_formats)
|
target_link_libraries(dinput_winetest dinput_data_formats)
|
||||||
set_module_type(dinput_winetest win32cui)
|
set_module_type(dinput_winetest win32cui)
|
||||||
add_importlibs(dinput_winetest dinput ole32 user32 msvcrt kernel32)
|
add_importlibs(dinput_winetest dinput ole32 user32 msvcrt kernel32)
|
||||||
add_pch(dinput_winetest precomp.h SOURCE)
|
add_pch(dinput_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET dinput_winetest)
|
add_rostests_file(TARGET dinput_winetest)
|
||||||
|
|
|
@ -1,9 +1,19 @@
|
||||||
|
|
||||||
add_definitions(-DUSE_WINE_TODOS )
|
add_definitions(-DUSE_WINE_TODOS )
|
||||||
list(APPEND SOURCE device.c dinput.c precomp.h)
|
|
||||||
add_executable(dinput8_winetest ${SOURCE} testlist.c)
|
list(APPEND SOURCE
|
||||||
|
device.c
|
||||||
|
dinput.c)
|
||||||
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(dinput8_winetest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
target_link_libraries(dinput8_winetest dinput_data_formats)
|
target_link_libraries(dinput8_winetest dinput_data_formats)
|
||||||
set_module_type(dinput8_winetest win32cui)
|
set_module_type(dinput8_winetest win32cui)
|
||||||
add_importlibs(dinput8_winetest dinput8 ole32 user32 advapi32 msvcrt kernel32)
|
add_importlibs(dinput8_winetest dinput8 ole32 user32 advapi32 msvcrt kernel32)
|
||||||
add_pch(dinput8_winetest precomp.h SOURCE)
|
add_pch(dinput8_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET dinput8_winetest)
|
add_rostests_file(TARGET dinput8_winetest)
|
||||||
|
|
|
@ -6,12 +6,17 @@ list(APPEND SOURCE
|
||||||
dsound8.c
|
dsound8.c
|
||||||
dsound.c
|
dsound.c
|
||||||
duplex.c
|
duplex.c
|
||||||
propset.c
|
propset.c)
|
||||||
dsound_test.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
|
add_executable(dsound_winetest
|
||||||
|
${SOURCE}
|
||||||
|
${PCH_SKIP_SOURCE})
|
||||||
|
|
||||||
add_executable(dsound_winetest ${SOURCE} testlist.c)
|
|
||||||
target_link_libraries(dsound_winetest uuid dxguid)
|
target_link_libraries(dsound_winetest uuid dxguid)
|
||||||
set_module_type(dsound_winetest win32cui)
|
set_module_type(dsound_winetest win32cui)
|
||||||
add_importlibs(dsound_winetest ole32 user32 msvcrt kernel32)
|
add_importlibs(dsound_winetest ole32 user32 msvcrt kernel32)
|
||||||
add_pch(dsound_winetest dsound_test.h SOURCE)
|
add_pch(dsound_winetest dsound_test.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET dsound_winetest)
|
add_rostests_file(TARGET dsound_winetest)
|
||||||
|
|
|
@ -15,12 +15,14 @@ list(APPEND SOURCE
|
||||||
metafile.c
|
metafile.c
|
||||||
palette.c
|
palette.c
|
||||||
path.c
|
path.c
|
||||||
pen.c
|
pen.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(gdi32_winetest
|
add_executable(gdi32_winetest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
testlist.c
|
${PCH_SKIP_SOURCE}
|
||||||
resource.rc)
|
resource.rc)
|
||||||
|
|
||||||
set_module_type(gdi32_winetest win32cui)
|
set_module_type(gdi32_winetest win32cui)
|
||||||
|
@ -30,5 +32,5 @@ if(MSVC)
|
||||||
add_importlibs(gdi32_winetest ntdll)
|
add_importlibs(gdi32_winetest ntdll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_pch(gdi32_winetest precomp.h SOURCE)
|
add_pch(gdi32_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET gdi32_winetest)
|
add_rostests_file(TARGET gdi32_winetest)
|
||||||
|
|
|
@ -18,16 +18,18 @@ list(APPEND SOURCE
|
||||||
pathiterator.c
|
pathiterator.c
|
||||||
pen.c
|
pen.c
|
||||||
region.c
|
region.c
|
||||||
stringformat.c
|
stringformat.c)
|
||||||
precomp.h)
|
|
||||||
|
list(APPEND PCH_SKIP_SOURCE
|
||||||
|
guid.c
|
||||||
|
testlist.c)
|
||||||
|
|
||||||
add_executable(gdiplus_winetest
|
add_executable(gdiplus_winetest
|
||||||
${SOURCE}
|
${SOURCE}
|
||||||
guid.c
|
${PCH_SKIP_SOURCE}
|
||||||
testlist.c
|
|
||||||
resource.rc)
|
resource.rc)
|
||||||
|
|
||||||
set_module_type(gdiplus_winetest win32cui)
|
set_module_type(gdiplus_winetest win32cui)
|
||||||
add_importlibs(gdiplus_winetest gdiplus user32 gdi32 ole32 msvcrt kernel32)
|
add_importlibs(gdiplus_winetest gdiplus user32 gdi32 ole32 msvcrt kernel32)
|
||||||
add_pch(gdiplus_winetest precomp.h SOURCE)
|
add_pch(gdiplus_winetest precomp.h "${PCH_SKIP_SOURCE}")
|
||||||
add_rostests_file(TARGET gdiplus_winetest)
|
add_rostests_file(TARGET gdiplus_winetest)
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue