- Improve several modules.
svn path=/branches/cmake-bringup/; revision=50055
set_module_type(cacls win32cui)
add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
-
-add_cab_target(cacls 1)
\ No newline at end of file
+add_cab_target(cacls 1)
add_importlibs(calc ntdll)
endif()
-add_cab_target(calc 1)
\ No newline at end of file
+add_cab_target(calc 1)
add_importlibs(charmap user32 gdi32 comctl32 kernel32 msvcrt)
-add_cab_target(charmap 1)
\ No newline at end of file
+add_cab_target(charmap 1)
add_executable(dbgprint dbgprint.c)
-
set_module_type(dbgprint win32cui)
add_importlibs(dbgprint msvcrt kernel32)
-
-add_cab_target(dbgprint 1)
\ No newline at end of file
+add_cab_target(dbgprint 1)
set_module_type(doskey win32cui)
add_importlibs(doskey user32 msvcrt kernel32)
-
-add_cab_target(doskey 1)
\ No newline at end of file
+add_cab_target(doskey 1)
set_module_type(find win32cui)
add_importlibs(find user32 msvcrt kernel32)
-
-add_cab_target(find 1)
\ No newline at end of file
+add_cab_target(find 1)
set_module_type(hostname win32cui)
add_importlibs(hostname msvcrt kernel32)
-
-add_cab_target(hostname 1)
\ No newline at end of file
+add_cab_target(hostname 1)
set_module_type(lodctr win32cui)
add_importlibs(lodctr loadperf msvcrt kernel32)
-
-add_cab_target(lodctr 1)
\ No newline at end of file
+add_cab_target(lodctr 1)
set_module_type(more win32cui)
add_importlibs(more user32 msvcrt kernel32)
-
-add_cab_target(more 1)
\ No newline at end of file
+add_cab_target(more 1)
set_module_type(reg win32cui)
add_importlibs(reg advapi32 user32 msvcrt kernel32)
-
-add_cab_target(reg 1)
\ No newline at end of file
+add_cab_target(reg 1)
set_module_type(xcopy win32cui)
add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
-
-add_cab_target(xcopy 1)
\ No newline at end of file
+add_cab_target(xcopy 1)
set_module_type(control win32gui)
add_importlibs(control advapi32 shell32 msvcrt kernel32)
-
-add_cab_target(control 1)
\ No newline at end of file
+add_cab_target(control 1)
add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32)
-add_cab_target(dxdiag 1)
\ No newline at end of file
+add_cab_target(dxdiag 1)
set_module_type(extrac32 win32gui)
add_importlibs(extrac32 shell32 setupapi shlwapi user32 msvcrt kernel32 ntdll)
-
-add_cab_target(extrac32 1)
\ No newline at end of file
+add_cab_target(extrac32 1)
set_module_type(fontview win32gui)
add_importlibs(fontview gdi32 shell32 user32 msvcrt kernel32)
-add_cab_target(fontview 1)
\ No newline at end of file
+add_cab_target(fontview 1)
add_importlibs(sol advapi32 comctl32 user32 gdi32 kernel32 msvcrt)
-add_cab_target(sol 1)
\ No newline at end of file
+add_cab_target(sol 1)
add_importlibs(spider advapi32 comctl32 user32 gdi32 kernel32 msvcrt)
-add_cab_target(spider 1)
\ No newline at end of file
+add_cab_target(spider 1)
target_link_libraries(winmine wine)
add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
-add_cab_target(winmine 1)
\ No newline at end of file
+add_cab_target(winmine 1)
add_executable(hh main.c hh.rc)
-
set_module_type(hh win32gui)
add_importlibs(hh gdi32 user32 msvcrt kernel32)
-
-add_cab_target(hh 4)
\ No newline at end of file
+add_cab_target(hh 4)
add_executable(iexplore main.c iexplore.rc)
-
set_module_type(iexplore win32gui)
add_importlibs(iexplore shdocvw msvcrt kernel32)
-
-add_cab_target(iexplore 4)
\ No newline at end of file
+add_cab_target(iexplore 4)
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)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
list(APPEND 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)
\ No newline at end of file
+add_cab_target(logoff 1)
magnify.rc)
set_module_type(magnify win32gui)
-
add_importlibs(magnify user32 gdi32 advapi32 shell32 msvcrt kernel32)
-
-add_cab_target(magnify 1)
\ No newline at end of file
+add_cab_target(magnify 1)
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)
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)
\ No newline at end of file
+add_cab_target(mplay32 1)
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)
\ No newline at end of file
+add_cab_target(msconfig 1)
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)
\ No newline at end of file
+add_cab_target(devmgmt 1)
add_importlibs(eventvwr ntdll)
endif()
-add_cab_target(eventvwr 1)
\ No newline at end of file
+add_cab_target(eventvwr 1)
add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
-add_cab_target(servman 1)
\ No newline at end of file
+add_cab_target(servman 1)
add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
-add_cab_target(mstsc 1)
\ No newline at end of file
+add_cab_target(mstsc 1)
add_importlibs(arp iphlpapi ws2_32 shlwapi msvcrt kernel32)
-add_cab_target(arp 1)
\ No newline at end of file
+add_cab_target(arp 1)
add_importlibs(dwnl ntdll)
endif()
-add_cab_target(dwnl 1)
\ No newline at end of file
+add_cab_target(dwnl 1)
-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
finger.rc)
set_module_type(finger win32cui)
-
add_importlibs(finger ws2_32 msvcrt kernel32)
-
-add_cab_target(finger 1)
\ No newline at end of file
+add_cab_target(finger 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
add_executable(ftp
add_importlibs(ftp ntdll)
endif()
-add_cab_target(ftp 1)
\ No newline at end of file
+add_cab_target(ftp 1)
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)
\ No newline at end of file
+add_cab_target(ipconfig 1)
add_executable(net ${SOURCE})
set_module_type(net win32cui)
-
add_importlibs(net ws2_32 msvcrt kernel32)
-
-add_cab_target(net 1)
\ No newline at end of file
+add_cab_target(net 1)
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)
\ No newline at end of file
+add_cab_target(netstat 1)
nslookup.rc)
set_module_type(nslookup win32cui)
-
add_importlibs(nslookup user32 ws2_32 snmpapi iphlpapi msvcrt kernel32)
-
-add_cab_target(nslookup 1)
\ No newline at end of file
+add_cab_target(nslookup 1)
+
add_definitions(-D__USE_W32_SOCKETS)
add_executable(ping ping.c ping.rc)
add_importlibs(ping ntdll)
endif()
-add_cab_target(ping 1)
\ No newline at end of file
+add_cab_target(ping 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
set_module_type(route win32cui)
add_importlibs(route ws2_32 iphlpapi msvcrt kernel32)
-
-add_cab_target(route 1)
\ No newline at end of file
+add_cab_target(route 1)
+
add_definitions(
-D_CRT_NONSTDC_NO_DEPRECATE
-D_DLL -D__USE_CRTIMP)
telnet.rc)
set_module_type(telnet win32cui)
-
add_importlibs(telnet ws2_32 user32 kernel32 msvcrt)
-
-add_cab_target(telnet 1)
\ No newline at end of file
+add_cab_target(telnet 1)
+
add_definitions(-D__USE_W32_SOCKETS)
add_executable(tracert tracert.c tracert.rc)
add_importlibs(tracert ntdll)
endif()
-add_cab_target(tracert 1)
\ No newline at end of file
+add_cab_target(tracert 1)
+
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)
\ No newline at end of file
+add_cab_target(whois 1)
+
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)
\ No newline at end of file
+add_cab_target(notepad 1)
rsrc.rc)
set_module_type(paint win32gui)
-
add_importlibs(paint comdlg32 shell32 user32 gdi32 advapi32 comctl32 msvcrt kernel32)
-
-add_cab_target(paint 1)
\ No newline at end of file
+add_cab_target(paint 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
${CMAKE_CURRENT_BINARY_DIR}/clb.def)
set_module_type(clb win32dll)
-
-
add_importlibs(clb user32 gdi32 comctl32 kernel32 ntdll)
\ No newline at end of file
add_executable(regedt32 regedt32.c resource.rc)
set_module_type(regedt32 win32gui)
-
add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
-
-add_cab_target(regedt32 1)
\ No newline at end of file
+add_cab_target(regedt32 1)
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)
\ No newline at end of file
+add_cab_target(sc 1)
target_link_libraries(3dtext scrnsave)
add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
-add_cab_target(3dtext 1)
\ No newline at end of file
+add_cab_target(3dtext 1)
+
add_subdirectory(3dtext)
-add_subdirectory(logon)
\ No newline at end of file
+add_subdirectory(logon)
+
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)
\ No newline at end of file
+add_cab_target(logon 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
list(APPEND SOURCE
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)
\ No newline at end of file
+add_cab_target(shutdown 1)
rsrc.rc)
target_link_libraries(sndrec32 stlport)
-
set_module_type(sndrec32 win32gui)
-
add_importlibs(sndrec32 winmm user32 msacm32 comctl32 comdlg32 gdi32 msvcrt)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
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)
\ No newline at end of file
+add_cab_target(sndvol32 1)
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)
\ No newline at end of file
+add_cab_target(taskmgr 1)
target_link_libraries(winhlp32 wine)
add_importlibs(winhlp32 user32 gdi32 shell32 comctl32 comdlg32 msvcrt kernel32 ntdll)
-add_cab_target(winhlp32 4)
\ No newline at end of file
+add_cab_target(winhlp32 4)
set_unicode()
add_executable(winver winver.c)
-
set_module_type(winver win32gui)
-
add_importlibs(winver shell32 msvcrt kernel32)
-
-add_cab_target(winver 1)
\ No newline at end of file
+add_cab_target(winver 1)
-list(APPEND SOURCE
- olecallback.c
- print.c
- registry.c
- wordpad.c
- rsrc.rc)
+
+include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(
-D__ROS_LONG64__
-D_DLL -D__USE_CRTIMP)
-include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
set_rc_compiler()
+list(APPEND SOURCE
+ olecallback.c
+ print.c
+ registry.c
+ wordpad.c
+ rsrc.rc)
+
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)
\ No newline at end of file
+add_cab_target(wordpad 1)
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)
\ No newline at end of file
+add_cab_target(write 1)
set_module_type(audiosrv win32cui)
add_importlibs(audiosrv advapi32 user32 setupapi msvcrt kernel32)
-add_cab_target(audiosrv 1)
\ No newline at end of file
+add_cab_target(audiosrv 1)
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)
\ No newline at end of file
+add_cab_target(eventlog 1)
add_importlibs(rpcss advapi32 rpcrt4 msvcrt kernel32 ntdll)
add_cab_target(rpcss 1)
-add_dependencies(rpcss winesdk)
\ No newline at end of file
+add_dependencies(rpcss winesdk)
set_module_type(spoolsv win32cui)
add_importlibs(spoolsv advapi32 msvcrt kernel32 ntdll)
-add_cab_target(spoolsv 1)
\ No newline at end of file
+add_cab_target(spoolsv 1)
set_module_type(svchost win32cui)
add_importlibs(svchost advapi32 msvcrt kernel32 ntdll)
-add_cab_target(svchost 1)
\ No newline at end of file
+add_cab_target(svchost 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
add_executable(telnetd
set_module_type(telnetd win32cui)
add_importlibs(telnetd advapi32 ws2_32 msvcrt kernel32 ntdll)
-
-add_cab_target(telnetd 1)
\ No newline at end of file
+add_cab_target(telnetd 1)
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)
\ No newline at end of file
+add_importlibs(umpnpmgr advapi32 rpcrt4 userenv msvcrt kernel32 ntdll)
+add_cab_target(umpnpmgr 1)
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)
\ No newline at end of file
+add_importlibs(wlansvc advapi32 rpcrt4 iphlpapi msvcrt kernel32 ntdll)
+add_cab_target(wlansvc 1)
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)
\ No newline at end of file
+add_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
+add_minicd_target(reactos reactos)
set_module_type(setup win32gui)
add_importlibs(setup userenv msvcrt kernel32 ntdll)
-add_cab_target(setup 1)
\ No newline at end of file
+add_cab_target(setup 1)
-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
kernel32
ntdll)
-add_cab_target(vmwinst 1)
\ No newline at end of file
+add_cab_target(vmwinst 1)
set_module_type(welcome win32gui)
add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
-
-add_minicd_target(welcome reactos)
\ No newline at end of file
+add_minicd_target(welcome reactos)
set_unicode()
-add_definitions(-DANONYMOUSUNIONS)
-add_definitions(-D_DEBUG_MEM)
+add_definitions(
+ -DANONYMOUSUNIONS
+ -D_DEBUG_MEM)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/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)
\ No newline at end of file
+add_cab_target(cmd 1)
kernel32
ntdll)
-add_cab_target(explorer_new 4)
\ No newline at end of file
+add_cab_target(explorer_new 4)
add_importlibs(notifyhook user32 msvcrt kernel32)
add_importlib_target(notifyhook.spec)
-
add_cab_target(notifyhook 1)
target_link_libraries(autochk mingw_common nt)
add_importlibs(autochk kernel32 ntdll)
-add_cab_target(autochk 1)
\ No newline at end of file
+add_cab_target(autochk 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
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)
\ No newline at end of file
+add_cab_target(bootok 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
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)
\ No newline at end of file
+add_cab_target(expand 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(.)
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)
\ No newline at end of file
+add_cab_target(format 1)
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)
\ No newline at end of file
+add_cab_target(lsass 1)
-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
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)
\ No newline at end of file
+add_cab_target(msiexec 1)
+
add_definitions(-D_DLL -D__USE_CRTIMP)
set_unicode()
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)
\ No newline at end of file
+add_cab_target(regsvr32 1)
add_executable(rundll32 rundll32.c rundll32.rc)
set_module_type(rundll32 win32gui)
-
add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
-add_cab_target(rundll32 1)
\ No newline at end of file
+add_cab_target(rundll32 1)
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)
\ No newline at end of file
+add_cab_target(runonce 1)
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
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)
\ No newline at end of file
+add_cab_target(services 1)
+
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
list(APPEND SOURCE
set_module_type(smss nativecui)
add_importlibs(smss ntdll)
-add_cab_target(smss 1)
\ No newline at end of file
+add_cab_target(smss 1)
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)
\ No newline at end of file
+add_cab_target(winlogon 1)
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)
set_module_type(powercfg cpl)
-
-
add_importlibs(powercfg
msvcrt
user32
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)
add_dependencies(d3d8thk psdk buildno_header)
-add_cab_target(d3d8thk 1)
\ No newline at end of file
+add_cab_target(d3d8thk 1)
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)
kernel32
ntdll)
-
add_cab_target(devenum 1)
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)
kernel32
ntdll)
-
add_cab_target(dinput 1)
add_importlib_target(dinput.spec)
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)
add_dependencies(dinput8 psdk buildno_header)
add_cab_target(dinput8 1)
-add_importlib_target(dinput8.spec)
\ No newline at end of file
+add_importlib_target(dinput8.spec)
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)
add_dependencies(dmusic psdk buildno_header)
-add_cab_target(dmusic 1)
\ No newline at end of file
+add_cab_target(dmusic 1)
+
set_rc_compiler()
spec2def(dplayx.dll dplayx.spec)
-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)
kernel32
ntdll)
-
add_cab_target(dsound 1)
add_importlib_target(dsound.spec)
set_module_type(dxdiagn win32dll)
-target_link_libraries(dxdiagn
- uuid
- wine)
+target_link_libraries(dxdiagn uuid wine)
add_importlibs(dxdiagn
user32
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)
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)
-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
set_module_type(d3d8 win32dll)
-target_link_libraries(d3d8
- uuid
- wine)
+target_link_libraries(d3d8 uuid wine)
add_importlibs(d3d8
user32
-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
set_module_type(d3d9 win32dll)
-target_link_libraries(d3d9
- uuid
- wine)
+target_link_libraries(d3d9 uuid wine)
add_importlibs(d3d9
user32
+
+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)
${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)
+
+add_definitions(
+ -D__WINESRC__
+ -DUSE_WIN32_OPENGL)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
set_rc_compiler()
spec2def(wined3.dll wined3d.spec)
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)
add_dependencies(kbda1 psdk buildno_header)
-add_cab_target(kbda1 1)
\ No newline at end of file
+add_cab_target(kbda1 1)
add_dependencies(kbda2 psdk buildno_header)
-add_cab_target(kbda2 1)
\ No newline at end of file
+add_cab_target(kbda2 1)
add_dependencies(kbda3 psdk buildno_header)
-add_cab_target(kbda3 1)
\ No newline at end of file
+add_cab_target(kbda3 1)
add_dependencies(kbdal psdk buildno_header)
-add_cab_target(kbdal 1)
\ No newline at end of file
+add_cab_target(kbdal 1)
add_dependencies(kbdarme psdk buildno_header)
-add_cab_target(kbdarme 1)
\ No newline at end of file
+add_cab_target(kbdarme 1)
add_dependencies(kbdarmw psdk buildno_header)
-add_cab_target(kbdarmw 1)
\ No newline at end of file
+add_cab_target(kbdarmw 1)
add_dependencies(kbdaze psdk buildno_header)
-add_cab_target(kbdaze 1)
\ No newline at end of file
+add_cab_target(kbdaze 1)
add_dependencies(kbdazel psdk buildno_header)
-add_cab_target(kbdazel 1)
\ No newline at end of file
+add_cab_target(kbdazel 1)
add_dependencies(kbdbe psdk buildno_header)
-add_cab_target(kbdbe 1)
\ No newline at end of file
+add_cab_target(kbdbe 1)
add_dependencies(kbdbga psdk buildno_header)
-add_cab_target(kbdbga 1)
\ No newline at end of file
+add_cab_target(kbdbga 1)
add_dependencies(kbdbgm psdk buildno_header)
-add_cab_target(kbdbgm 1)
\ No newline at end of file
+add_cab_target(kbdbgm 1)
add_dependencies(kbdbgt psdk buildno_header)
-add_cab_target(kbdbgt 1)
\ No newline at end of file
+add_cab_target(kbdbgt 1)
add_dependencies(kbdblr psdk buildno_header)
-add_cab_target(kbdblr 1)
\ No newline at end of file
+add_cab_target(kbdblr 1)
add_dependencies(kbdbr psdk buildno_header)
-add_cab_target(kbdbr 1)
\ No newline at end of file
+add_cab_target(kbdbr 1)
add_dependencies(kbdbur psdk buildno_header)
-add_cab_target(kbdbur 1)
\ No newline at end of file
+add_cab_target(kbdbur 1)
add_dependencies(kbdcan psdk buildno_header)
-add_cab_target(kbdcan 1)
\ No newline at end of file
+add_cab_target(kbdcan 1)
add_dependencies(kbdcr psdk buildno_header)
-add_cab_target(kbdcr 1)
\ No newline at end of file
+add_cab_target(kbdcr 1)
add_dependencies(kbdcz psdk buildno_header)
-add_cab_target(kbdcz 1)
\ No newline at end of file
+add_cab_target(kbdcz 1)
add_dependencies(kbdcz1 psdk buildno_header)
-add_cab_target(kbdcz1 1)
\ No newline at end of file
+add_cab_target(kbdcz1 1)
add_dependencies(kbdda psdk buildno_header)
-add_cab_target(kbdda 1)
\ No newline at end of file
+add_cab_target(kbdda 1)
add_dependencies(kbddv psdk buildno_header)
-add_cab_target(kbddv 1)
\ No newline at end of file
+add_cab_target(kbddv 1)
add_dependencies(kbdes psdk buildno_header)
-add_cab_target(kbdes 1)
\ No newline at end of file
+add_cab_target(kbdes 1)
add_dependencies(kbdest psdk buildno_header)
-add_cab_target(kbdest 1)
\ No newline at end of file
+add_cab_target(kbdest 1)
add_dependencies(kbdfc psdk buildno_header)
-add_cab_target(kbdfc 1)
\ No newline at end of file
+add_cab_target(kbdfc 1)
add_dependencies(kbdfi psdk buildno_header)
-add_cab_target(kbdfi 1)
\ No newline at end of file
+add_cab_target(kbdfi 1)
add_dependencies(kbdgeo psdk buildno_header)
-add_cab_target(kbdgeo 1)
\ No newline at end of file
+add_cab_target(kbdgeo 1)
add_dependencies(kbdgerg psdk buildno_header)
-add_cab_target(kbdgerg 1)
\ No newline at end of file
+add_cab_target(kbdgerg 1)
add_dependencies(kbdgneo psdk buildno_header)
-add_cab_target(kbdgneo 1)
\ No newline at end of file
+add_cab_target(kbdgneo 1)
add_dependencies(kbdgr psdk buildno_header)
-add_cab_target(kbdgr 1)
\ No newline at end of file
+add_cab_target(kbdgr 1)
add_dependencies(kbdgrist psdk buildno_header)
-add_cab_target(kbdgrist 1)
\ No newline at end of file
+add_cab_target(kbdgrist 1)
add_dependencies(kbdhe psdk buildno_header)
-add_cab_target(kbdhe 1)
\ No newline at end of file
+add_cab_target(kbdhe 1)
add_dependencies(kbdheb psdk buildno_header)
-add_cab_target(kbdheb 1)
\ No newline at end of file
+add_cab_target(kbdheb 1)
add_dependencies(kbdhu psdk buildno_header)
-add_cab_target(kbdhu 1)
\ No newline at end of file
+add_cab_target(kbdhu 1)
add_dependencies(kbdic psdk buildno_header)
-add_cab_target(kbdic 1)
\ No newline at end of file
+add_cab_target(kbdic 1)
add_dependencies(kbdinasa psdk buildno_header)
-add_cab_target(kbdinasa 1)
\ No newline at end of file
+add_cab_target(kbdinasa 1)
add_dependencies(kbdinben psdk buildno_header)
-add_cab_target(kbdinben 1)
\ No newline at end of file
+add_cab_target(kbdinben 1)
add_dependencies(kbdindev psdk buildno_header)
-add_cab_target(kbdindev 1)
\ No newline at end of file
+add_cab_target(kbdindev 1)
add_dependencies(kbdinguj psdk buildno_header)
-add_cab_target(kbdinguj 1)
\ No newline at end of file
+add_cab_target(kbdinguj 1)
add_dependencies(kbdinmal psdk buildno_header)
-add_cab_target(kbdinmal 1)
\ No newline at end of file
+add_cab_target(kbdinmal 1)
add_dependencies(kbdir psdk buildno_header)
-add_cab_target(kbdir 1)
\ No newline at end of file
+add_cab_target(kbdir 1)
add_dependencies(kbdit psdk buildno_header)
-add_cab_target(kbdit 1)
\ No newline at end of file
+add_cab_target(kbdit 1)
add_dependencies(kbdja psdk buildno_header)
-add_cab_target(kbdja 1)
\ No newline at end of file
+add_cab_target(kbdja 1)
add_dependencies(kbdkaz psdk buildno_header)
-add_cab_target(kbdkaz 1)
\ No newline at end of file
+add_cab_target(kbdkaz 1)
add_dependencies(kbdko psdk buildno_header)
-add_cab_target(kbdko 1)
\ No newline at end of file
+add_cab_target(kbdko 1)
add_dependencies(kbdla psdk buildno_header)
-add_cab_target(kbdla 1)
\ No newline at end of file
+add_cab_target(kbdla 1)
add_dependencies(kbdlt1 psdk buildno_header)
-add_cab_target(kbdlt1 1)
\ No newline at end of file
+add_cab_target(kbdlt1 1)
add_dependencies(kbdlv psdk buildno_header)
-add_cab_target(kbdlv 1)
\ No newline at end of file
+add_cab_target(kbdlv 1)
add_dependencies(kbdmac psdk buildno_header)
-add_cab_target(kbdmac 1)
\ No newline at end of file
+add_cab_target(kbdmac 1)
add_dependencies(kbdne psdk buildno_header)
-add_cab_target(kbdne 1)
\ No newline at end of file
+add_cab_target(kbdne 1)
add_dependencies(kbdno psdk buildno_header)
-add_cab_target(kbdno 1)
\ No newline at end of file
+add_cab_target(kbdno 1)
add_dependencies(kbdpl1 psdk buildno_header)
-add_cab_target(kbdpl1 1)
\ No newline at end of file
+add_cab_target(kbdpl1 1)
add_dependencies(kbdpo psdk buildno_header)
-add_cab_target(kbdpo 1)
\ No newline at end of file
+add_cab_target(kbdpo 1)
add_dependencies(kbdro psdk buildno_header)
-add_cab_target(kbdro 1)
\ No newline at end of file
+add_cab_target(kbdro 1)
add_dependencies(kbdru psdk buildno_header)
-add_cab_target(kbdru 1)
\ No newline at end of file
+add_cab_target(kbdru 1)
add_dependencies(kbdru1 psdk buildno_header)
-add_cab_target(kbdru1 1)
\ No newline at end of file
+add_cab_target(kbdru1 1)
add_dependencies(kbdsg psdk buildno_header)
-add_cab_target(kbdsg 1)
\ No newline at end of file
+add_cab_target(kbdsg 1)
add_dependencies(kbdsk psdk buildno_header)
-add_cab_target(kbdsk 1)
\ No newline at end of file
+add_cab_target(kbdsk 1)
add_dependencies(kbdsk1 psdk buildno_header)
-add_cab_target(kbdsk1 1)
\ No newline at end of file
+add_cab_target(kbdsk1 1)
add_dependencies(kbdsw psdk buildno_header)
-add_cab_target(kbdsw 1)
\ No newline at end of file
+add_cab_target(kbdsw 1)
add_dependencies(kbdtat psdk buildno_header)
-add_cab_target(kbdtat 1)
\ No newline at end of file
+add_cab_target(kbdtat 1)
add_dependencies(kbdth0 psdk buildno_header)
-add_cab_target(kbdth0 1)
\ No newline at end of file
+add_cab_target(kbdth0 1)
add_dependencies(kbdth1 psdk buildno_header)
-add_cab_target(kbdth1 1)
\ No newline at end of file
+add_cab_target(kbdth1 1)
add_dependencies(kbdth2 psdk buildno_header)
-add_cab_target(kbdth2 1)
\ No newline at end of file
+add_cab_target(kbdth2 1)
add_dependencies(kbdth3 psdk buildno_header)
-add_cab_target(kbdth3 1)
\ No newline at end of file
+add_cab_target(kbdth3 1)
add_dependencies(kbdtuf psdk buildno_header)
-add_cab_target(kbdtuf 1)
\ No newline at end of file
+add_cab_target(kbdtuf 1)
add_dependencies(kbdtuq psdk buildno_header)
-add_cab_target(kbdtuq 1)
\ No newline at end of file
+add_cab_target(kbdtuq 1)
add_dependencies(kbduk psdk buildno_header)
-add_cab_target(kbduk 1)
\ No newline at end of file
+add_cab_target(kbduk 1)
add_dependencies(kbdur psdk buildno_header)
-add_cab_target(kbdur 1)
\ No newline at end of file
+add_cab_target(kbdur 1)
add_dependencies(kbdurs psdk buildno_header)
-add_cab_target(kbdurs 1)
\ No newline at end of file
+add_cab_target(kbdurs 1)
add_dependencies(kbdus psdk buildno_header)
-add_cab_target(kbdus 1)
\ No newline at end of file
+add_cab_target(kbdus 1)
add_dependencies(kbdusa psdk buildno_header)
-add_cab_target(kbdusa 1)
\ No newline at end of file
+add_cab_target(kbdusa 1)
add_dependencies(kbdusl psdk buildno_header)
-add_cab_target(kbdusl 1)
\ No newline at end of file
+add_cab_target(kbdusl 1)
add_dependencies(kbdusr psdk buildno_header)
-add_cab_target(kbdusr 1)
\ No newline at end of file
+add_cab_target(kbdusr 1)
add_dependencies(kbdusx psdk buildno_header)
-add_cab_target(kbdusx 1)
\ No newline at end of file
+add_cab_target(kbdusx 1)
add_dependencies(kbduzb psdk buildno_header)
-add_cab_target(kbduzb 1)
\ No newline at end of file
+add_cab_target(kbduzb 1)
add_dependencies(kbdvntc psdk buildno_header)
-add_cab_target(kbdvntc 1)
\ No newline at end of file
+add_cab_target(kbdvntc 1)
add_dependencies(kbdycc psdk buildno_header)
-add_cab_target(kbdycc 1)
\ No newline at end of file
+add_cab_target(kbdycc 1)
add_dependencies(kbdycl psdk buildno_header)
-add_cab_target(kbdycl 1)
\ No newline at end of file
+add_cab_target(kbdycl 1)
set_unicode()
+spec2def(acledit.dll acledit.spec)
+
list(APPEND SOURCE
acledit.c
stubs.c
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)
-
add_importlibs(activeds msvcrt kernel32 ntdll)
-
add_cab_target(activeds 1)
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})
target_link_libraries(advpack wine)
add_importlibs(advpack ole32 setupapi version advapi32 msvcrt kernel32 ntdll)
-
add_cab_target(advpack 1)
+
add_definitions(-D__WINESRC__)
remove_definitions(-D_WIN32_WINNT=0x502)
set_unicode()
+spec2def(authz.dll authz.spec)
+
list(APPEND SOURCE
authz.c
clictx.c
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})
-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)
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)
-
# 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)
list(APPEND SOURCE
cfgmgr32.rc
${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32.def)
+
add_library(cfgmgr32 SHARED ${SOURCE})
set_entrypoint(cfgmgr32 0)
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)
-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
set_module_type(comdlg32 win32dll)
-target_link_libraries(comdlg32
- uuid
- wine)
+target_link_libraries(comdlg32 uuid wine)
add_importlibs(comdlg32
shell32
kernel32
ntdll)
-
add_cab_target(comdlg32 1)
add_importlib_target(comdlg32.spec)
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)
-set_module_type(compstui win32dll)
+list(APPEND SOURCE
+ compstui_main.c
+ ${CMAKE_CURRENT_BINARY_DIR}/compstui.def)
+
+add_library(compstui SHARED ${SOURCE})
-set_export_spec(compstui compstui.spec)
+set_module_type(compstui win32dll)
target_link_libraries(compstui wine)
add_importlibs(compstui msvcrt kernel32 ntdll)
-
add_cab_target(compstui 1)
add_importlib_target(compstui.spec)
-
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(credui.dll credui.spec)
list(APPEND SOURCE
add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
add_importlib_target(credui.spec)
-
add_cab_target(credui 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(crypt32.dll crypt32.spec)
list(APPEND SOURCE
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(cryptdlg.dll cryptdlg.spec)
list(APPEND SOURCE
kernel32
ntdll)
-
add_cab_target(cryptdlg 1)
spec2def(cryptdll.dll cryptdll.spec)
-add_library(cryptdll SHARED
- cryptdll.c
- stubs.c
- ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
+list(APPEND SOURCE
+ cryptdll.c
+ stubs.c
+ ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
-set_module_type(cryptdll win32dll)
-
-target_link_libraries(cryptdll
- ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def
- wine)
+add_library(cryptdll SHARED ${SOURCE})
+set_module_type(cryptdll win32dll)
+target_link_libraries(cryptdll wine)
add_importlibs(cryptdll msvcrt kernel32 ntdll)
-
add_cab_target(cryptdll 1)
set_module_type(cryptui win32dll)
-target_link_libraries(cryptui
- uuid
- wine)
+target_link_libraries(cryptui uuid wine)
add_importlibs(cryptui
user32
ntdll)
add_importlib_target(cryptui.spec)
-
add_cab_target(cryptui 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(dbghelp.dll dbghelp.spec)
list(APPEND SOURCE
oldnames)
add_importlibs(dbghelp psapi version msvcrt kernel32 ntdll)
-
add_importlib_target(dbghelp.spec)
-
add_cab_target(dbghelp 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(dciman32.dll dciman32.spec)
list(APPEND SOURCE
add_library(dciman32 SHARED ${SOURCE})
set_module_type(dciman32 win32dll)
-
target_link_libraries(dciman32 wine)
-
add_importlibs(dciman32 msvcrt kernel32 ntdll)
-
add_cab_target(dciman32 1)
set_module_type(devmgr win32dll)
-target_link_libraries(devmgr
- uuid
- wine)
+target_link_libraries(devmgr uuid wine)
add_importlibs(devmgr
setupapi
${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/src
${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/adns_win32)
-add_definitions(-D_DLL -D__USE_CRTIMP)
-add_definitions(-DADNS_JGAA_WIN32)
+add_definitions(
+ -D_DLL -D__USE_CRTIMP
+ -DADNS_JGAA_WIN32)
spec2def(dnsapi.dll dnsapi.spec)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(dwmapi.dll dwmapi.spec)
list(APPEND SOURCE
add_library(dwmapi SHARED ${SOURCE})
set_module_type(dwmapi win32dll)
-
target_link_libraries(dwmapi wine)
-
add_importlibs(dwmapi msvcrt kernel32 ntdll)
-
add_cab_target(dwmapi 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(faultrep.dll faultrep.spec)
list(APPEND SOURCE
add_library(faultrep SHARED ${SOURCE})
set_module_type(faultrep win32dll)
-
target_link_libraries(faultrep wine)
-
add_importlibs(faultrep advapi32 msvcrt kernel32 ntdll)
-
add_cab_target(faultrep 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(fusion.dll fusion.spec)
list(APPEND SOURCE
add_library(fusion SHARED ${SOURCE})
set_module_type(fusion win32dll)
-
target_link_libraries(fusion wine)
-
add_importlibs(fusion shlwapi advapi32 dbghelp user32 msvcrt kernel32 ntdll)
-
add_cab_target(fusion 1)
set_unicode()
-add_definitions(-D_DLL -D__USE_CRTIMP)
-add_definitions(-DLANGPACK)
+add_definitions(
+ -D_DLL -D__USE_CRTIMP
+ -DLANGPACK)
include_directories(include)
+spec2def(gdi32.dll gdi32.spec)
+
list(APPEND SOURCE
main/dllmain.c
misc/heap.c
dxguid
${PSEH_LIB})
-set_export_spec(gdi32 gdi32.spec)
-
add_importlibs(gdi32 user32 advapi32 msvcrt kernel32 ntdll)
add_pch(gdi32 ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
add_cab_target(gdi32 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+spec2def(getuname.dll getuname.spec)
+
add_library(getuname SHARED
getuname.c
getuname.rc
${CMAKE_CURRENT_BINARY_DIR}/getuname.def)
-set_export_spec(getuname getuname.spec)
-
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/getuname.def)
-
set_module_type(getuname win32dll)
-
add_importlibs(getuname msvcrt kernel32 ntdll)
-
add_cab_target(getuname 1)
spec2def(glu32.dll glu32.spec)
-add_library(glu32 SHARED
+list(APPEND SOURCE
libnurbs/interface/bezierEval.cc
libnurbs/interface/bezierPatch.cc
libnurbs/interface/bezierPatchMesh.cc
libutil/registry.c
${CMAKE_CURRENT_BINARY_DIR}/glu32.def)
+add_library(glu32 SHARED ${SOURCE})
+
set_entrypoint(glu32 0)
target_link_libraries(glu32 stlport -lsupc++ -lgcc -lmingw32 -lcoldname)
add_cab_target(glu32 1)
add_importlib_target(glu32.spec)
-
add_definitions(-D__WINESRC__)
+
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
set_module_type(hhctrl win32ocx)
-target_link_libraries(hhctrl
- uuid
- wine)
+target_link_libraries(hhctrl uuid wine)
add_importlibs(hhctrl
advapi32
kernel32
ntdll)
-add_cab_target(hhctrl 1)
\ No newline at end of file
+add_cab_target(hhctrl 1)
add_importlibs(hid msvcrt kernel32 ntdll)
add_pch(hid ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
-
add_cab_target(hid 1)
set_module_type(hlink win32dll)
-target_link_libraries(hlink
- uuid
- wine)
+target_link_libraries(hlink uuid wine)
add_importlibs(hlink
shell32
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(hnetcfg SHARED
+spec2def(hnetcfg.dll hnetcfg.spec)
+
+list(APPEND SOURCE
apps.c
hnetcfg.c
manager.c
profile.c
regsvr.c
service.c
- hnetcfg.def)
+ ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
-if(NOT MSVC)
- set_source_files_properties(hnetcfg.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(hnetcfg SHARED ${SOURCE})
set_module_type(hnetcfg win32dll)
add_library(httpapi SHARED ${SOURCE})
set_module_type(httpapi win32dll)
-
target_link_libraries(httpapi wine)
-
add_importlibs(httpapi msvcrt kernel32 ntdll)
-
add_cab_target(httpapi 1)
add_definitions(-D__WINESRC__)
+
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(iccvid SHARED iccvid.c rsrc.rc iccvid.def)
+spec2def(iccvid.dll iccvid.spec)
-if(NOT MSVC)
- set_source_files_properties(iccvid.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ iccvid.c
+ rsrc.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/iccvid.def)
-set_module_type(iccvid win32dll)
+add_library(iccvid SHARED ${SOURCE})
+set_module_type(iccvid win32dll)
target_link_libraries(iccvid wine)
-
add_importlibs(iccvid user32 msvcrt kernel32 ntdll)
-
add_cab_target(iccvid 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(icmp.dll icmp.spec)
list(APPEND SOURCE
set_module_type(icmp win32dll)
target_link_libraries(icmp wine)
-
add_importlibs(icmp ws2_32 msvcrt kernel32 ntdll)
add_importlib_target(icmp.spec)
add_cab_target(icmp 1)
-add_definitions(-D_DLL -D__USE_CRTIMP)
-add_definitions(-D__WINESRC__)
+add_definitions(
+ -D_DLL -D__USE_CRTIMP
+ -D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(imaadp32.acm SHARED imaadp32.c imaadp32.def)
+spec2def(imaadp32.acm imaadp32.acm.spec)
-if(NOT MSVC)
- set_source_files_properties(imaadp32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ imaadp32.c
+ ${CMAKE_CURRENT_BINARY_DIR}/imaadp32.def)
+
+add_library(imaadp32.acm SHARED ${SOURCE})
set_entrypoint(imaadp32.acm 0)
set_target_properties(imaadp32.acm PROPERTIES SUFFIX "")
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(imm32.dll imm32.spec)
list(APPEND SOURCE
add_library(imm32 SHARED ${SOURCE})
set_module_type(imm32 win32dll)
-
target_link_libraries(imm32 wine)
-
add_importlibs(imm32 advapi32 user32 msvcrt kernel32 ntdll)
-
add_cab_target(imm32 1)
add_importlib_target(imm32.spec)
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(inetcomm.dll inetcomm.spec)
-add_definitions(-D__WINESRC__)
-add_definitions(-D_DLL -D__USE_CRTIMP)
+add_definitions(
+ -D__WINESRC__
+ -D_DLL -D__USE_CRTIMP)
+
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(inetmib1.dll inetmib1.spec)
add_definitions(-D__WINESRC__)
+
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(initpki.dll initpki.spec)
add_library(initpki SHARED ${SOURCE})
set_module_type(initpki win32dll)
-
target_link_libraries(initpki wine)
-
add_importlibs(initpki msvcrt kernel32 ntdll)
-
add_cab_target(initpki 1)
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(inseng.dll inseng.spec)
set_module_type(inseng win32dll)
-target_link_libraries(inseng
- uuid
- wine)
+target_link_libraries(inseng uuid wine)
add_importlibs(inseng
ole32
kernel32
ntdll)
-
add_cab_target(inseng 1)
set_module_type(iphlpapi win32dll)
target_link_libraries(iphlpapi wine tdilib)
-
add_importlibs(iphlpapi dhcpcsvc advapi32 ws2_32 msvcrt kernel32 ntdll)
-
add_cab_target(iphlpapi 1)
add_importlib_target(iphlpapi.spec)
-add_definitions(-D__WINESRC__ -D_DLL -D__USE_CRTIMP)
+add_definitions(
+ -D__WINESRC__
+ -D_DLL -D__USE_CRTIMP)
+
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(itss.dll itss.spec)
list(APPEND SOURCE
set_module_type(itss win32dll)
-target_link_libraries(itss
- uuid
- wine)
+target_link_libraries(itss uuid wine)
add_importlibs(itss
urlmon
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(jscript SHARED
+spec2def(jscript.dll jscript.spec)
+
+list(APPEND SOURCE
activex.c
date.c
dispex.c
function.c
global.c
rsrc.rc
- jscript.def)
+ ${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
-if(NOT MSVC)
- set_source_files_properties(jscript.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(jscript SHARED ${SOURCE})
set_module_type(jscript win32dll)
-spec2def(kernel32.dll kernel32.spec)
-
add_definitions(-D_KERNEL32_)
remove_definitions(-D_WIN32_WINNT=0x502)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
+spec2def(kernel32.dll kernel32.spec)
+
list(APPEND SOURCE
debug/debugger.c
debug/output.c
if(ARCH MATCHES i386)
list(APPEND SOURCE
thread/i386/fiber.S
- thread/i386/thread.S
-)
+ thread/i386/thread.S)
elseif(ARCH MATCHES amd64)
list(APPEND SOURCE
thread/amd64/fiber.S
${CMAKE_CURRENT_BINARY_DIR}/loadperf.def)
set_module_type(loadperf win32dll)
-
-target_link_libraries(loadperf
- ${CMAKE_CURRENT_BINARY_DIR}/loadperf.def
- wine)
-
+target_link_libraries(loadperf wine)
add_importlibs(loadperf msvcrt kernel32 ntdll)
-
add_cab_target(loadperf 1)
add_importlib_target(loadperf.spec)
add_definitions(-D__WINESRC__)
+
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
+
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(localspl.dll localspl.spec)
list(APPEND SOURCE
set_module_type(localspl win32dll)
-target_link_libraries(localspl
- wine)
+target_link_libraries(localspl wine)
add_importlibs(localspl
spoolss
kernel32
ntdll)
-
add_cab_target(localspl 1)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(localui SHARED
+spec2def(localui.dll localui.spec)
+
+list(APPEND SOURCE
localui.c
localui.rc
${CMAKE_CURRENT_BINARY_DIR}/localui.def)
-set_export_spec(localui localui.spec)
-
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/localui.def)
+add_library(localui SHARED ${SOURCE})
set_module_type(localui win32dll)
+target_link_libraries(localui uuid wine)
-target_link_libraries(localui
- uuid
- wine)
-
+add_importlib_target(localui.spec)
add_importlibs(localui winspool user32 msvcrt kernel32 ntdll)
-
add_cab_target(localui 1)
add_definitions(-DLANGPACK)
include_directories(include)
-add_library(lpk SHARED
+spec2def(lpk.dll lpk.spec)
+
+list(APPEND SOURCE
dllmain.c
stub.c
lpk.rc
${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
-set_export_spec(lpk lpk.spec)
-
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
+add_library(lpk SHARED ${SOURCE})
set_module_type(lpk win32dll)
+add_importlib_target(lpk.spec)
add_importlibs(lpk user32 usp10 msvcrt kernel32 ntdll)
-
add_cab_target(lpk 1)
+
set_unicode()
-include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
-include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
+include_directories(
+ ${REACTOS_BINARY_DIR}/include/reactos/idl
+ ${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
set_rc_compiler()
+
spec2def(lsasrv.dll lsasrv.spec)
list(APPEND SOURCE
${PSEH_LIB})
add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
-add_dependencies(lsasrv psdk buildno_header)
+add_dependencies(lsasrv psdk buildno_header)
add_cab_target(lsasrv 1)
add_importlib_target(lsasrv.spec)
-spec2def(lz32.dll lz32.spec)
-
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(lz32 SHARED
- version.rc
- ${CMAKE_CURRENT_BINARY_DIR}/lz32.def)
+spec2def(lz32.dll lz32.spec)
+
+list(APPEND SOURCE
+ version.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/lz32.def)
-set_entrypoint(lz32 0)
+add_library(lz32 SHARED ${SOURCE})
+set_entrypoint(lz32 0)
target_link_libraries(lz32 wine)
add_importlibs(lz32 kernel32 ntdll)
+
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(mapi32.dll mapi32.spec)
list(APPEND SOURCE
set_module_type(mapi32 win32dll)
-target_link_libraries(mapi32
- wine
- uuid)
-
+target_link_libraries(mapi32 wine uuid)
add_importlibs(mapi32 shlwapi shell32 user32 advapi32 msvcrt kernel32 ntdll)
-
add_cab_target(mapi32 1)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(mciavi32 SHARED
+spec2def(mciavi32.dll mciavi32.spec)
+
+list(APPEND SOURCE
info.c
mciavi.c
mmoutput.c
wnd.c
mciavi_res.rc
- mciavi32.def)
+ ${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def)
-if(NOT MSVC)
- set_source_files_properties(mciavi32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(mciavi32 SHARED ${SOURCE})
set_module_type(mciavi32 win32dll)
-
target_link_libraries(mciavi32 wine)
-
add_importlibs(mciavi32 msvfw32 winmm user32 gdi32 msvcrt kernel32 ntdll)
-
add_cab_target(mciavi32 1)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(mcicda SHARED mcicda.c mcicda.def)
+spec2def(mcicda.dll mcicda.spec)
-if(NOT MSVC)
- set_source_files_properties(mcicda.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ mcicda.c
+ ${CMAKE_CURRENT_BINARY_DIR}/mcicda.def)
-set_entrypoint(mcicda 0)
+add_library(mcicda SHARED ${SOURCE})
+set_entrypoint(mcicda 0)
target_link_libraries(mcicda wine)
-
add_importlibs(mcicda winmm user32 kernel32 ntdll)
add_dependencies(mcicda psdk buildno_header)
-add_cab_target(mcicda 1)
\ No newline at end of file
+add_cab_target(mcicda 1)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(mciqtz32 SHARED mciqtz.c version.rc mciqtz32.def)
+spec2def(mciqtz32.dll mciqtz32.spec)
-if(NOT MSVC)
- set_source_files_properties(mciqtz32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ mciqtz.c
+ version.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def)
-set_module_type(mciqtz32 win32dll)
+add_library(mciqtz32 SHARED ${SOURCE})
-target_link_libraries(mciqtz32
- wine
- strmiids)
+set_module_type(mciqtz32 win32dll)
+target_link_libraries(mciqtz32 wine strmiids)
add_importlibs(mciqtz32 winmm oleaut32 ole32 user32 gdi32 msvcrt kernel32 ntdll)
-
add_cab_target(mciqtz32 1)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(mciseq SHARED mcimidi.c mciseq.def)
+spec2def(mciseq.dll mciseq.spec)
-if(NOT MSVC)
- set_source_files_properties(mciseq.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ mcimidi.c
+ ${CMAKE_CURRENT_BINARY_DIR}/mciseq.def)
-set_entrypoint(mciseq 0)
+add_library(mciseq SHARED ${SOURCE})
+set_entrypoint(mciseq 0)
target_link_libraries(mciseq wine)
-
add_importlibs(mciseq winmm user32 kernel32 ntdll)
add_dependencies(mciseq psdk buildno_header)
-add_cab_target(mciseq 1)
\ No newline at end of file
+add_cab_target(mciseq 1)
spec2def(mciwave.dll mciwave.spec)
-add_library(mciwave SHARED
+list(APPEND SOURCE
mciwave.c
${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
-set_entrypoint(mciwave 0)
+add_library(mciwave SHARED ${SOURCE})
+set_entrypoint(mciwave 0)
target_link_libraries(mciwave wine)
add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
-
add_dependencies(mciwave psdk buildno_header)
add_cab_target(mciwave 1)
ntdll)
add_importlib_target(mlang.spec)
-
add_dependencies(mlang psdk buildno_header)
add_cab_target(mlang 1)
add_definitions(-DNDEBUG)
-add_library(mmdrv SHARED
+spec2def(mmdrv.dll mmdrv.spec)
+
+list(APPEND SOURCE
entry.c
mme.c
kernel.c
common.c
wave.c
wave_io.c
- mmdrv.def)
+ ${CMAKE_CURRENT_BINARY_DIR}/mmdrv.def)
-if(NOT MSVC)
- set_source_files_properties(mmdrv.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(mmdrv SHARED ${SOURCE})
set_entrypoint(mmdrv 0)
-
add_importlibs(mmdrv winmm user32 kernel32 ntdll)
add_dependencies(mmdrv psdk buildno_header)
-add_cab_target(mmdrv 1)
\ No newline at end of file
+add_cab_target(mmdrv 1)
add_library(modemui SHARED ${SOURCE})
set_module_type(modemui win32dll)
-
add_importlibs(modemui msvcrt kernel32 ntdll)
-
add_cab_target(modemui 1)
-add_definitions(-D__WINESRC__)
-add_definitions(-D_WINE)
+
+add_definitions(
+ -D__WINESRC__
+ -D_WINE)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(mpr.dll mpr.spec)
list(APPEND SOURCE
set_module_type(mpr win32dll)
target_link_libraries(mpr wine)
-
add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
-
add_cab_target(mpr 1)
add_importlib_target(mpr.spec)
add_library(mprapi SHARED ${SOURCE})
set_module_type(mprapi win32dll)
-
target_link_libraries(mprapi wine)
-
add_importlibs(mprapi msvcrt kernel32 ntdll)
-
add_cab_target(mprapi 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(msacm32.dll msacm32.spec)
list(APPEND SOURCE
set_image_base(msacm32 ${baseaddress_msacm32})
target_link_libraries(msacm32 wine)
-
add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
-
add_dependencies(msacm32 psdk buildno_header)
-add_subdirectory(msacm32.drv)
add_cab_target(msacm32 1)
add_importlib_target(msacm32.spec)
+
+add_subdirectory(msacm32.drv)
-add_definitions(-D_DLL -D__USE_CRTIMP)
-add_definitions(-D__WINESRC__)
+add_definitions(
+ -D_DLL -D__USE_CRTIMP
+ -D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(msadp32.acm SHARED msadp32.c msadp32.def)
+spec2def(msadp32.acm msadp32.acm.spec)
-if(NOT MSVC)
- set_source_files_properties(msadp32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ msadp32.c
+ ${CMAKE_CURRENT_BINARY_DIR}/msadp32.def)
+
+add_library(msadp32.acm SHARED ${SOURCE})
set_entrypoint(msadp32.acm 0)
set_target_properties(msadp32.acm PROPERTIES SUFFIX "")
-
target_link_libraries(msadp32.acm wine)
-
add_importlibs(msadp32.acm winmm user32 msvcrt kernel32 ntdll)
add_dependencies(msadp32.acm psdk buildno_header)
add_cab_target(msadp32.acm 1)
BEFORE include
${REACTOS_SOURCE_DIR}/include/reactos/drivers)
+spec2def(msafd.dll msafd.spec)
+
list(APPEND SOURCE
msafd.rc
misc/dllmain.c
misc/helpers.c
misc/sndrcv.c
misc/stubs.c
- msafd.def)
-
-if(NOT MSVC)
- set_source_files_properties(msafd.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+ ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
add_library(msafd SHARED
${CMAKE_CURRENT_BINARY_DIR}/msafd_msafd.h.gch
add_pch(msafd ${CMAKE_CURRENT_SOURCE_DIR}/msafd.h ${SOURCE})
add_importlibs(msafd advapi32 msvcrt kernel32 ntdll)
-
add_cab_target(msafd 1)
spec2def(mscat32.dll mscat32.spec)
-add_library(mscat32 SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def)
+list(APPEND SOURCE
+ main.c
+ ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def)
-set_module_type(mscat32 win32dll)
+add_library(mscat32 SHARED ${SOURCE})
+set_module_type(mscat32 win32dll)
target_link_libraries(mscat32 wine)
-
add_importlibs(mscat32 wintrust msvcrt kernel32 ntdll)
-
add_cab_target(mscat32 1)
+
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(mscms.dll mscms.spec)
list(APPEND SOURCE
add_library(mscms SHARED ${SOURCE})
set_module_type(mscms win32dll)
-
target_link_libraries(mscms wine)
-
add_importlibs(mscms msvcrt kernel32 ntdll)
-
add_cab_target(mscms 1)
add_library(mscoree SHARED ${SOURCE})
set_module_type(mscoree win32dll)
-
target_link_libraries(mscoree wine uuid)
-
add_importlibs(mscoree advapi32 shell32 msvcrt kernel32 ntdll)
-
add_cab_target(mscoree 1)
-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)
set_rc_compiler()
+
spec2def(msctf.dll msctf.spec)
list(APPEND SOURCE
set_module_type(msctf win32dll)
-target_link_libraries(msctf
- uuid
- wine)
-
+target_link_libraries(msctf uuid wine)
add_importlibs(msctf ole32 oleaut32 user32 advapi32 msvcrt kernel32 ntdll)
-
add_cab_target(msctf 1)
+
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(msftedit.dll msftedit.spec)
list(APPEND SOURCE
set_module_type(msftedit win32dll)
-target_link_libraries(msftedit
- uuid
- wine)
-
+target_link_libraries(msftedit uuid wine)
add_importlibs(msftedit riched20 msvcrt kernel32 ntdll)
-
add_cab_target(msftedit 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(msg711.acm SHARED msg711.c msg711.def)
+spec2def(msg711.acm msg711.acm.spec)
-if(NOT MSVC)
- set_source_files_properties(msg711.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ msg711.c
+ ${CMAKE_CURRENT_BINARY_DIR}/msg711.def)
+
+add_library(msg711.acm SHARED ${SOURCE})
set_entrypoint(msg711.acm 0)
set_target_properties(msg711.acm PROPERTIES SUFFIX "")
target_link_libraries(msg711.acm wine)
-
add_importlibs(msg711.acm winmm user32 msvcrt kernel32 ntdll)
add_dependencies(msg711.acm psdk buildno_header)
add_cab_target(msg711.acm 1)
-include_directories(include)
-include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+
+include_directories(
+ include
+ ${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(msgina.dll msgina.spec)
list(APPEND SOURCE
add_library(msgina SHARED ${SOURCE})
set_module_type(msgina win32dll)
-
target_link_libraries(msgina wine)
-
add_importlibs(msgina advapi32 user32 gdi32 userenv msvcrt kernel32 ntdll)
-
add_cab_target(msgina 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(msgsm32.acm SHARED msgsm32.c msgsm32.def)
+spec2def(msgsm32.acm msgsm32.acm.spec)
-if(NOT MSVC)
- set_source_files_properties(msgsm32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+list(APPEND SOURCE
+ msgsm32.c
+ ${CMAKE_CURRENT_BINARY_DIR}/msgsm32.def)
+
+add_library(msgsm32.acm SHARED ${SOURCE})
set_entrypoint(msgsm32.acm 0)
set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
ADD_INTERFACE_DEFINITIONS(mshtml_nsiface_header nsiface.idl)
set_rc_compiler()
+
spec2def(mshtml.dll mshtml.spec)
list(APPEND SOURCE
-spec2def(msimg32.dll msimg32.spec)
-
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-add_library(msimg32 SHARED
- msimg32_main.c
- ${CMAKE_CURRENT_BINARY_DIR}/msimg32.def)
+spec2def(msimg32.dll msimg32.spec)
-set_module_type(msimg32 win32dll)
+list(APPEND SOURCE
+ msimg32_main.c
+ ${CMAKE_CURRENT_BINARY_DIR}/msimg32.def)
-target_link_libraries(msimg32 wine)
+add_library(msimg32 SHARED ${SOURCE})
+set_module_type(msimg32 win32dll)
+target_link_libraries(msimg32 wine)
add_importlibs(msimg32 gdi32 msvcrt kernel32 ntdll)
-
add_cab_target(msimg32 1)
add_importlib_target(msimg32.spec)
+
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
set_rc_compiler()
+
spec2def(msimtf.dll msimtf.spec)
list(APPEND SOURCE
set_module_type(msimtf win32dll)
-target_link_libraries(msimtf
- uuid
- wine)
-
+target_link_libraries(msimtf uuid wine)
add_importlibs(msimtf msvcrt imm32 kernel32 ntdll)
-
add_cab_target(msimtf 1)
set_module_type(msisip win32dll)
target_link_libraries(msisip wine)
-
add_importlibs(msisip crypt32 ole32 msvcrt kernel32 ntdll)
-
add_cab_target(msisip 1)