- 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
39 files changed:
add_subdirectory(charmap)
add_subdirectory(cmdutils)
add_subdirectory(control)
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(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(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(notepad)
-#add_subdirectory(paint)
#add_subdirectory(rapps)
#add_subdirectory(regedit)
#add_subdirectory(rapps)
#add_subdirectory(regedit)
-#add_subdirectory(regedt32)
-#add_subdirectory(sc)
+add_subdirectory(regedt32)
+add_subdirectory(sc)
#add_subdirectory(screensavers)
#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(wordpad)
-#add_subdirectory(write)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+add_executable(magnify
+ magnifier.c
+ settings.c
+ magnify.rc)
+
+set_module_type(magnify win32gui)
+
+add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+add_subdirectory(devmgmt)
+add_subdirectory(eventvwr)
+add_subdirectory(servman)
--- /dev/null
+
+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)
--- /dev/null
+
+set_unicode()
+
+add_executable(eventvwr eventvwr.c eventvwr.rc)
+
+set_module_type(eventvwr win32gui)
+
+add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+add_executable(arp arp.c arp.rc)
+
+set_module_type(arp win32cui)
+
+add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt)
--- /dev/null
+
+set_unicode()
+
+add_executable(dwnl dwnl.c)
+
+set_module_type(dwnl win32cui)
+
+target_link_libraries(dwnl uuid)
+
+add_importlibs(dwnl urlmon wininet uuid msvcrt)
--- /dev/null
+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)
--- /dev/null
+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)
--- /dev/null
+
+add_executable(ipconfig ipconfig.c ipconfig.rc)
+
+set_module_type(ipconfig win32cui)
+
+add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt)
--- /dev/null
+
+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)
--- /dev/null
+
+add_executable(netstat netstat.c netstat.rc)
+
+set_module_type(netstat win32cui)
+
+add_importlibs(netstat user32 ws2_32 snmpapi iphlpapi msvcrt)
--- /dev/null
+
+add_executable(nslookup
+ nslookup.c
+ utility.c
+ nslookup.rc)
+
+set_module_type(nslookup win32cui)
+
+add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt)
--- /dev/null
+add_definitions(-D__USE_W32_SOCKETS)
+
+add_executable(ping ping.c ping.rc)
+
+set_module_type(ping win32cui)
+
+add_importlibs(ping ws2_32 msvcrt)
--- /dev/null
+
+set_unicode()
+
+add_executable(route route.c route.rc)
+
+set_module_type(route win32cui)
+add_importlibs(route ws2_32 iphlpapi msvcrt)
--- /dev/null
+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)
--- /dev/null
+add_definitions(-D__USE_W32_SOCKETS)
+
+add_executable(tracert tracert.c tracert.rc)
+
+set_module_type(tracert win32cui)
+
+add_importlibs(tracert ws2_32 msvcrt)
--- /dev/null
+
+add_executable(whois whois.c whois.rc)
+
+set_module_type(whois win32cui)
+
+add_importlibs(whois ws2_32 msvcrt)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+set_unicode()
+
+add_executable(regedt32 regedt32.c resource.rc)
+
+set_module_type(regedt32 win32gui)
+
+add_importlibs(regedt32 shell32 shlwapi msvcrt)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+
+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)
--- /dev/null
+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)
--- /dev/null
+
+set_unicode()
+
+add_executable(winver winver.c)
+
+set_module_type(winver win32gui)
+
+add_importlibs(winver shell32 msvcrt)
--- /dev/null
+
+set_unicode()
+
+add_executable(write write.c rsrc.rc)
+
+set_module_type(write win32gui)
+
+add_importlibs(write user32 gdi32 msvcrt)