- Improve several modules.

svn path=/branches/cmake-bringup/; revision=50055
This commit is contained in:
Amine Khaldi 2010-12-17 21:54:56 +00:00
parent 79c58d8279
commit f4cc19c36a
259 changed files with 545 additions and 658 deletions

View file

@ -11,5 +11,4 @@ add_pch(cacls ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
set_module_type(cacls win32cui)
add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
add_cab_target(cacls 1)
add_cab_target(cacls 1)

View file

@ -18,4 +18,4 @@ if(MSVC)
add_importlibs(calc ntdll)
endif()
add_cab_target(calc 1)
add_cab_target(calc 1)

View file

@ -18,4 +18,4 @@ set_module_type(charmap win32gui)
add_importlibs(charmap user32 gdi32 comctl32 kernel32 msvcrt)
add_cab_target(charmap 1)
add_cab_target(charmap 1)

View file

@ -1,7 +1,5 @@
add_executable(dbgprint dbgprint.c)
set_module_type(dbgprint win32cui)
add_importlibs(dbgprint msvcrt kernel32)
add_cab_target(dbgprint 1)
add_cab_target(dbgprint 1)

View file

@ -5,5 +5,4 @@ add_executable(doskey doskey.c doskey.rc)
set_module_type(doskey win32cui)
add_importlibs(doskey user32 msvcrt kernel32)
add_cab_target(doskey 1)
add_cab_target(doskey 1)

View file

@ -4,5 +4,4 @@ add_executable(find find.c find.rc)
set_module_type(find win32cui)
add_importlibs(find user32 msvcrt kernel32)
add_cab_target(find 1)
add_cab_target(find 1)

View file

@ -4,5 +4,4 @@ add_executable(hostname hostname.c hostname.rc)
set_module_type(hostname win32cui)
add_importlibs(hostname msvcrt kernel32)
add_cab_target(hostname 1)
add_cab_target(hostname 1)

View file

@ -5,5 +5,4 @@ add_executable(lodctr lodctr_main.c)
set_module_type(lodctr win32cui)
add_importlibs(lodctr loadperf msvcrt kernel32)
add_cab_target(lodctr 1)
add_cab_target(lodctr 1)

View file

@ -3,5 +3,4 @@ add_executable(more more.c more.rc)
set_module_type(more win32cui)
add_importlibs(more user32 msvcrt kernel32)
add_cab_target(more 1)
add_cab_target(more 1)

View file

@ -8,5 +8,4 @@ add_executable(reg reg.c rsrc.rc)
set_module_type(reg win32cui)
add_importlibs(reg advapi32 user32 msvcrt kernel32)
add_cab_target(reg 1)
add_cab_target(reg 1)

View file

@ -7,5 +7,4 @@ target_link_libraries(xcopy wine)
set_module_type(xcopy win32cui)
add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
add_cab_target(xcopy 1)
add_cab_target(xcopy 1)

View file

@ -5,5 +5,4 @@ add_executable(control control.c control.rc)
set_module_type(control win32gui)
add_importlibs(control advapi32 shell32 msvcrt kernel32)
add_cab_target(control 1)
add_cab_target(control 1)

View file

@ -29,4 +29,4 @@ target_link_libraries(dxdiag dxguid)
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32)
add_cab_target(dxdiag 1)
add_cab_target(dxdiag 1)

View file

@ -7,5 +7,4 @@ target_link_libraries(extrac32 wine)
set_module_type(extrac32 win32gui)
add_importlibs(extrac32 shell32 setupapi shlwapi user32 msvcrt kernel32 ntdll)
add_cab_target(extrac32 1)
add_cab_target(extrac32 1)

View file

