- 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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

View file

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

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)

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)

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)

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)

View file

@ -1,3 +1,4 @@
add_definitions(-D__USE_W32_SOCKETS)
add_executable(ping ping.c ping.rc)

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)

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)

View file

@ -1,3 +1,4 @@
add_definitions(-D__USE_W32_SOCKETS)
add_executable(tracert tracert.c tracert.rc)

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)

View file

@ -1,3 +1,4 @@
list(APPEND SOURCE
dialog.c
main.c
@ -5,14 +6,12 @@ list(APPEND SOURCE
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)

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)

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)

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)

View file

@ -1,2 +1,3 @@
add_subdirectory(3dtext)
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)

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)

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)

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)

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)

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)

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)

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)

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)

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_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_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_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
add_minicd_target(reactos reactos)

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

@ -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)

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)

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

@ -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)

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)

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)

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)

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)

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)

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)

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)

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)

View file

@ -1,3 +1,4 @@
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
list(APPEND SOURCE

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)

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

@ -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)

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)

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)

View file

@ -1,10 +1,13 @@
set_unicode()
add_definitions(-D__WINESRC__)
add_definitions(
-D__WINESRC__
-D_DLL -D__USE_CRTIMP)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(qedit.dll qedit.spec)

View file

@ -1,14 +1,18 @@
set_rc_compiler()
set_unicode()
add_definitions(-D__WINESRC__)
add_definitions(-DUSE_WIN32_OPENGL)
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
if(MSVC)
add_definitions(-FImsvchelper.h)
endif()
set_rc_compiler()
spec2def(d3d8.dll d3d8.spec)
list(APPEND SOURCE
@ -31,9 +35,7 @@ add_library(d3d8 SHARED ${SOURCE})
set_module_type(d3d8 win32dll)
target_link_libraries(d3d8
uuid
wine)
target_link_libraries(d3d8 uuid wine)
add_importlibs(d3d8
user32

View file

@ -1,14 +1,18 @@
set_rc_compiler()
set_unicode()
add_definitions(-D__WINESRC__)
add_definitions(-DUSE_WIN32_OPENGL)
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
if(MSVC)
add_definitions(-FImsvchelper.h)
endif()
set_rc_compiler()
spec2def(d3d9.dll d3d9.spec)
list(APPEND SOURCE
@ -34,9 +38,7 @@ add_library(d3d9 SHARED ${SOURCE})
set_module_type(d3d9 win32dll)
target_link_libraries(d3d9
uuid
wine)
target_link_libraries(d3d9 uuid wine)
add_importlibs(d3d9
user32

View file

@ -1,3 +1,14 @@
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
if(MSVC)
add_definitions(/FIwine/typeof.h)
endif()
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(ddraw.dll ddraw.spec)
@ -22,15 +33,6 @@ list(APPEND SOURCE
${CMAKE_CURRENT_BINARY_DIR}/ddraw_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/ddraw.def)
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
if(MSVC)
add_definitions(/FIwine/typeof.h)
endif()
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(ddraw SHARED ${SOURCE})
set_module_type(ddraw win32dll)

View file

@ -1,3 +1,10 @@
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(wined3.dll wined3d.spec)
@ -46,12 +53,6 @@ list(APPEND SOURCE
sqrtf.c)
endif()
add_definitions(
-D__WINESRC__
-DUSE_WIN32_OPENGL)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(wined3d SHARED ${SOURCE})
set_module_type(wined3d win32dll)

View file

@ -1,6 +1,8 @@
set_unicode()
spec2def(acledit.dll acledit.spec)
list(APPEND SOURCE
acledit.c
stubs.c
@ -10,12 +12,6 @@ list(APPEND SOURCE
add_library(acledit SHARED ${SOURCE})
set_module_type(acledit win32dll)
set_export_spec(acledit acledit.spec)
add_importlibs(acledit msvcrt kernel32 ntdll)
add_cab_target(acledit 1)
add_importlib_target(acledit.spec)

View file

@ -18,5 +18,4 @@ target_link_libraries(activeds wine)
add_importlibs(activeds msvcrt kernel32 ntdll)
add_cab_target(activeds 1)

View file

@ -3,16 +3,14 @@ add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(advpack.dll advpack.spec)
list(APPEND SOURCE
advpack.c
files.c
install.c
reg.c
advpack.def)
if(NOT MSVC)
set_source_files_properties(advpack.def PROPERTIES EXTERNAL_OBJECT TRUE)
endif()
${CMAKE_CURRENT_BINARY_DIR}/advpack.def)
add_library(advpack SHARED ${SOURCE})
@ -21,5 +19,4 @@ set_module_type(advpack win32dll)
target_link_libraries(advpack wine)
add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll)
add_cab_target(advpack 1)

View file

@ -1,3 +1,4 @@
add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)

View file

@ -1,6 +1,8 @@
set_unicode()
spec2def(authz.dll authz.spec)
list(APPEND SOURCE
authz.c
clictx.c
@ -8,8 +10,6 @@ list(APPEND SOURCE
authz.rc
${CMAKE_CURRENT_BINARY_DIR}/authz.def)
spec2def(authz.dll authz.spec)
add_library(authz SHARED
${CMAKE_CURRENT_BINARY_DIR}/authz_precomp.h.gch
${SOURCE})

View file

@ -1,6 +1,7 @@
add_definitions(-D__WINESRC__)
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D__WINESRC__
-D_DLL -D__USE_CRTIMP)
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)

View file

@ -1,15 +1,17 @@
set_unicode()
add_library(beepmidi SHARED beepmidi.c ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
spec2def(beepmidi.dll beepmidi.spec)
set_export_spec(beepmidi beepmidi.spec)
list(APPEND SOURCE
beepmidi.c
${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
add_library(beepmidi SHARED ${SOURCE})
set_entrypoint(beepmidi 0)
add_importlibs(beepmidi winmm kernel32 ntdll)
add_importlib_target(beepmidi.spec)
add_dependencies(beepmidi psdk)
add_cab_target(beepmidi 1)

View file

@ -4,17 +4,16 @@ set_unicode()
# Possible definitions: CARDSTYLE_DEFAULT or CARDSTYLE_BAVARIAN
add_definitions(-DCARDSTYLE_DEFAULT)
add_library(cards SHARED
spec2def(cards.dll cards.spec)
list(APPEND SOURCE
cards.c
cards.rc
${CMAKE_CURRENT_BINARY_DIR}/cards.def)
set_export_spec(cards cards.spec)
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/cards.def)
add_library(cards SHARED ${SOURCE})
set_module_type(cards win32dll)
add_importlibs(cards user32 gdi32 msvcrt kernel32)
add_importlib_target(cards.spec)
add_cab_target(cards 1)

View file

@ -4,6 +4,7 @@ spec2def(cfgmgr32.dll cfgmgr32.spec)
list(APPEND SOURCE
cfgmgr32.rc
${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32.def)
add_library(cfgmgr32 SHARED ${SOURCE})
set_entrypoint(cfgmgr32 0)

View file

@ -6,23 +6,20 @@ add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(comcat SHARED comcat_main.c version.rc comcat.def)
spec2def(comcat.dll comcat.spec)
if(NOT MSVC)
set_source_files_properties(comcat.def PROPERTIES EXTERNAL_OBJECT TRUE)
endif()
list(APPEND SOURCE
comcat_main.c
version.rc
${CMAKE_CURRENT_BINARY_DIR}/comcat.def)
add_library(comcat SHARED ${SOURCE})
set_entrypoint(comcat 0)
target_link_libraries(comcat
uuid
wine)
target_link_libraries(comcat uuid wine)
add_importlibs(comcat
ole32
user32
advapi32
ntdll)
add_importlibs(comcat ole32 user32 advapi32 ntdll)
add_dependencies(comcat psdk buildno_header)
add_cab_target(comcat 1)

View file

@ -1,10 +1,13 @@
add_definitions(-D__WINESRC__)
add_definitions(-D_WINE)
add_definitions(-D_DLL -D__USE_CRTIMP)
add_definitions(
-D__WINESRC__
-D_WINE
-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(comdlg32.dll comdlg32.spec)
list(APPEND SOURCE
@ -23,9 +26,7 @@ add_library(comdlg32 SHARED ${SOURCE})
set_module_type(comdlg32 win32dll)
target_link_libraries(comdlg32
uuid
wine)
target_link_libraries(comdlg32 uuid wine)
add_importlibs(comdlg32
shell32
@ -40,6 +41,5 @@ add_importlibs(comdlg32
kernel32
ntdll)
add_cab_target(comdlg32 1)
add_importlib_target(comdlg32.spec)

View file

@ -1,17 +1,20 @@
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(compstui SHARED compstui_main.c ${CMAKE_CURRENT_BINARY_DIR}/compstui.def)
spec2def(compstui.dll compstui.spec)
list(APPEND SOURCE
compstui_main.c
${CMAKE_CURRENT_BINARY_DIR}/compstui.def)
add_library(compstui SHARED ${SOURCE})
set_module_type(compstui win32dll)
set_export_spec(compstui compstui.spec)
target_link_libraries(compstui wine)
add_importlibs(compstui msvcrt kernel32 ntdll)
add_cab_target(compstui 1)
add_importlib_target(compstui.spec)

View file

@ -4,6 +4,7 @@ add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(credui.dll credui.spec)
list(APPEND SOURCE
@ -19,5 +20,4 @@ target_link_libraries(credui wine)
add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
add_importlib_target(credui.spec)
add_cab_target(credui 1)

View file

@ -11,6 +11,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(crypt32.dll crypt32.spec)
list(APPEND SOURCE

View file

@ -3,6 +3,7 @@ add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(cryptdlg.dll cryptdlg.spec)
list(APPEND SOURCE
@ -26,5 +27,4 @@ add_importlibs(cryptdlg
kernel32
ntdll)
add_cab_target(cryptdlg 1)

View file

@ -5,17 +5,14 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(cryptdll.dll cryptdll.spec)
add_library(cryptdll SHARED
list(APPEND SOURCE
cryptdll.c
stubs.c
${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
add_library(cryptdll SHARED ${SOURCE})
set_module_type(cryptdll win32dll)
target_link_libraries(cryptdll
${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def
wine)
target_link_libraries(cryptdll wine)
add_importlibs(cryptdll msvcrt kernel32 ntdll)
add_cab_target(cryptdll 1)

View file

@ -18,9 +18,7 @@ add_library(cryptui SHARED ${SOURCE})
set_module_type(cryptui win32dll)
target_link_libraries(cryptui
uuid
wine)
target_link_libraries(cryptui uuid wine)
add_importlibs(cryptui
user32
@ -37,5 +35,4 @@ add_importlibs(cryptui
ntdll)
add_importlib_target(cryptui.spec)
add_cab_target(cryptui 1)

View file

@ -14,6 +14,7 @@ endif(ARCH MATCHES amd64)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
spec2def(dbghelp.dll dbghelp.spec)
list(APPEND SOURCE
@ -53,7 +54,5 @@ target_link_libraries(dbghelp
oldnames)
add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
add_importlib_target(dbghelp.spec)
add_cab_target(dbghelp 1)

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