mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[BASE/SYSTEM]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62063
This commit is contained in:
parent
114af4f814
commit
06510e690b
5 changed files with 56 additions and 53 deletions
|
@ -1,48 +1,50 @@
|
|||
|
||||
add_executable(diskpart
|
||||
active.c
|
||||
add.c
|
||||
assign.c
|
||||
attach.c
|
||||
attributes.c
|
||||
automount.c
|
||||
break.c
|
||||
clean.c
|
||||
compact.c
|
||||
convert.c
|
||||
create.c
|
||||
delete.c
|
||||
detach.c
|
||||
detail.c
|
||||
diskpart.c
|
||||
expand.c
|
||||
extend.c
|
||||
filesystems.c
|
||||
format.c
|
||||
gpt.c
|
||||
help.c
|
||||
import.c
|
||||
inactive.c
|
||||
interpreter.c
|
||||
list.c
|
||||
merge.c
|
||||
offline.c
|
||||
online.c
|
||||
recover.c
|
||||
remove.c
|
||||
repair.c
|
||||
rescan.c
|
||||
retain.c
|
||||
san.c
|
||||
select.c
|
||||
setid.c
|
||||
shrink.c
|
||||
uniqueid.c
|
||||
diskpart.rc)
|
||||
list(APPEND SOURCE
|
||||
active.c
|
||||
add.c
|
||||
assign.c
|
||||
attach.c
|
||||
attributes.c
|
||||
automount.c
|
||||
break.c
|
||||
clean.c
|
||||
compact.c
|
||||
convert.c
|
||||
create.c
|
||||
delete.c
|
||||
detach.c
|
||||
detail.c
|
||||
diskpart.c
|
||||
expand.c
|
||||
extend.c
|
||||
filesystems.c
|
||||
format.c
|
||||
gpt.c
|
||||
help.c
|
||||
import.c
|
||||
inactive.c
|
||||
interpreter.c
|
||||
list.c
|
||||
merge.c
|
||||
offline.c
|
||||
online.c
|
||||
recover.c
|
||||
remove.c
|
||||
repair.c
|
||||
rescan.c
|
||||
retain.c
|
||||
san.c
|
||||
select.c
|
||||
setid.c
|
||||
shrink.c
|
||||
uniqueid.c
|
||||
diskpart.h)
|
||||
|
||||
add_executable(diskpart ${SOURCE} diskpart.rc)
|
||||
set_module_type(diskpart win32cui UNICODE)
|
||||
add_importlibs(diskpart user32 msvcrt advapi32 kernel32)
|
||||
if(MSVC)
|
||||
add_importlibs(diskpart ntdll)
|
||||
endif()
|
||||
add_pch(diskpart diskpart.h SOURCE)
|
||||
add_cd_file(TARGET diskpart DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -3,12 +3,15 @@ add_definitions(-D__WINESRC__)
|
|||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/wine)
|
||||
|
||||
add_executable(msiexec
|
||||
list(APPEND SOURCE
|
||||
msiexec.c
|
||||
service.c
|
||||
rsrc.rc)
|
||||
precomp.h)
|
||||
|
||||
add_executable(msiexec ${SOURCE} rsrc.rc)
|
||||
|
||||
set_module_type(msiexec win32gui)
|
||||
target_link_libraries(msiexec uuid wine)
|
||||
add_importlibs(msiexec user32 advapi32 ole32 msi msvcrt kernel32 ntdll)
|
||||
add_pch(msiexec precomp.h SOURCE)
|
||||
add_cd_file(TARGET msiexec DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -16,10 +16,10 @@ list(APPEND SOURCE
|
|||
lock.c
|
||||
rpcserver.c
|
||||
services.c
|
||||
services.rc
|
||||
services.h
|
||||
${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.c)
|
||||
|
||||
add_executable(services ${SOURCE})
|
||||
add_executable(services ${SOURCE} services.rc)
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(services ${PSEH_LIB})
|
||||
|
@ -27,5 +27,5 @@ endif()
|
|||
|
||||
set_module_type(services win32gui UNICODE)
|
||||
add_importlibs(services user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
add_pch(services services.h ${CMAKE_CURRENT_BINARY_DIR}/svcctl_s.h)
|
||||
add_pch(services services.h SOURCE)
|
||||
add_cd_file(TARGET services DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -11,11 +11,11 @@ list(APPEND SOURCE
|
|||
smsubsys.c
|
||||
smutil.c
|
||||
smss.c
|
||||
smss.rc)
|
||||
smss.h)
|
||||
|
||||
add_executable(smss WIN32 ${SOURCE})
|
||||
add_executable(smss WIN32 ${SOURCE} smss.rc)
|
||||
target_link_libraries(smss nt ${PSEH_LIB} smlib)
|
||||
add_pch(smss smss.h)
|
||||
set_module_type(smss nativecui)
|
||||
add_importlibs(smss ntdll)
|
||||
add_pch(smss smss.h SOURCE)
|
||||
add_cd_file(TARGET smss DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -6,13 +6,11 @@ list(APPEND SOURCE
|
|||
setup.c
|
||||
winlogon.c
|
||||
wlx.c
|
||||
winlogon.rc)
|
||||
|
||||
add_executable(winlogon ${SOURCE})
|
||||
winlogon.h)
|
||||
|
||||
add_executable(winlogon ${SOURCE} winlogon.rc)
|
||||
target_link_libraries(winlogon wine)
|
||||
|
||||
set_module_type(winlogon win32gui)
|
||||
add_importlibs(winlogon user32 advapi32 userenv secur32 msvcrt kernel32 ntdll)
|
||||
add_pch(winlogon winlogon.h)
|
||||
add_pch(winlogon winlogon.h SOURCE)
|
||||
add_cd_file(TARGET winlogon DESTINATION reactos/system32 FOR all)
|
||||
|
|
Loading…
Reference in a new issue