mirror of
https://github.com/reactos/reactos.git
synced 2025-07-05 13:51:21 +00:00
[APPLICATIONS]
* Prepare the CMake scripts for PCH. CORE-7716 svn path=/trunk/; revision=62054
This commit is contained in:
parent
315418173c
commit
4319284676
30 changed files with 113 additions and 93 deletions
|
@ -1,19 +1,20 @@
|
||||||
|
|
||||||
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
|
add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
|
||||||
|
|
||||||
add_executable(calc
|
list(APPEND SOURCE
|
||||||
about.c
|
about.c
|
||||||
convert.c
|
convert.c
|
||||||
function.c
|
function.c
|
||||||
rpn.c
|
rpn.c
|
||||||
utl.c
|
utl.c
|
||||||
winmain.c
|
winmain.c
|
||||||
resource.rc)
|
calc.h)
|
||||||
|
|
||||||
|
add_executable(calc ${SOURCE} resource.rc)
|
||||||
set_module_type(calc win32gui UNICODE)
|
set_module_type(calc win32gui UNICODE)
|
||||||
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
|
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
add_importlibs(calc ntdll)
|
add_importlibs(calc ntdll)
|
||||||
endif()
|
endif()
|
||||||
add_pch(calc calc.h)
|
add_pch(calc calc.h SOURCE)
|
||||||
add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -5,10 +5,10 @@ list(APPEND SOURCE
|
||||||
lrgcell.c
|
lrgcell.c
|
||||||
map.c
|
map.c
|
||||||
settings.c
|
settings.c
|
||||||
charmap.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(charmap ${SOURCE})
|
add_executable(charmap ${SOURCE} charmap.rc)
|
||||||
set_module_type(charmap win32gui UNICODE)
|
set_module_type(charmap win32gui UNICODE)
|
||||||
add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
|
add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
|
||||||
add_pch(charmap precomp.h)
|
add_pch(charmap precomp.h SOURCE)
|
||||||
add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -8,16 +8,16 @@ list(APPEND SOURCE
|
||||||
network.c
|
network.c
|
||||||
help.c
|
help.c
|
||||||
dxdiag.c
|
dxdiag.c
|
||||||
dxdiag.rc
|
|
||||||
ddtest.c
|
ddtest.c
|
||||||
d3dtest.c
|
d3dtest.c
|
||||||
d3dtest7.c
|
d3dtest7.c
|
||||||
d3dtest8.c
|
d3dtest8.c
|
||||||
d3dtest9.c)
|
d3dtest9.c
|
||||||
|
precomp.h)
|
||||||
|
|
||||||
add_executable(dxdiag ${SOURCE})
|
add_executable(dxdiag ${SOURCE} dxdiag.rc)
|
||||||
set_module_type(dxdiag win32gui UNICODE)
|
set_module_type(dxdiag win32gui UNICODE)
|
||||||
target_link_libraries(dxdiag dxguid)
|
target_link_libraries(dxdiag dxguid)
|
||||||
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
|
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
|
||||||
add_pch(dxdiag precomp.h)
|
add_pch(dxdiag precomp.h SOURCE)
|
||||||
add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
|
|
||||||
add_executable(fontview
|
list(APPEND SOURCE
|
||||||
display.c
|
display.c
|
||||||
fontview.c
|
fontview.c
|
||||||
fontview.rc)
|
precomp.h)
|
||||||
|
|
||||||
|
add_executable(fontview ${SOURCE} fontview.rc)
|
||||||
set_module_type(fontview win32gui)
|
set_module_type(fontview win32gui)
|
||||||
add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
|
add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
|
||||||
|
add_pch(fontview precomp.h SOURCE)
|
||||||
add_cd_file(TARGET fontview DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET fontview DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -3,14 +3,15 @@ set_cpp(WITH_RUNTIME)
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
|
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
|
||||||
|
|
||||||
add_executable(sol
|
list(APPEND SOURCE
|
||||||
solcreate.cpp
|
solcreate.cpp
|
||||||
solgame.cpp
|
solgame.cpp
|
||||||
solitaire.cpp
|
solitaire.cpp
|
||||||
rsrc.rc)
|
solitaire.h)
|
||||||
|
|
||||||
|
add_executable(sol ${SOURCE} rsrc.rc)
|
||||||
target_link_libraries(sol cardlib)
|
target_link_libraries(sol cardlib)
|
||||||
add_pch(sol solitaire.h)
|
|
||||||
set_module_type(sol win32gui UNICODE)
|
set_module_type(sol win32gui UNICODE)
|
||||||
add_importlibs(sol advapi32 comctl32 user32 gdi32 msvcrt kernel32)
|
add_importlibs(sol advapi32 comctl32 user32 gdi32 msvcrt kernel32)
|
||||||
|
add_pch(sol solitaire.h SOURCE)
|
||||||
add_cd_file(TARGET sol DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET sol DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -5,13 +5,14 @@ include_directories(
|
||||||
${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib
|
${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib
|
||||||
${CMAKE_CURRENT_SOURCE_DIR})
|
${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
add_executable(spider
|
list(APPEND SOURCE
|
||||||
spider.cpp
|
spider.cpp
|
||||||
spigame.cpp
|
spigame.cpp
|
||||||
rsrc.rc)
|
spider.h)
|
||||||
|
|
||||||
|
add_executable(spider ${SOURCE} rsrc.rc)
|
||||||
target_link_libraries(spider cardlib)
|
target_link_libraries(spider cardlib)
|
||||||
add_pch(spider spider.h)
|
add_pch(spider spider.h SOURCE)
|
||||||
set_module_type(spider win32gui UNICODE)
|
set_module_type(spider win32gui UNICODE)
|
||||||
add_importlibs(spider advapi32 comctl32 user32 gdi32 msvcrt kernel32)
|
add_importlibs(spider advapi32 comctl32 user32 gdi32 msvcrt kernel32)
|
||||||
add_cd_file(TARGET spider DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET spider DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
|
||||||
add_executable(winmine
|
list(APPEND SOURCE
|
||||||
main.c
|
main.c
|
||||||
dialog.c
|
dialog.c
|
||||||
rsrc.rc)
|
main.h)
|
||||||
|
|
||||||
|
add_executable(winmine ${SOURCE} rsrc.rc)
|
||||||
set_module_type(winmine win32gui)
|
set_module_type(winmine win32gui)
|
||||||
target_link_libraries(winmine wine)
|
target_link_libraries(winmine wine)
|
||||||
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
|
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(winmine main.h SOURCE)
|
||||||
add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
logoff.c
|
logoff.c
|
||||||
logoff.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(logoff ${SOURCE})
|
add_executable(logoff ${SOURCE} logoff.rc)
|
||||||
set_module_type(logoff win32cui)
|
set_module_type(logoff win32cui)
|
||||||
add_importlibs(logoff advapi32 user32 msvcrt kernel32)
|
add_importlibs(logoff advapi32 user32 msvcrt kernel32)
|
||||||
add_pch(logoff precomp.h)
|
add_pch(logoff precomp.h SOURCE)
|
||||||
add_cd_file(TARGET logoff DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET logoff DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
|
|
||||||
add_executable(magnify
|
list(APPEND SOURCE
|
||||||
magnifier.c
|
magnifier.c
|
||||||
settings.c
|
settings.c
|
||||||
magnify.rc)
|
magnifier.h)
|
||||||
|
|
||||||
add_pch(magnify magnifier.h)
|
add_executable(magnify ${SOURCE} magnify.rc)
|
||||||
set_module_type(magnify win32gui)
|
set_module_type(magnify win32gui)
|
||||||
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
|
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
|
||||||
|
add_pch(magnify magnifier.h SOURCE)
|
||||||
add_cd_file(TARGET magnify DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET magnify DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -3,9 +3,9 @@ list(APPEND SOURCE
|
||||||
console.c
|
console.c
|
||||||
misc.c
|
misc.c
|
||||||
mmc.c
|
mmc.c
|
||||||
mmc.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(mmcclient ${SOURCE})
|
add_executable(mmcclient ${SOURCE} mmc.rc)
|
||||||
set_module_type(mmcclient win32gui UNICODE)
|
set_module_type(mmcclient win32gui UNICODE)
|
||||||
add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt kernel32)
|
add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt kernel32)
|
||||||
add_pch(mmcclient precomp.h)
|
add_pch(mmcclient precomp.h SOURCE)
|
||||||
|
|
|
@ -7,10 +7,10 @@ list(APPEND SOURCE
|
||||||
freeldrpage.c
|
freeldrpage.c
|
||||||
generalpage.c
|
generalpage.c
|
||||||
msconfig.c
|
msconfig.c
|
||||||
msconfig.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(msconfig ${SOURCE})
|
add_executable(msconfig ${SOURCE} msconfig.rc)
|
||||||
set_module_type(msconfig win32gui UNICODE)
|
set_module_type(msconfig win32gui UNICODE)
|
||||||
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt kernel32)
|
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt kernel32)
|
||||||
add_pch(msconfig precomp.h)
|
add_pch(msconfig precomp.h SOURCE)
|
||||||
add_cd_file(TARGET msconfig DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET msconfig DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -5,10 +5,10 @@ list(APPEND SOURCE
|
||||||
enumdevices.c
|
enumdevices.c
|
||||||
mainwnd.c
|
mainwnd.c
|
||||||
misc.c
|
misc.c
|
||||||
devmgmt.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(devmgmt ${SOURCE})
|
add_executable(devmgmt ${SOURCE} devmgmt.rc)
|
||||||
set_module_type(devmgmt win32gui UNICODE)
|
set_module_type(devmgmt win32gui UNICODE)
|
||||||
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
|
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
|
||||||
add_pch(devmgmt precomp.h)
|
add_pch(devmgmt precomp.h SOURCE)
|
||||||
add_cd_file(TARGET devmgmt DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET devmgmt DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -19,10 +19,10 @@ list(APPEND SOURCE
|
||||||
start.c
|
start.c
|
||||||
stop.c
|
stop.c
|
||||||
stop_dependencies.c
|
stop_dependencies.c
|
||||||
servman.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(servman ${SOURCE})
|
add_executable(servman ${SOURCE} servman.rc)
|
||||||
set_module_type(servman win32gui UNICODE)
|
set_module_type(servman win32gui UNICODE)
|
||||||
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
|
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
|
||||||
add_pch(servman precomp.h)
|
add_pch(servman precomp.h SOURCE)
|
||||||
add_cd_file(TARGET servman DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET servman DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
add_executable(mspaint
|
list(APPEND SOURCE
|
||||||
dialogs.c
|
dialogs.c
|
||||||
dib.c
|
dib.c
|
||||||
drawing.c
|
drawing.c
|
||||||
|
@ -12,9 +12,10 @@ add_executable(mspaint
|
||||||
sizebox.c
|
sizebox.c
|
||||||
toolsettings.c
|
toolsettings.c
|
||||||
winproc.c
|
winproc.c
|
||||||
rsrc.rc)
|
precomp.h)
|
||||||
|
|
||||||
|
add_executable(mspaint ${SOURCE} rsrc.rc)
|
||||||
set_module_type(mspaint win32gui UNICODE)
|
set_module_type(mspaint win32gui UNICODE)
|
||||||
add_pch(mspaint precomp.h)
|
|
||||||
add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
|
add_importlibs(mspaint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
|
||||||
|
add_pch(mspaint precomp.h SOURCE)
|
||||||
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mspaint DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -19,10 +19,10 @@ list(APPEND SOURCE
|
||||||
tcp.c
|
tcp.c
|
||||||
uimain.c
|
uimain.c
|
||||||
win32.c
|
win32.c
|
||||||
rdc.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(mstsc ${SOURCE})
|
add_executable(mstsc ${SOURCE} rdc.rc)
|
||||||
set_module_type(mstsc win32gui UNICODE)
|
set_module_type(mstsc win32gui UNICODE)
|
||||||
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
|
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
|
||||||
add_pch(mstsc precomp.h)
|
add_pch(mstsc precomp.h SOURCE)
|
||||||
add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
|
|
||||||
add_definitions(-D__USE_W32_SOCKETS)
|
add_definitions(-D__USE_W32_SOCKETS)
|
||||||
|
|
||||||
add_executable(finger
|
list(APPEND SOURCE
|
||||||
finger.c
|
finger.c
|
||||||
err.c
|
err.c
|
||||||
getopt.c
|
getopt.c
|
||||||
net.c
|
net.c
|
||||||
finger.rc)
|
precomp.h)
|
||||||
|
|
||||||
|
add_executable(finger ${SOURCE} finger.rc)
|
||||||
set_module_type(finger win32cui)
|
set_module_type(finger win32cui)
|
||||||
add_pch(finger precomp.h)
|
|
||||||
add_importlibs(finger ws2_32 msvcrt kernel32)
|
add_importlibs(finger ws2_32 msvcrt kernel32)
|
||||||
|
add_pch(finger precomp.h SOURCE)
|
||||||
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET finger DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
add_definitions(-Dlint)
|
add_definitions(-Dlint)
|
||||||
|
|
||||||
add_executable(ftp
|
list(APPEND SOURCE
|
||||||
cmds.c
|
cmds.c
|
||||||
cmdtab.c
|
cmdtab.c
|
||||||
domacro.c
|
domacro.c
|
||||||
|
@ -9,11 +9,12 @@ add_executable(ftp
|
||||||
ftp.c
|
ftp.c
|
||||||
main.c
|
main.c
|
||||||
ruserpass.c
|
ruserpass.c
|
||||||
ftp.rc)
|
precomp.h)
|
||||||
|
|
||||||
|
add_executable(ftp ${SOURCE} ftp.rc)
|
||||||
set_module_type(ftp win32cui)
|
set_module_type(ftp win32cui)
|
||||||
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
|
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
|
||||||
add_pch(ftp precomp.h)
|
add_pch(ftp precomp.h SOURCE)
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_link_libraries(ftp oldnames)
|
target_link_libraries(ftp oldnames)
|
||||||
|
|
|
@ -8,11 +8,11 @@ list(APPEND SOURCE
|
||||||
cmdHelpMsg.c
|
cmdHelpMsg.c
|
||||||
cmdPause.c
|
cmdPause.c
|
||||||
cmdContinue.c
|
cmdContinue.c
|
||||||
help.c)
|
help.c
|
||||||
|
net.h)
|
||||||
|
|
||||||
add_executable(net ${SOURCE})
|
add_executable(net ${SOURCE})
|
||||||
|
|
||||||
set_module_type(net win32cui UNICODE)
|
set_module_type(net win32cui UNICODE)
|
||||||
add_pch(net net.h)
|
|
||||||
add_importlibs(net advapi32 msvcrt kernel32)
|
add_importlibs(net advapi32 msvcrt kernel32)
|
||||||
|
add_pch(net net.h SOURCE)
|
||||||
add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET net DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,10 +1,11 @@
|
||||||
|
|
||||||
add_executable(nslookup
|
list(APPEND SOURCE
|
||||||
nslookup.c
|
nslookup.c
|
||||||
utility.c
|
utility.c
|
||||||
nslookup.rc)
|
nslookup.h)
|
||||||
|
|
||||||
add_pch(nslookup nslookup.h)
|
add_executable(nslookup ${SOURCE} nslookup.rc)
|
||||||
set_module_type(nslookup win32cui)
|
set_module_type(nslookup win32cui)
|
||||||
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
|
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
|
||||||
|
add_pch(nslookup nslookup.h SOURCE)
|
||||||
add_cd_file(TARGET nslookup DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET nslookup DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -3,7 +3,7 @@ set_cpp(WITH_EXCEPTIONS WITH_STL)
|
||||||
|
|
||||||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||||
|
|
||||||
add_executable(telnet
|
list(APPEND SOURCE
|
||||||
src/ansiprsr.cpp
|
src/ansiprsr.cpp
|
||||||
src/keytrans.cpp
|
src/keytrans.cpp
|
||||||
src/tcharmap.cpp
|
src/tcharmap.cpp
|
||||||
|
@ -23,13 +23,14 @@ add_executable(telnet
|
||||||
src/tscript.cpp
|
src/tscript.cpp
|
||||||
src/tscroll.cpp
|
src/tscroll.cpp
|
||||||
src/ttelhndl.cpp
|
src/ttelhndl.cpp
|
||||||
telnet.rc)
|
precomp.h)
|
||||||
|
|
||||||
set_module_type(telnet win32cui)
|
|
||||||
add_pch(telnet src/precomp.h)
|
|
||||||
add_importlibs(telnet ws2_32 user32 msvcrt kernel32 ntdll)
|
|
||||||
add_cd_file(TARGET telnet DESTINATION reactos/system32 FOR all)
|
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_compile_flags_language("-Wno-narrowing" "CXX")
|
add_compile_flags_language("-Wno-narrowing" "CXX")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
add_executable(telnet ${SOURCE} telnet.rc)
|
||||||
|
set_module_type(telnet win32cui)
|
||||||
|
add_importlibs(telnet ws2_32 user32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(telnet precomp.h SOURCE)
|
||||||
|
add_cd_file(TARGET telnet DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -4,10 +4,10 @@ list(APPEND SOURCE
|
||||||
main.c
|
main.c
|
||||||
settings.c
|
settings.c
|
||||||
text.c
|
text.c
|
||||||
rsrc.rc)
|
notepad.h)
|
||||||
|
|
||||||
add_executable(notepad ${SOURCE})
|
add_executable(notepad ${SOURCE} rsrc.rc)
|
||||||
set_module_type(notepad win32gui UNICODE)
|
set_module_type(notepad win32gui UNICODE)
|
||||||
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
|
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
|
||||||
add_pch(notepad notepad.h)
|
add_pch(notepad notepad.h SOURCE)
|
||||||
add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET notepad DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -15,13 +15,13 @@ list(APPEND SOURCE
|
||||||
toolbar.c
|
toolbar.c
|
||||||
treeview.c
|
treeview.c
|
||||||
winmain.c
|
winmain.c
|
||||||
rapps.rc)
|
rapps.h)
|
||||||
|
|
||||||
add_executable(rapps ${SOURCE})
|
add_executable(rapps ${SOURCE} rapps.rc)
|
||||||
add_pch(rapps rapps.h)
|
|
||||||
set_module_type(rapps win32gui UNICODE)
|
set_module_type(rapps win32gui UNICODE)
|
||||||
target_link_libraries(rapps uuid)
|
target_link_libraries(rapps uuid)
|
||||||
add_importlibs(rapps advapi32 comctl32 gdi32 urlmon wininet user32 shell32 shlwapi ole32 msvcrt kernel32 ntdll)
|
add_importlibs(rapps advapi32 comctl32 gdi32 urlmon wininet user32 shell32 shlwapi ole32 msvcrt kernel32 ntdll)
|
||||||
|
add_pch(rapps rapps.h SOURCE)
|
||||||
add_dependencies(rapps rappsmsg)
|
add_dependencies(rapps rappsmsg)
|
||||||
add_message_headers(ANSI rappsmsg.mc)
|
add_message_headers(ANSI rappsmsg.mc)
|
||||||
add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -16,12 +16,12 @@ list(APPEND SOURCE
|
||||||
security.c
|
security.c
|
||||||
settings.c
|
settings.c
|
||||||
treeview.c
|
treeview.c
|
||||||
regedit.rc)
|
regedit.h)
|
||||||
|
|
||||||
add_executable(regedit ${SOURCE})
|
add_executable(regedit ${SOURCE} regedit.rc)
|
||||||
set_module_type(regedit win32gui UNICODE)
|
set_module_type(regedit win32gui UNICODE)
|
||||||
target_link_libraries(regedit uuid)
|
target_link_libraries(regedit uuid)
|
||||||
add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
|
add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
|
||||||
add_pch(regedit regedit.h)
|
add_pch(regedit regedit.h SOURCE)
|
||||||
add_cd_file(TARGET regedit DESTINATION reactos FOR all)
|
add_cd_file(TARGET regedit DESTINATION reactos FOR all)
|
||||||
#add_subdirectory(clb)
|
#add_subdirectory(clb)
|
||||||
|
|
|
@ -10,11 +10,10 @@ list(APPEND SOURCE
|
||||||
sc.c
|
sc.c
|
||||||
start.c
|
start.c
|
||||||
usage.c
|
usage.c
|
||||||
sc.rc)
|
sc.h)
|
||||||
|
|
||||||
add_executable(sc ${SOURCE})
|
|
||||||
|
|
||||||
|
add_executable(sc ${SOURCE} sc.rc)
|
||||||
set_module_type(sc win32cui UNICODE)
|
set_module_type(sc win32cui UNICODE)
|
||||||
add_importlibs(sc advapi32 msvcrt kernel32)
|
add_importlibs(sc advapi32 msvcrt kernel32)
|
||||||
add_pch(sc sc.h)
|
add_pch(sc sc.h SOURCE)
|
||||||
add_cd_file(TARGET sc DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET sc DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
|
|
||||||
add_executable(3dtext
|
list(APPEND SOURCE
|
||||||
3dtext.c
|
3dtext.c
|
||||||
settings.c
|
settings.c
|
||||||
rsrc.rc)
|
3dtext.h)
|
||||||
|
|
||||||
|
add_executable(3dtext ${SOURCE} rsrc.rc)
|
||||||
set_module_type(3dtext win32gui UNICODE)
|
set_module_type(3dtext win32gui UNICODE)
|
||||||
add_pch(3dtext 3dtext.h)
|
|
||||||
set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
|
set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
|
||||||
target_link_libraries(3dtext scrnsave)
|
target_link_libraries(3dtext scrnsave)
|
||||||
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
|
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
|
||||||
|
add_pch(3dtext 3dtext.h SOURCE)
|
||||||
add_cd_file(TARGET 3dtext DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET 3dtext DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -3,10 +3,10 @@ list(APPEND SOURCE
|
||||||
gui.c
|
gui.c
|
||||||
misc.c
|
misc.c
|
||||||
shutdown.c
|
shutdown.c
|
||||||
shutdown.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(shutdown ${SOURCE})
|
add_executable(shutdown ${SOURCE} shutdown.rc)
|
||||||
set_module_type(shutdown win32cui UNICODE)
|
set_module_type(shutdown win32cui UNICODE)
|
||||||
add_importlibs(shutdown advapi32 user32 msvcrt powrprof kernel32)
|
add_importlibs(shutdown advapi32 user32 msvcrt powrprof kernel32)
|
||||||
add_pch(shutdown precomp.h)
|
add_pch(shutdown precomp.h SOURCE)
|
||||||
add_cd_file(TARGET shutdown DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET shutdown DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
set_cpp(WITH_RUNTIME)
|
set_cpp(WITH_RUNTIME)
|
||||||
|
|
||||||
add_executable(sndrec32
|
list(APPEND SOURCE
|
||||||
audio_format.cpp
|
audio_format.cpp
|
||||||
audio_membuffer.cpp
|
audio_membuffer.cpp
|
||||||
#audio_producer.cpp
|
#audio_producer.cpp
|
||||||
|
@ -10,8 +10,10 @@ add_executable(sndrec32
|
||||||
audio_wavein.cpp
|
audio_wavein.cpp
|
||||||
audio_waveout.cpp
|
audio_waveout.cpp
|
||||||
sndrec32.cpp
|
sndrec32.cpp
|
||||||
rsrc.rc)
|
stdafx.h)
|
||||||
|
|
||||||
|
add_executable(sndrec32 ${SOURCE} rsrc.rc)
|
||||||
set_module_type(sndrec32 win32gui UNICODE)
|
set_module_type(sndrec32 win32gui UNICODE)
|
||||||
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt kernel32 shell32)
|
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt kernel32 shell32)
|
||||||
|
add_pch(sndrec32 stdafx.h SOURCE)
|
||||||
add_cd_file(TARGET sndrec32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET sndrec32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -4,10 +4,10 @@ list(APPEND SOURCE
|
||||||
misc.c
|
misc.c
|
||||||
mixer.c
|
mixer.c
|
||||||
sndvol32.c
|
sndvol32.c
|
||||||
sndvol32.rc)
|
sndvol32.h)
|
||||||
|
|
||||||
add_executable(sndvol32 ${SOURCE})
|
add_executable(sndvol32 ${SOURCE} sndvol32.rc)
|
||||||
set_module_type(sndvol32 win32gui UNICODE)
|
set_module_type(sndvol32 win32gui UNICODE)
|
||||||
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
|
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
|
||||||
add_pch(sndvol32 sndvol32.h)
|
add_pch(sndvol32 sndvol32.h SOURCE)
|
||||||
add_cd_file(TARGET sndvol32 DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET sndvol32 DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -18,10 +18,10 @@ list(APPEND SOURCE
|
||||||
trayicon.c
|
trayicon.c
|
||||||
taskmgr.c
|
taskmgr.c
|
||||||
graphctl.c
|
graphctl.c
|
||||||
taskmgr.rc)
|
precomp.h)
|
||||||
|
|
||||||
add_executable(taskmgr ${SOURCE})
|
add_executable(taskmgr ${SOURCE} taskmgr.rc)
|
||||||
set_module_type(taskmgr win32gui UNICODE)
|
set_module_type(taskmgr win32gui UNICODE)
|
||||||
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
|
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
|
||||||
add_pch(taskmgr precomp.h)
|
add_pch(taskmgr precomp.h SOURCE)
|
||||||
add_cd_file(TARGET taskmgr DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET taskmgr DESTINATION reactos/system32 FOR all)
|
||||||
|
|
|
@ -12,11 +12,16 @@ list(APPEND SOURCE
|
||||||
hlpfile.c
|
hlpfile.c
|
||||||
macro.c
|
macro.c
|
||||||
macro.lex.yy.c
|
macro.lex.yy.c
|
||||||
string.c
|
winhelp.c
|
||||||
winhelp.c)
|
winhelp.h)
|
||||||
|
|
||||||
|
add_executable(winhlp32
|
||||||
|
${SOURCE}
|
||||||
|
string.c
|
||||||
|
rsrc.rc)
|
||||||
|
|
||||||
add_executable(winhlp32 ${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 winhelp.h SOURCE)
|
||||||
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
|
add_cd_file(TARGET winhlp32 DESTINATION reactos FOR all)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue