mirror of
https://github.com/reactos/reactos.git
synced 2025-07-23 10:43:52 +00:00
[CMAKE]
- Add almost all base applications (some are included but disabled too). This is the work of a human being, so no bots BS, no rbuildism, every single module was tested, built with the new build system mentality (no defines and linked libs redundancy, use of the the available macros, the linked libs are carefully selected, the dependencies are correctly tracked... etc) - Brought to you by Alexey Komarov, with my humble review. svn path=/branches/cmake-bringup/; revision=48973
This commit is contained in:
parent
40f47f612c
commit
12c54162f5
39 changed files with 570 additions and 19 deletions
|
@ -4,33 +4,33 @@ add_subdirectory(calc)
|
|||
add_subdirectory(charmap)
|
||||
add_subdirectory(cmdutils)
|
||||
add_subdirectory(control)
|
||||
#add_subdirectory(dxdiag)
|
||||
add_subdirectory(dxdiag)
|
||||
add_subdirectory(extrac32)
|
||||
add_subdirectory(fontview)
|
||||
add_subdirectory(games)
|
||||
add_subdirectory(hh)
|
||||
add_subdirectory(iexplore)
|
||||
#add_subdirectory(kbswitch)
|
||||
#add_subdirectory(logoff)
|
||||
#add_subdirectory(magnify)
|
||||
add_subdirectory(kbswitch)
|
||||
add_subdirectory(logoff)
|
||||
add_subdirectory(magnify)
|
||||
#add_subdirectory(mmc)
|
||||
#add_subdirectory(mplay32)
|
||||
#add_subdirectory(msconfig)
|
||||
#add_subdirectory(mscutils)
|
||||
#add_subdirectory(mstsc)
|
||||
#add_subdirectory(network)
|
||||
add_subdirectory(mplay32)
|
||||
add_subdirectory(msconfig)
|
||||
add_subdirectory(mscutils)
|
||||
add_subdirectory(mstsc)
|
||||
add_subdirectory(network)
|
||||
#add_subdirectory(notepad)
|
||||
#add_subdirectory(paint)
|
||||
add_subdirectory(paint)
|
||||
#add_subdirectory(rapps)
|
||||
#add_subdirectory(regedit)
|
||||
#add_subdirectory(regedt32)
|
||||
#add_subdirectory(sc)
|
||||
add_subdirectory(regedt32)
|
||||
add_subdirectory(sc)
|
||||
#add_subdirectory(screensavers)
|
||||
#add_subdirectory(shutdown)
|
||||
#add_subdirectory(sndrec32)
|
||||
#add_subdirectory(sndvol32)
|
||||
#add_subdirectory(taskmgr)
|
||||
#add_subdirectory(winhlp32)
|
||||
#add_subdirectory(winver)
|
||||
add_subdirectory(shutdown)
|
||||
add_subdirectory(sndrec32)
|
||||
add_subdirectory(sndvol32)
|
||||
add_subdirectory(taskmgr)
|
||||
add_subdirectory(winhlp32)
|
||||
add_subdirectory(winver)
|
||||
#add_subdirectory(wordpad)
|
||||
#add_subdirectory(write)
|
||||
add_subdirectory(write)
|
||||
|
|
30
base/applications/dxdiag/CMakeLists.txt
Normal file
30
base/applications/dxdiag/CMakeLists.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
system.c
|
||||
display.c
|
||||
sound.c
|
||||
music.c
|
||||
input.c
|
||||
network.c
|
||||
help.c
|
||||
dxdiag.c
|
||||
dxdiag.rc
|
||||
ddtest.c
|
||||
d3dtest.c
|
||||
d3dtest7.c
|
||||
d3dtest8.c
|
||||
d3dtest9.c)
|
||||
|
||||
add_executable(dxdiag
|
||||
${CMAKE_CURRENT_BINARY_DIR}/dxdiag_precomp.h.gch
|
||||
${SOURCE})
|
||||
|
||||
add_pch(dxdiag ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(dxdiag win32gui)
|
||||
|
||||
target_link_libraries(dxdiag dxguid)
|
||||
|
||||
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt)
|
9
base/applications/kbswitch/CMakeLists.txt
Normal file
9
base/applications/kbswitch/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(kbswitch kbswitch.c kbswitch.rc)
|
||||
|
||||
set_module_type(kbswitch win32gui)
|
||||
add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt)
|
||||
|
||||
add_subdirectory(kbsdll)
|
13
base/applications/kbswitch/kbsdll/CMakeLists.txt
Normal file
13
base/applications/kbswitch/kbsdll/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_library(kbsdll SHARED kbsdll.c kbsdll.rc)
|
||||
|
||||
spec2def(kbsdll ${CMAKE_CURRENT_SOURCE_DIR}/kbsdll.spec ${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def)
|
||||
|
||||
target_link_libraries(kbsdll ${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def)
|
||||
|
||||
set_module_type(kbsdll win32dll)
|
||||
add_importlibs(kbsdll user32 comctl32 kernel32)
|
||||
|
||||
add_dependencies(kbsdll kbsdll_def)
|
13
base/applications/logoff/CMakeLists.txt
Normal file
13
base/applications/logoff/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
misc.c
|
||||
logoff.c
|
||||
logoff.rc)
|
||||
|
||||
add_executable(logoff ${CMAKE_CURRENT_BINARY_DIR}/logoff_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(logoff ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(logoff win32cui)
|
||||
|
||||
add_importlibs(logoff advapi32 user32 msvcrt)
|
9
base/applications/magnify/CMakeLists.txt
Normal file
9
base/applications/magnify/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
add_executable(magnify
|
||||
magnifier.c
|
||||
settings.c
|
||||
magnify.rc)
|
||||
|
||||
set_module_type(magnify win32gui)
|
||||
|
||||
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt)
|
16
base/applications/mmc/CMakeLists.txt
Normal file
16
base/applications/mmc/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
console.c
|
||||
misc.c
|
||||
mmc.c
|
||||
mmc.rc)
|
||||
|
||||
add_executable(mmcclient ${CMAKE_CURRENT_BINARY_DIR}/mmcclient_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(mmcclient ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(mmcclient win32gui)
|
||||
|
||||
add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt)
|
8
base/applications/mplay32/CMakeLists.txt
Normal file
8
base/applications/mplay32/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(mplay32 mplay32.c mplay32.rc)
|
||||
|
||||
set_module_type(mplay32 win32gui)
|
||||
|
||||
add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt)
|
20
base/applications/msconfig/CMakeLists.txt
Normal file
20
base/applications/msconfig/CMakeLists.txt
Normal file
|
@ -0,0 +1,20 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
toolspage.c
|
||||
srvpage.c
|
||||
systempage.c
|
||||
startuppage.c
|
||||
freeldrpage.c
|
||||
generalpage.c
|
||||
msconfig.c
|
||||
msconfig.rc)
|
||||
|
||||
add_executable(msconfig ${CMAKE_CURRENT_BINARY_DIR}/msconfig_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(msconfig ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(msconfig win32gui)
|
||||
|
||||
add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt)
|
4
base/applications/mscutils/CMakeLists.txt
Normal file
4
base/applications/mscutils/CMakeLists.txt
Normal file
|
@ -0,0 +1,4 @@
|
|||
|
||||
add_subdirectory(devmgmt)
|
||||
add_subdirectory(eventvwr)
|
||||
add_subdirectory(servman)
|
18
base/applications/mscutils/devmgmt/CMakeLists.txt
Normal file
18
base/applications/mscutils/devmgmt/CMakeLists.txt
Normal file
|
@ -0,0 +1,18 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
devmgmt.c
|
||||
enumdevices.c
|
||||
mainwnd.c
|
||||
misc.c
|
||||
devmgmt.rc)
|
||||
|
||||
add_executable(devmgmt ${CMAKE_CURRENT_BINARY_DIR}/devmgmt_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(devmgmt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(devmgmt win32gui)
|
||||
|
||||
add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt)
|
8
base/applications/mscutils/eventvwr/CMakeLists.txt
Normal file
8
base/applications/mscutils/eventvwr/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(eventvwr eventvwr.c eventvwr.rc)
|
||||
|
||||
set_module_type(eventvwr win32gui)
|
||||
|
||||
add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt)
|
32
base/applications/mscutils/servman/CMakeLists.txt
Normal file
32
base/applications/mscutils/servman/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
control.c
|
||||
create.c
|
||||
delete.c
|
||||
dependencies_tv1.c
|
||||
dependencies_tv2.c
|
||||
export.c
|
||||
listview.c
|
||||
mainwnd.c
|
||||
misc.c
|
||||
progress.c
|
||||
propsheet.c
|
||||
propsheet_depends.c
|
||||
propsheet_general.c
|
||||
query.c
|
||||
servman.c
|
||||
start.c
|
||||
stop.c
|
||||
stop_dependencies.c
|
||||
servman.rc)
|
||||
|
||||
add_executable(servman ${CMAKE_CURRENT_BINARY_DIR}/servman_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(servman ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(servman win32gui)
|
||||
|
||||
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt)
|
32
base/applications/mstsc/CMakeLists.txt
Normal file
32
base/applications/mstsc/CMakeLists.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
bitmap.c
|
||||
bsops.c
|
||||
cache.c
|
||||
channels.c
|
||||
connectdialog.c
|
||||
iso.c
|
||||
licence.c
|
||||
mcs.c
|
||||
mppc.c
|
||||
orders.c
|
||||
pstcache.c
|
||||
rdp5.c
|
||||
rdp.c
|
||||
secure.c
|
||||
settings.c
|
||||
ssl_calls.c
|
||||
tcp.c
|
||||
uimain.c
|
||||
win32.c
|
||||
rdc.rc)
|
||||
|
||||
add_executable(mstsc ${CMAKE_CURRENT_BINARY_DIR}/mstsc_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(mstsc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(mstsc win32gui)
|
||||
|
||||
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt)
|
14
base/applications/network/CMakeLists.txt
Normal file
14
base/applications/network/CMakeLists.txt
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
add_subdirectory(arp)
|
||||
#add_subdirectory(dwnl)
|
||||
add_subdirectory(finger)
|
||||
#add_subdirectory(ftp)
|
||||
add_subdirectory(ipconfig)
|
||||
add_subdirectory(net)
|
||||
add_subdirectory(netstat)
|
||||
add_subdirectory(nslookup)
|
||||
add_subdirectory(ping)
|
||||
#add_subdirectory(route)
|
||||
add_subdirectory(telnet)
|
||||
add_subdirectory(tracert)
|
||||
#add_subdirectory(whois)
|
6
base/applications/network/arp/CMakeLists.txt
Normal file
6
base/applications/network/arp/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_executable(arp arp.c arp.rc)
|
||||
|
||||
set_module_type(arp win32cui)
|
||||
|
||||
add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt)
|
10
base/applications/network/dwnl/CMakeLists.txt
Normal file
10
base/applications/network/dwnl/CMakeLists.txt
Normal file
|
@ -0,0 +1,10 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(dwnl dwnl.c)
|
||||
|
||||
set_module_type(dwnl win32cui)
|
||||
|
||||
target_link_libraries(dwnl uuid)
|
||||
|
||||
add_importlibs(dwnl urlmon wininet uuid msvcrt)
|
12
base/applications/network/finger/CMakeLists.txt
Normal file
12
base/applications/network/finger/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
add_definitions(-D__USE_W32_SOCKETS)
|
||||
|
||||
add_executable(finger
|
||||
finger.c
|
||||
err.c
|
||||
getopt.c
|
||||
net.c
|
||||
finger.rc)
|
||||
|
||||
set_module_type(finger win32cui)
|
||||
|
||||
add_importlibs(finger ws2_32 msvcrt)
|
13
base/applications/network/ftp/CMakeLists.txt
Normal file
13
base/applications/network/ftp/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
add_executable(ftp
|
||||
cmds.c
|
||||
cmdtab.c
|
||||
domacro.c
|
||||
fake.c
|
||||
ftp.c
|
||||
main.c
|
||||
ruserpass.c
|
||||
ftp.rc)
|
||||
|
||||
set_module_type(ftp win32cui)
|
||||
|
||||
add_importlibs(ftp ws2_32 iphlpapi msvcrt)
|
6
base/applications/network/ipconfig/CMakeLists.txt
Normal file
6
base/applications/network/ipconfig/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_executable(ipconfig ipconfig.c ipconfig.rc)
|
||||
|
||||
set_module_type(ipconfig win32cui)
|
||||
|
||||
add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt)
|
15
base/applications/network/net/CMakeLists.txt
Normal file
15
base/applications/network/net/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
add_definitions(-D__USE_W32_SOCKETS)
|
||||
|
||||
list(APPEND SOURCE
|
||||
main.c
|
||||
cmdstart.c
|
||||
cmdStop.c
|
||||
help.c
|
||||
process.c)
|
||||
|
||||
add_executable(net ${SOURCE})
|
||||
|
||||
set_module_type(net win32cui)
|
||||
|
||||
add_importlibs(net ws2_32 msvcrt)
|
6
base/applications/network/netstat/CMakeLists.txt
Normal file
6
base/applications/network/netstat/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_executable(netstat netstat.c netstat.rc)
|
||||
|
||||
set_module_type(netstat win32cui)
|
||||
|
||||
add_importlibs(netstat user32 ws2_32 snmpapi iphlpapi msvcrt)
|
9
base/applications/network/nslookup/CMakeLists.txt
Normal file
9
base/applications/network/nslookup/CMakeLists.txt
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
add_executable(nslookup
|
||||
nslookup.c
|
||||
utility.c
|
||||
nslookup.rc)
|
||||
|
||||
set_module_type(nslookup win32cui)
|
||||
|
||||
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt)
|
7
base/applications/network/ping/CMakeLists.txt
Normal file
7
base/applications/network/ping/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
add_definitions(-D__USE_W32_SOCKETS)
|
||||
|
||||
add_executable(ping ping.c ping.rc)
|
||||
|
||||
set_module_type(ping win32cui)
|
||||
|
||||
add_importlibs(ping ws2_32 msvcrt)
|
7
base/applications/network/route/CMakeLists.txt
Normal file
7
base/applications/network/route/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(route route.c route.rc)
|
||||
|
||||
set_module_type(route win32cui)
|
||||
add_importlibs(route ws2_32 iphlpapi msvcrt)
|
27
base/applications/network/telnet/CMakeLists.txt
Normal file
27
base/applications/network/telnet/CMakeLists.txt
Normal file
|
@ -0,0 +1,27 @@
|
|||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
|
||||
add_executable(telnet
|
||||
src/ansiprsr.cpp
|
||||
src/keytrans.cpp
|
||||
src/tcharmap.cpp
|
||||
src/tconsole.cpp
|
||||
src/tkeydef.cpp
|
||||
src/tkeymap.cpp
|
||||
src/tmapldr.cpp
|
||||
src/tmouse.cpp
|
||||
src/tnclass.cpp
|
||||
src/tnclip.cpp
|
||||
src/tncon.cpp
|
||||
src/tnconfig.cpp
|
||||
src/tnerror.cpp
|
||||
src/tnetwork.cpp
|
||||
src/tnmain.cpp
|
||||
src/tnmisc.cpp
|
||||
src/tscript.cpp
|
||||
src/tscroll.cpp
|
||||
src/ttelhndl.cpp
|
||||
telnet.rc)
|
||||
|
||||
set_module_type(telnet win32cui)
|
||||
|
||||
add_importlibs(telnet ws2_32 user32 msvcrt)
|
7
base/applications/network/tracert/CMakeLists.txt
Normal file
7
base/applications/network/tracert/CMakeLists.txt
Normal file
|
@ -0,0 +1,7 @@
|
|||
add_definitions(-D__USE_W32_SOCKETS)
|
||||
|
||||
add_executable(tracert tracert.c tracert.rc)
|
||||
|
||||
set_module_type(tracert win32cui)
|
||||
|
||||
add_importlibs(tracert ws2_32 msvcrt)
|
6
base/applications/network/whois/CMakeLists.txt
Normal file
6
base/applications/network/whois/CMakeLists.txt
Normal file
|
@ -0,0 +1,6 @@
|
|||
|
||||
add_executable(whois whois.c whois.rc)
|
||||
|
||||
set_module_type(whois win32cui)
|
||||
|
||||
add_importlibs(whois ws2_32 msvcrt)
|
21
base/applications/paint/CMakeLists.txt
Normal file
21
base/applications/paint/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(paint
|
||||
dialogs.c
|
||||
dib.c
|
||||
drawing.c
|
||||
history.c
|
||||
main.c
|
||||
mouse.c
|
||||
palette.c
|
||||
registry.c
|
||||
selection.c
|
||||
sizebox.c
|
||||
toolsettings.c
|
||||
winproc.c
|
||||
rsrc.rc)
|
||||
|
||||
set_module_type(paint win32gui)
|
||||
|
||||
add_importlibs(paint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt)
|
31
base/applications/regedit/CMakeLists.txt
Normal file
31
base/applications/regedit/CMakeLists.txt
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
include_directories(BEFORE .)
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
childwnd.c
|
||||
edit.c
|
||||
find.c
|
||||
framewnd.c
|
||||
hexedit.c
|
||||
listview.c
|
||||
main.c
|
||||
regedit.c
|
||||
regproc.c
|
||||
security.c
|
||||
treeview.c
|
||||
regedit.rc)
|
||||
|
||||
add_pch(regedit ${CMAKE_CURRENT_SOURCE_DIR}/regedit.h ${SOURCE})
|
||||
|
||||
add_executable(regedit ${CMAKE_CURRENT_BINARY_DIR}/regedit_regedit.h.gch ${SOURCE})
|
||||
|
||||
set_module_type(regedit win32gui)
|
||||
|
||||
target_link_libraries(regedit uuid)
|
||||
|
||||
add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt)
|
||||
|
||||
#add_subdirectory(clb)
|
8
base/applications/regedt32/CMakeLists.txt
Normal file
8
base/applications/regedt32/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(regedt32 regedt32.c resource.rc)
|
||||
|
||||
set_module_type(regedt32 win32gui)
|
||||
|
||||
add_importlibs(regedt32 shell32 shlwapi msvcrt)
|
22
base/applications/sc/CMakeLists.txt
Normal file
22
base/applications/sc/CMakeLists.txt
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
set_unicode()
|
||||
add_definitions(-DDEFINE_GUID)
|
||||
|
||||
list(APPEND SOURCE
|
||||
control.c
|
||||
create.c
|
||||
delete.c
|
||||
print.c
|
||||
query.c
|
||||
sc.c
|
||||
start.c
|
||||
usage.c
|
||||
sc.rc)
|
||||
|
||||
add_executable(sc ${CMAKE_CURRENT_BINARY_DIR}/sc_sc.h.gch ${SOURCE})
|
||||
|
||||
add_pch(sc ${CMAKE_CURRENT_SOURCE_DIR}/sc.h ${SOURCE})
|
||||
|
||||
set_module_type(sc win32cui)
|
||||
|
||||
add_importlibs(sc advapi32 msvcrt)
|
13
base/applications/shutdown/CMakeLists.txt
Normal file
13
base/applications/shutdown/CMakeLists.txt
Normal file
|
@ -0,0 +1,13 @@
|
|||
|
||||
list(APPEND SOURCE
|
||||
misc.c
|
||||
shutdown.c
|
||||
shutdown.rc)
|
||||
|
||||
add_executable(shutdown ${CMAKE_CURRENT_BINARY_DIR}/shutdown_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(shutdown ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(shutdown win32cui)
|
||||
|
||||
add_importlibs(shutdown advapi32 user32 msvcrt)
|
15
base/applications/sndrec32/CMakeLists.txt
Normal file
15
base/applications/sndrec32/CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
|||
|
||||
add_executable(sndrec32
|
||||
audio_format.cpp
|
||||
audio_membuffer.cpp
|
||||
audio_producer.cpp
|
||||
audio_receiver.cpp
|
||||
audio_resampler_acm.cpp
|
||||
audio_wavein.cpp
|
||||
audio_waveout.cpp
|
||||
sndrec32.cpp
|
||||
rsrc.rc)
|
||||
|
||||
set_module_type(sndrec32 win32gui)
|
||||
|
||||
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt)
|
16
base/applications/sndvol32/CMakeLists.txt
Normal file
16
base/applications/sndvol32/CMakeLists.txt
Normal file
|
@ -0,0 +1,16 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
misc.c
|
||||
mixer.c
|
||||
sndvol32.c
|
||||
sndvol32.rc)
|
||||
|
||||
add_executable(sndvol32 ${CMAKE_CURRENT_BINARY_DIR}/sndvol32_sndvol32.h.gch ${SOURCE})
|
||||
|
||||
add_pch(sndvol32 ${CMAKE_CURRENT_SOURCE_DIR}/sndvol32.h ${SOURCE})
|
||||
|
||||
set_module_type(sndvol32 win32gui)
|
||||
|
||||
add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt)
|
31
base/applications/taskmgr/CMakeLists.txt
Normal file
31
base/applications/taskmgr/CMakeLists.txt
Normal file
|
@ -0,0 +1,31 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
list(APPEND SOURCE
|
||||
about.c
|
||||
affinity.c
|
||||
applpage.c
|
||||
column.c
|
||||
dbgchnl.c
|
||||
debug.c
|
||||
endproc.c
|
||||
graph.c
|
||||
optnmenu.c
|
||||
perfdata.c
|
||||
perfpage.c
|
||||
priority.c
|
||||
procpage.c
|
||||
proclist.c
|
||||
run.c
|
||||
trayicon.c
|
||||
taskmgr.c
|
||||
graphctl.c
|
||||
taskmgr.rc)
|
||||
|
||||
add_executable(taskmgr ${CMAKE_CURRENT_BINARY_DIR}/taskmgr_precomp.h.gch ${SOURCE})
|
||||
|
||||
add_pch(taskmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
||||
|
||||
set_module_type(taskmgr win32gui)
|
||||
|
||||
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt)
|
21
base/applications/winhlp32/CMakeLists.txt
Normal file
21
base/applications/winhlp32/CMakeLists.txt
Normal file
|
@ -0,0 +1,21 @@
|
|||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||
|
||||
add_definitions(-D__ROS_LONG64__)
|
||||
add_definitions(-D_CRT_NONSTDC_NO_DEPRECATE)
|
||||
add_definitions(-Dfileno=_fileno)
|
||||
add_definitions(-Disatty=_isatty)
|
||||
|
||||
add_executable(winhlp32
|
||||
callback.c
|
||||
hlpfile.c
|
||||
macro.c
|
||||
string.c
|
||||
winhelp.c
|
||||
lex.yy.c
|
||||
rsrc.rc)
|
||||
|
||||
set_module_type(winhlp32 win32gui)
|
||||
|
||||
target_link_libraries(winhlp32 wine)
|
||||
|
||||
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt)
|
8
base/applications/winver/CMakeLists.txt
Normal file
8
base/applications/winver/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(winver winver.c)
|
||||
|
||||
set_module_type(winver win32gui)
|
||||
|
||||
add_importlibs(winver shell32 msvcrt)
|
8
base/applications/write/CMakeLists.txt
Normal file
8
base/applications/write/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
|
||||
set_unicode()
|
||||
|
||||
add_executable(write write.c rsrc.rc)
|
||||
|
||||
set_module_type(write win32gui)
|
||||
|
||||
add_importlibs(write user32 gdi32 msvcrt)
|
Loading…
Add table
Add a link
Reference in a new issue