@ -7,4 +7,4 @@ add_executable(fontview
set_module_type(fontview win32gui)
add_importlibs(fontview gdi32 shell32 user32 msvcrt kernel32)
add_cab_target(fontview 1)
add_cab_target(fontview 1)

View file

@ -16,4 +16,4 @@ set_module_type(sol win32gui)
add_importlibs(sol advapi32 comctl32 user32 gdi32 kernel32 msvcrt)
add_cab_target(sol 1)
add_cab_target(sol 1)

View file

@ -17,4 +17,4 @@ set_module_type(spider win32gui)
add_importlibs(spider advapi32 comctl32 user32 gdi32 kernel32 msvcrt)
add_cab_target(spider 1)
add_cab_target(spider 1)

View file

@ -12,4 +12,4 @@ set_module_type(winmine win32gui)
target_link_libraries(winmine wine)
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
add_cab_target(winmine 1)
add_cab_target(winmine 1)

View file

@ -1,7 +1,5 @@
add_executable(hh main.c hh.rc)
set_module_type(hh win32gui)
add_importlibs(hh gdi32 user32 msvcrt kernel32)
add_cab_target(hh 4)
add_cab_target(hh 4)

View file

@ -1,7 +1,5 @@
add_executable(iexplore main.c iexplore.rc)
set_module_type(iexplore win32gui)
add_importlibs(iexplore shdocvw msvcrt kernel32)
add_cab_target(iexplore 4)
add_cab_target(iexplore 4)

View file

@ -1,11 +1,15 @@
set_unicode()
add_library(kbsdll SHARED kbsdll.c kbsdll.rc ${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def)
spec2def(kbsdll.dll kbsdll.spec)
list(APPEND SOURCE
kbsdll.c
kbsdll.rc
${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def)
add_library(kbsdll SHARED ${SOURCE})
set_module_type(kbsdll win32dll)
add_importlibs(kbsdll user32 comctl32 kernel32 msvcrt)
add_cab_target(kbsdll 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
list(APPEND SOURCE
@ -10,7 +11,5 @@ 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 kernel32)
add_cab_target(logoff 1)
add_cab_target(logoff 1)

View file

@ -5,7 +5,5 @@ add_executable(magnify
magnify.rc)
set_module_type(magnify win32gui)
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
add_cab_target(magnify 1)
add_cab_target(magnify 1)

View file

@ -12,5 +12,4 @@ add_executable(mmcclient ${CMAKE_CURRENT_BINARY_DIR}/mmcclient_precomp.h.gch ${S
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 kernel32)

View file

@ -4,7 +4,5 @@ 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 kernel32)
add_cab_target(mplay32 1)
add_cab_target(mplay32 1)

View file

@ -16,7 +16,5 @@ add_executable(msconfig ${CMAKE_CURRENT_BINARY_DIR}/msconfig_precomp.h.gch ${SOU
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 kernel32)
add_cab_target(msconfig 1)
add_cab_target(msconfig 1)

View file

@ -14,7 +14,5 @@ add_executable(devmgmt ${CMAKE_CURRENT_BINARY_DIR}/devmgmt_precomp.h.gch ${SOURC
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 kernel32)
add_cab_target(devmgmt 1)
add_cab_target(devmgmt 1)

View file

@ -10,4 +10,4 @@ if(MSVC)
add_importlibs(eventvwr ntdll)
endif()
add_cab_target(eventvwr 1)
add_cab_target(eventvwr 1)

View file

@ -31,4 +31,4 @@ set_module_type(servman win32gui)
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
add_cab_target(servman 1)
add_cab_target(servman 1)

View file

@ -31,4 +31,4 @@ set_module_type(mstsc win32gui)
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
add_cab_target(mstsc 1)
add_cab_target(mstsc 1)

View file

@ -5,4 +5,4 @@ set_module_type(arp win32cui)
add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt kernel32)
add_cab_target(arp 1)
add_cab_target(arp 1)

View file

@ -13,4 +13,4 @@ if(MSVC)
add_importlibs(dwnl ntdll)
endif()
add_cab_target(dwnl 1)
add_cab_target(dwnl 1)

View file

@ -1,5 +1,7 @@
add_definitions(-D__USE_W32_SOCKETS)
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D__USE_W32_SOCKETS
-D_DLL -D__USE_CRTIMP)
add_executable(finger
finger.c
@ -9,7 +11,5 @@ add_executable(finger
finger.rc)
set_module_type(finger win32cui)
add_importlibs(finger ws2_32 msvcrt kernel32)
add_cab_target(finger 1)
add_cab_target(finger 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
add_executable(ftp
@ -18,4 +19,4 @@ target_link_libraries(ftp oldnames)
add_importlibs(ftp ntdll)
endif()
add_cab_target(ftp 1)
add_cab_target(ftp 1)

View file

@ -1,8 +1,5 @@
add_executable(ipconfig ipconfig.c ipconfig.rc)
set_module_type(ipconfig win32cui)
add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt kernel32)
add_cab_target(ipconfig 1)
add_cab_target(ipconfig 1)

View file

@ -11,7 +11,5 @@ list(APPEND SOURCE
add_executable(net ${SOURCE})
set_module_type(net win32cui)
add_importlibs(net ws2_32 msvcrt kernel32)
add_cab_target(net 1)
add_cab_target(net 1)

View file

@ -1,8 +1,5 @@
add_executable(netstat netstat.c netstat.rc)
set_module_type(netstat win32cui)
add_importlibs(netstat user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
add_cab_target(netstat 1)
add_cab_target(netstat 1)

View file

@ -5,7 +5,5 @@ add_executable(nslookup
nslookup.rc)
set_module_type(nslookup win32cui)
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
add_cab_target(nslookup 1)
add_cab_target(nslookup 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D__USE_W32_SOCKETS)
add_executable(ping ping.c ping.rc)
@ -9,4 +10,4 @@ if(MSVC)
add_importlibs(ping ntdll)
endif()
add_cab_target(ping 1)
add_cab_target(ping 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
@ -6,5 +7,4 @@ add_executable(route route.c route.rc)
set_module_type(route win32cui)
add_importlibs(route ws2_32 iphlpapi msvcrt kernel32)
add_cab_target(route 1)
add_cab_target(route 1)

View file

@ -1,3 +1,4 @@
add_definitions(
-D_CRT_NONSTDC_NO_DEPRECATE
-D_DLL -D__USE_CRTIMP)
@ -27,7 +28,5 @@ add_executable(telnet
telnet.rc)
set_module_type(telnet win32cui)
add_importlibs(telnet ws2_32 user32 kernel32 msvcrt)
add_cab_target(telnet 1)
add_cab_target(telnet 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D__USE_W32_SOCKETS)
add_executable(tracert tracert.c tracert.rc)
@ -9,4 +10,4 @@ if(MSVC)
add_importlibs(tracert ntdll)
endif()
add_cab_target(tracert 1)
add_cab_target(tracert 1)

View file

@ -1,9 +1,8 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
add_executable(whois whois.c whois.rc)
set_module_type(whois win32cui)
add_importlibs(whois ws2_32 msvcrt kernel32)
add_cab_target(whois 1)
add_cab_target(whois 1)

View file

@ -1,18 +1,17 @@
list(APPEND SOURCE
dialog.c
main.c
settings.c
text.c
rsrc.rc)
set_rc_compiler()
add_pch(notepad ${CMAKE_CURRENT_SOURCE_DIR}/notepad.h ${SOURCE})
add_executable(notepad ${CMAKE_CURRENT_BINARY_DIR}/notepad_notepad.h.gch ${SOURCE})
set_module_type(notepad win32gui)
add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
add_cab_target(notepad 1)
add_cab_target(notepad 1)

View file

@ -17,7 +17,5 @@ add_executable(paint
rsrc.rc)
set_module_type(paint win32gui)
add_importlibs(paint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
add_cab_target(paint 1)
add_cab_target(paint 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()

View file

@ -10,7 +10,5 @@ add_library(clb SHARED
${CMAKE_CURRENT_BINARY_DIR}/clb.def)
set_module_type(clb win32dll)
add_importlibs(clb user32 gdi32 comctl32 kernel32 ntdll)

View file

@ -4,7 +4,5 @@ set_unicode()
add_executable(regedt32 regedt32.c resource.rc)
set_module_type(regedt32 win32gui)
add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
add_cab_target(regedt32 1)
add_cab_target(regedt32 1)

View file

@ -18,7 +18,5 @@ 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 kernel32)
add_cab_target(sc 1)
add_cab_target(sc 1)

View file

@ -13,4 +13,4 @@ set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
target_link_libraries(3dtext scrnsave)
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
add_cab_target(3dtext 1)
add_cab_target(3dtext 1)

View file

@ -1,2 +1,3 @@
add_subdirectory(3dtext)
add_subdirectory(logon)
add_subdirectory(logon)

View file

@ -1,14 +1,12 @@
set_rc_compiler()
set_unicode()
add_executable(logon
logon.c
logon.rc)
add_executable(logon logon.c logon.rc)
set_module_type(logon win32gui)
set_target_properties(logon PROPERTIES SUFFIX ".scr")
target_link_libraries(logon scrnsave)
add_importlibs(logon user32 gdi32 msvcrt kernel32)
add_cab_target(logon 1)
add_cab_target(logon 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
list(APPEND SOURCE
@ -10,6 +11,5 @@ add_executable(shutdown ${CMAKE_CURRENT_BINARY_DIR}/shutdown_precomp.h.gch ${SOU
add_pch(shutdown ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
set_module_type(shutdown win32cui)
add_importlibs(shutdown advapi32 user32 msvcrt kernel32)
add_cab_target(shutdown 1)
add_cab_target(shutdown 1)

View file

@ -11,7 +11,5 @@ add_executable(sndrec32
rsrc.rc)
target_link_libraries(sndrec32 stlport)
set_module_type(sndrec32 win32gui)
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
@ -13,7 +14,5 @@ add_executable(sndvol32 ${CMAKE_CURRENT_BINARY_DIR}/sndvol32_sndvol32.h.gch ${SO
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 kernel32 ntdll)
add_cab_target(sndvol32 1)
add_cab_target(sndvol32 1)

View file

@ -27,7 +27,5 @@ add_executable(taskmgr ${CMAKE_CURRENT_BINARY_DIR}/taskmgr_precomp.h.gch ${SOURC
add_pch(taskmgr ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
set_module_type(taskmgr win32gui)
add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
add_cab_target(taskmgr 1)
add_cab_target(taskmgr 1)

View file

@ -21,4 +21,4 @@ set_module_type(winhlp32 win32gui)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
add_cab_target(winhlp32 4)
add_cab_target(winhlp32 4)

View file

@ -2,9 +2,6 @@
set_unicode()
add_executable(winver winver.c)
set_module_type(winver win32gui)
add_importlibs(winver shell32 msvcrt kernel32)
add_cab_target(winver 1)
add_cab_target(winver 1)

View file

@ -1,3 +1,12 @@
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(
-D__ROS_LONG64__
-D_DLL -D__USE_CRTIMP)
set_rc_compiler()
list(APPEND SOURCE
olecallback.c
print.c
@ -5,19 +14,10 @@ list(APPEND SOURCE
wordpad.c
rsrc.rc)
add_definitions(
-D__ROS_LONG64__
-D_DLL -D__USE_CRTIMP)
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
add_executable(wordpad ${SOURCE})
set_module_type(wordpad win32gui)
target_link_libraries(wordpad wine uuid)
add_importlibs(wordpad comdlg32 ole32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32 ntdll)
add_cab_target(wordpad 1)
add_cab_target(wordpad 1)

View file

@ -2,9 +2,6 @@
set_unicode()
add_executable(write write.c rsrc.rc)
set_module_type(write win32gui)
add_importlibs(write user32 gdi32 msvcrt kernel32)
add_cab_target(write 1)
add_cab_target(write 1)

View file

@ -12,4 +12,4 @@ add_executable(audiosrv
set_module_type(audiosrv win32cui)
add_importlibs(audiosrv advapi32 user32 setupapi msvcrt kernel32)
add_cab_target(audiosrv 1)
add_cab_target(audiosrv 1)

View file

@ -17,6 +17,5 @@ target_link_libraries(eventlog eventlogrpc_server ${PSEH_LIB})
add_pch(eventlog ${CMAKE_CURRENT_SOURCE_DIR}/eventlog.h ${SOURCE})
set_module_type(eventlog win32cui)
add_importlibs(eventlog advapi32 rpcrt4 msvcrt kernel32 ntdll)
add_cab_target(eventlog 1)
add_cab_target(eventlog 1)

View file

@ -20,4 +20,4 @@ set_module_type(rpcss win32cui)
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
add_cab_target(rpcss 1)
add_dependencies(rpcss winesdk)
add_dependencies(rpcss winesdk)

View file

@ -7,4 +7,4 @@ target_link_libraries(spoolsv wine)
set_module_type(spoolsv win32cui)
add_importlibs(spoolsv advapi32 msvcrt kernel32 ntdll)
add_cab_target(spoolsv 1)
add_cab_target(spoolsv 1)

View file

@ -3,4 +3,4 @@ add_executable(svchost svchost.c svchost.rc)
set_module_type(svchost win32cui)
add_importlibs(svchost advapi32 msvcrt kernel32 ntdll)
add_cab_target(svchost 1)
add_cab_target(svchost 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
add_executable(telnetd
@ -9,5 +10,4 @@ target_link_libraries(telnetd wine)
set_module_type(telnetd win32cui)
add_importlibs(telnetd advapi32 ws2_32 msvcrt kernel32 ntdll)
add_cab_target(telnetd 1)
add_cab_target(telnetd 1)

View file

@ -1,20 +1,14 @@
set_unicode()
include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_executable(umpnpmgr umpnpmgr.c umpnpmgr.rc)
target_link_libraries(umpnpmgr pnp_server wdmguid ${PSEH_LIB})
set_module_type(umpnpmgr win32cui)
add_importlibs(umpnpmgr
advapi32
rpcrt4
userenv
msvcrt
kernel32
ntdll)
add_cab_target(umpnpmgr 1)
add_importlibs(umpnpmgr advapi32 rpcrt4 userenv msvcrt kernel32 ntdll)
add_cab_target(umpnpmgr 1)

View file

@ -7,12 +7,5 @@ add_executable(wlansvc wlansvc.c rpcserver.c)
target_link_libraries(wlansvc wlansvc_server ${PSEH_LIB})
set_module_type(wlansvc win32cui)
add_importlibs(wlansvc
advapi32
rpcrt4
iphlpapi
msvcrt
kernel32
ntdll)
add_cab_target(wlansvc 1)
add_importlibs(wlansvc advapi32 rpcrt4 iphlpapi msvcrt kernel32 ntdll)
add_cab_target(wlansvc 1)

View file

@ -6,13 +6,5 @@ add_executable(reactos reactos.c reactos.rc)
target_link_libraries(reactos uuid)
set_module_type(reactos win32gui)
add_importlibs(reactos
gdi32
user32
comctl32
setupapi
msvcrt
kernel32
ntdll)
add_minicd_target(reactos reactos)
add_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
add_minicd_target(reactos reactos)

View file

@ -5,4 +5,4 @@ add_executable(setup setup.c setup.rc)
set_module_type(setup win32gui)
add_importlibs(setup userenv msvcrt kernel32 ntdll)
add_cab_target(setup 1)
add_cab_target(setup 1)

View file

@ -1,7 +1,8 @@
include_directories(${REACTOS_SOURCE_DIR}/lib/newinflib)
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
include_directories(
${REACTOS_SOURCE_DIR}/lib/newinflib
${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib
${REACTOS_SOURCE_DIR}/include/reactos/drivers)
add_executable(usetup
interface/usetup.c

View file

@ -18,4 +18,4 @@ add_importlibs(vmwinst
kernel32
ntdll)
add_cab_target(vmwinst 1)
add_cab_target(vmwinst 1)

View file

@ -5,5 +5,4 @@ add_executable(welcome welcome.c welcome.rc)
set_module_type(welcome win32gui)
add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
add_minicd_target(welcome reactos)
add_minicd_target(welcome reactos)

View file

@ -1,8 +1,9 @@
set_unicode()
add_definitions(-DANONYMOUSUNIONS)
add_definitions(-D_DEBUG_MEM)
add_definitions(
-DANONYMOUSUNIONS
-D_DEBUG_MEM)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
@ -76,4 +77,4 @@ target_link_libraries(cmd wine)
add_pch(cmd ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h SOURCE)
set_module_type(cmd win32cui)
add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
add_cab_target(cmd 1)
add_cab_target(cmd 1)

View file

@ -35,4 +35,4 @@ add_importlibs(explorer_new
kernel32
ntdll)
add_cab_target(explorer_new 4)
add_cab_target(explorer_new 4)

View file

@ -14,5 +14,4 @@ set_module_type(notifyhook win32dll)
add_importlibs(notifyhook user32 msvcrt kernel32)
add_importlib_target(notifyhook.spec)
add_cab_target(notifyhook 1)

View file

@ -5,4 +5,4 @@ set_module_type(autochk nativecui)
target_link_libraries(autochk mingw_common nt)
add_importlibs(autochk kernel32 ntdll)
add_cab_target(autochk 1)
add_cab_target(autochk 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
@ -5,7 +6,5 @@ set_unicode()
add_executable(bootok bootok.c bootok.rc)
set_module_type(bootok win32cui)
add_importlibs(bootok advapi32 msvcrt kernel32 ntdll)
add_cab_target(bootok 1)
add_cab_target(bootok 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
@ -5,7 +6,5 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_executable(expand expand.c expand.rc)
set_module_type(expand win32cui)
add_importlibs(expand lz32 setupapi user32 msvcrt kernel32 ntdll)
add_cab_target(expand 1)
add_cab_target(expand 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(.)
@ -6,7 +7,5 @@ set_rc_compiler()
add_executable(format format.c format.rc)
set_module_type(format win32cui)
add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
add_cab_target(format 1)
add_cab_target(format 1)

View file

@ -6,6 +6,5 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
add_executable(lsass lsass.c lsass.rc)
set_module_type(lsass win32gui)
add_importlibs(lsass advapi32 lsasrv msvcrt kernel32 ntdll)
add_cab_target(lsass 1)
add_cab_target(lsass 1)

View file

@ -1,7 +1,9 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D_DLL -D__USE_CRTIMP
-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/wine)
add_definitions(-D__WINESRC__)
add_executable(msiexec
msiexec.c
@ -11,7 +13,5 @@ add_executable(msiexec
set_module_type(msiexec win32gui)
target_link_libraries(msiexec uuid wine)
add_importlibs(msiexec user32 advapi32 ole32 msi msvcrt kernel32 ntdll)
add_cab_target(msiexec 1)
add_cab_target(msiexec 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
@ -7,7 +8,5 @@ set_rc_compiler()
add_executable(regsvr32 regsvr32.c regsvr32.rc)
set_module_type(regsvr32 win32gui)
add_importlibs(regsvr32 user32 shell32 ole32 msvcrt kernel32 ntdll)
add_cab_target(regsvr32 1)
add_cab_target(regsvr32 1)

View file

@ -6,6 +6,5 @@ set_rc_compiler()
add_executable(rundll32 rundll32.c rundll32.rc)
set_module_type(rundll32 win32gui)
add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
add_cab_target(rundll32 1)
add_cab_target(rundll32 1)

View file

@ -4,7 +4,5 @@ set_unicode()
add_executable(runonce runonce.c runonce.rc)
set_module_type(runonce win32gui)
add_importlibs(runonce advapi32 user32 msvcrt kernel32 ntdll)
add_cab_target(runonce 1)
add_cab_target(runonce 1)

View file

@ -1,7 +1,9 @@
set_unicode()
include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
include_directories(
${REACTOS_BINARY_DIR}/include/reactos/idl
${REACTOS_SOURCE_DIR}/include/reactos/subsys)
list(APPEND SOURCE
config.c
@ -21,6 +23,5 @@ target_link_libraries(services
add_pch(services ${CMAKE_CURRENT_SOURCE_DIR}/services.h ${SOURCE})
set_module_type(services win32cui)
add_importlibs(services user32 advapi32 rpcrt4 msvcrt kernel32 ntdll)
add_cab_target(services 1)
add_cab_target(services 1)

View file

@ -1,3 +1,4 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
list(APPEND SOURCE
@ -30,4 +31,4 @@ add_pch(smss ${CMAKE_CURRENT_SOURCE_DIR}/smss.h ${SOURCE})
set_module_type(smss nativecui)
add_importlibs(smss ntdll)
add_cab_target(smss 1)
add_cab_target(smss 1)

View file

@ -15,6 +15,5 @@ target_link_libraries(winlogon wine)
add_pch(winlogon ${CMAKE_CURRENT_SOURCE_DIR}/winlogon.h ${SOURCE})
set_module_type(winlogon win32gui)
add_importlibs(winlogon user32 advapi32 userenv secur32 msvcrt kernel32 ntdll)
add_cab_target(winlogon 1)
add_cab_target(winlogon 1)

View file

@ -1,8 +1,9 @@
set_unicode()
add_definitions(-D_WIN32)
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D_WIN32
-D_DLL -D__USE_CRTIMP)
spec2def(desk.cpl desk.spec)

View file

@ -14,8 +14,6 @@ add_library(powercfg SHARED
set_module_type(powercfg cpl)
add_importlibs(powercfg
msvcrt
user32

View file

@ -1,7 +1,9 @@
add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(amstream.dll amstream.spec)

View file

@ -9,4 +9,4 @@ add_importlibs(d3d8thk gdi32)
add_dependencies(d3d8thk psdk buildno_header)
add_cab_target(d3d8thk 1)
add_cab_target(d3d8thk 1)

View file

@ -3,6 +3,7 @@ set_unicode()
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(devenum.dll devenum.spec)
@ -34,5 +35,4 @@ add_importlibs(devenum
kernel32
ntdll)
add_cab_target(devenum 1)

View file

@ -3,6 +3,7 @@ set_unicode()
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(dinput.dll dinput.spec)
@ -36,6 +37,5 @@ add_importlibs(dinput
kernel32
ntdll)
add_cab_target(dinput 1)
add_importlib_target(dinput.spec)

View file

@ -3,6 +3,7 @@ set_unicode()
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(dinput8.dll dinput8.spec)
@ -32,4 +33,4 @@ add_importlibs(dinput8
add_dependencies(dinput8 psdk buildno_header)
add_cab_target(dinput8 1)
add_importlib_target(dinput8.spec)
add_importlib_target(dinput8.spec)

View file

@ -2,8 +2,10 @@
set_unicode()
add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(dmusic.dll dmusic.spec)
@ -39,4 +41,4 @@ add_importlibs(dmusic
add_dependencies(dmusic psdk buildno_header)
add_cab_target(dmusic 1)
add_cab_target(dmusic 1)

View file

@ -1,3 +1,4 @@
set_rc_compiler()
spec2def(dplayx.dll dplayx.spec)

View file

@ -1,6 +1,8 @@
add_definitions(-D_WINE)
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D_WINE
-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(dsound.dll dsound.spec)
@ -36,6 +38,5 @@ add_importlibs(dsound
kernel32
ntdll)
add_cab_target(dsound 1)
add_importlib_target(dsound.spec)

View file

@ -14,9 +14,7 @@ add_library(dxdiagn SHARED
set_module_type(dxdiagn win32dll)
target_link_libraries(dxdiagn
uuid
wine)
target_link_libraries(dxdiagn uuid wine)
add_importlibs(dxdiagn
user32

View file

@ -1,8 +1,8 @@
spec2def(ksproxy.ax ksproxy.spec)
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D_DLL -D__USE_CRTIMP
-DNATIVE_CPP_INCLUDE=${REACTOS_SOURCE_DIR}/include/c++
-DNATIVE_C_INCLUDE=${REACTOS_SOURCE_DIR}/include/crt)

Some files were not shown because too many files have changed in this diff Show more