[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sat, 22 Dec 2012 10:47:06 +0000 (10:47 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sat, 22 Dec 2012 10:47:06 +0000 (10:47 +0000)
* Remove unneeded set_rc_compiler.

svn path=/trunk/; revision=57966

172 files changed:
reactos/base/applications/cacls/CMakeLists.txt
reactos/base/applications/calc/CMakeLists.txt
reactos/base/applications/charmap/CMakeLists.txt
reactos/base/applications/cmdutils/doskey/CMakeLists.txt
reactos/base/applications/cmdutils/find/CMakeLists.txt
reactos/base/applications/cmdutils/more/CMakeLists.txt
reactos/base/applications/cmdutils/reg/CMakeLists.txt
reactos/base/applications/cmdutils/xcopy/CMakeLists.txt
reactos/base/applications/control/CMakeLists.txt
reactos/base/applications/dxdiag/CMakeLists.txt
reactos/base/applications/findstr/CMakeLists.txt
reactos/base/applications/fontview/CMakeLists.txt
reactos/base/applications/games/solitaire/CMakeLists.txt
reactos/base/applications/games/spider/CMakeLists.txt
reactos/base/applications/games/winmine/CMakeLists.txt
reactos/base/applications/hh/CMakeLists.txt
reactos/base/applications/iexplore/CMakeLists.txt
reactos/base/applications/kbswitch/CMakeLists.txt
reactos/base/applications/logoff/CMakeLists.txt
reactos/base/applications/magnify/CMakeLists.txt
reactos/base/applications/mmc/CMakeLists.txt
reactos/base/applications/mplay32/CMakeLists.txt
reactos/base/applications/msconfig/CMakeLists.txt
reactos/base/applications/mscutils/devmgmt/CMakeLists.txt
reactos/base/applications/mscutils/eventvwr/CMakeLists.txt
reactos/base/applications/mscutils/servman/CMakeLists.txt
reactos/base/applications/mspaint/CMakeLists.txt
reactos/base/applications/mstsc/CMakeLists.txt
reactos/base/applications/network/ipconfig/CMakeLists.txt
reactos/base/applications/network/ping/CMakeLists.txt
reactos/base/applications/notepad/CMakeLists.txt
reactos/base/applications/rapps/CMakeLists.txt
reactos/base/applications/regedit/CMakeLists.txt
reactos/base/applications/regedit/clb/CMakeLists.txt
reactos/base/applications/regedt32/CMakeLists.txt
reactos/base/applications/screensavers/3dtext/CMakeLists.txt
reactos/base/applications/screensavers/logon/CMakeLists.txt
reactos/base/applications/setup16/CMakeLists.txt
reactos/base/applications/shutdown/CMakeLists.txt
reactos/base/applications/sndrec32/CMakeLists.txt
reactos/base/applications/sndvol32/CMakeLists.txt
reactos/base/applications/taskmgr/CMakeLists.txt
reactos/base/setup/reactos/CMakeLists.txt
reactos/base/setup/vmwinst/CMakeLists.txt
reactos/base/setup/welcome/CMakeLists.txt
reactos/base/shell/cmd/CMakeLists.txt
reactos/base/shell/explorer-new/CMakeLists.txt
reactos/base/shell/explorer/CMakeLists.txt
reactos/base/system/diskpart/CMakeLists.txt
reactos/base/system/format/CMakeLists.txt
reactos/base/system/regsvr32/CMakeLists.txt
reactos/base/system/rundll32/CMakeLists.txt
reactos/base/system/runonce/CMakeLists.txt
reactos/base/system/subst/CMakeLists.txt
reactos/cmake/gcc.cmake
reactos/cmake/msvc.cmake
reactos/dll/cpl/access/CMakeLists.txt
reactos/dll/cpl/appwiz/CMakeLists.txt
reactos/dll/cpl/desk/CMakeLists.txt
reactos/dll/cpl/hdwwiz/CMakeLists.txt
reactos/dll/cpl/inetcpl/CMakeLists.txt
reactos/dll/cpl/input/CMakeLists.txt
reactos/dll/cpl/intl/CMakeLists.txt
reactos/dll/cpl/joy/CMakeLists.txt
reactos/dll/cpl/mmsys/CMakeLists.txt
reactos/dll/cpl/powercfg/CMakeLists.txt
reactos/dll/cpl/sysdm/CMakeLists.txt
reactos/dll/cpl/telephon/CMakeLists.txt
reactos/dll/cpl/timedate/CMakeLists.txt
reactos/dll/cpl/usrmgr/CMakeLists.txt
reactos/dll/cpl/wined3dcfg/CMakeLists.txt
reactos/dll/directx/dplayx/CMakeLists.txt
reactos/dll/directx/wine/d3d8/CMakeLists.txt
reactos/dll/directx/wine/d3d9/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_24/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_25/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_26/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_27/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_28/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_29/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_30/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_31/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_32/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_33/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_34/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_35/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_36/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_37/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_38/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_39/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_40/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_41/CMakeLists.txt
reactos/dll/directx/wine/d3dx9_42/CMakeLists.txt
reactos/dll/shellext/deskadp/CMakeLists.txt
reactos/dll/shellext/deskmon/CMakeLists.txt
reactos/dll/shellext/devcpux/CMakeLists.txt
reactos/dll/shellext/fontext/CMakeLists.txt
reactos/dll/shellext/slayer/CMakeLists.txt
reactos/dll/win32/acledit/CMakeLists.txt
reactos/dll/win32/aclui/CMakeLists.txt
reactos/dll/win32/avifil32/CMakeLists.txt
reactos/dll/win32/batt/CMakeLists.txt
reactos/dll/win32/bcrypt/CMakeLists.txt
reactos/dll/win32/cards/CMakeLists.txt
reactos/dll/win32/clusapi/CMakeLists.txt
reactos/dll/win32/comctl32/CMakeLists.txt
reactos/dll/win32/comdlg32/CMakeLists.txt
reactos/dll/win32/credui/CMakeLists.txt
reactos/dll/win32/crypt32/CMakeLists.txt
reactos/dll/win32/cryptdlg/CMakeLists.txt
reactos/dll/win32/dbghelp/CMakeLists.txt
reactos/dll/win32/dciman32/CMakeLists.txt
reactos/dll/win32/devmgr/CMakeLists.txt
reactos/dll/win32/dwmapi/CMakeLists.txt
reactos/dll/win32/faultrep/CMakeLists.txt
reactos/dll/win32/hhctrl.ocx/CMakeLists.txt
reactos/dll/win32/hnetcfg/CMakeLists.txt
reactos/dll/win32/iccvid/CMakeLists.txt
reactos/dll/win32/icmp/CMakeLists.txt
reactos/dll/win32/inetcomm/CMakeLists.txt
reactos/dll/win32/inseng/CMakeLists.txt
reactos/dll/win32/kernel32/CMakeLists.txt
reactos/dll/win32/localspl/CMakeLists.txt
reactos/dll/win32/localui/CMakeLists.txt
reactos/dll/win32/lsasrv/CMakeLists.txt
reactos/dll/win32/mapi32/CMakeLists.txt
reactos/dll/win32/modemui/CMakeLists.txt
reactos/dll/win32/mpr/CMakeLists.txt
reactos/dll/win32/msacm32/CMakeLists.txt
reactos/dll/win32/msftedit/CMakeLists.txt
reactos/dll/win32/msgina/CMakeLists.txt
reactos/dll/win32/mshtml/CMakeLists.txt
reactos/dll/win32/msimtf/CMakeLists.txt
reactos/dll/win32/msrle32/CMakeLists.txt
reactos/dll/win32/mstask/CMakeLists.txt
reactos/dll/win32/msvcrt/CMakeLists.txt
reactos/dll/win32/msvfw32/CMakeLists.txt
reactos/dll/win32/netcfgx/CMakeLists.txt
reactos/dll/win32/netid/CMakeLists.txt
reactos/dll/win32/netshell/CMakeLists.txt
reactos/dll/win32/ntprint/CMakeLists.txt
reactos/dll/win32/oleacc/CMakeLists.txt
reactos/dll/win32/olecli32/CMakeLists.txt
reactos/dll/win32/olethk32/CMakeLists.txt
reactos/dll/win32/pidgen/CMakeLists.txt
reactos/dll/win32/pstorec/CMakeLists.txt
reactos/dll/win32/qmgr/CMakeLists.txt
reactos/dll/win32/rasapi32/CMakeLists.txt
reactos/dll/win32/rasdlg/CMakeLists.txt
reactos/dll/win32/rasman/CMakeLists.txt
reactos/dll/win32/samlib/CMakeLists.txt
reactos/dll/win32/schannel/CMakeLists.txt
reactos/dll/win32/security/CMakeLists.txt
reactos/dll/win32/serialui/CMakeLists.txt
reactos/dll/win32/setupapi/CMakeLists.txt
reactos/dll/win32/shdoclc/CMakeLists.txt
reactos/dll/win32/shimgvw/CMakeLists.txt
reactos/dll/win32/snmpapi/CMakeLists.txt
reactos/dll/win32/stdole2.tlb/CMakeLists.txt
reactos/dll/win32/syssetup/CMakeLists.txt
reactos/dll/win32/tapiui/CMakeLists.txt
reactos/dll/win32/userenv/CMakeLists.txt
reactos/dll/win32/uxtheme/CMakeLists.txt
reactos/dll/win32/winspool/CMakeLists.txt
reactos/dll/win32/wldap32/CMakeLists.txt
reactos/drivers/input/i8042prt/CMakeLists.txt
reactos/drivers/storage/ide/uniata/CMakeLists.txt
reactos/drivers/storage/port/buslogic/CMakeLists.txt
reactos/ntoskrnl/CMakeLists.txt
reactos/subsystems/ntvdm/CMakeLists.txt
reactos/win32ss/user/user32/CMakeLists.txt
reactos/win32ss/user/win32csr/CMakeLists.txt

index 575d4be..aa9f308 100644 (file)
@@ -1,10 +1,6 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE cacls.c cacls.rc)
 list(APPEND SOURCE cacls.c cacls.rc)
-
 add_executable(cacls ${SOURCE})
 add_executable(cacls ${SOURCE})
-
 set_module_type(cacls win32cui UNICODE)
 add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
 add_cd_file(TARGET cacls DESTINATION reactos/system32 FOR all)
 set_module_type(cacls win32cui UNICODE)
 add_importlibs(cacls advapi32 user32 shell32 msvcrt kernel32)
 add_cd_file(TARGET cacls DESTINATION reactos/system32 FOR all)
index 956959d..d187356 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
 
 add_executable(calc 
 add_definitions(-DDISABLE_HTMLHELP_SUPPORT=1)
 
 add_executable(calc 
@@ -15,7 +13,7 @@ add_executable(calc
 set_module_type(calc win32gui UNICODE)
 add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
 if(MSVC)
 set_module_type(calc win32gui UNICODE)
 add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
 if(MSVC)
-add_importlibs(calc ntdll)
+    add_importlibs(calc ntdll)
 endif()
 add_pch(calc calc.h)
 add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
 endif()
 add_pch(calc calc.h)
 add_cd_file(TARGET calc DESTINATION reactos/system32 FOR all)
index cb3878b..9921e82 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     about.c
     charmap.c
 list(APPEND SOURCE
     about.c
     charmap.c
@@ -10,11 +8,7 @@ list(APPEND SOURCE
     charmap.rc)
 
 add_executable(charmap ${SOURCE})
     charmap.rc)
 
 add_executable(charmap ${SOURCE})
-
 set_module_type(charmap win32gui UNICODE)
 set_module_type(charmap win32gui UNICODE)
-
 add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
 add_importlibs(charmap advapi32 user32 gdi32 comctl32 msvcrt kernel32)
-
 add_pch(charmap precomp.h)
 add_pch(charmap precomp.h)
-
 add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET charmap DESTINATION reactos/system32 FOR all)
index fc8aa68..2dca089 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(doskey doskey.c doskey.rc)
 add_executable(doskey doskey.c doskey.rc)
-
 set_module_type(doskey win32cui UNICODE)
 add_importlibs(doskey user32 msvcrt kernel32)
 add_cd_file(TARGET doskey DESTINATION reactos/system32 FOR all)
 set_module_type(doskey win32cui UNICODE)
 add_importlibs(doskey user32 msvcrt kernel32)
 add_cd_file(TARGET doskey DESTINATION reactos/system32 FOR all)
index 6f1d5b8..7431f5e 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(find find.c find.rc)
 add_executable(find find.c find.rc)
-
 set_module_type(find win32cui)
 add_importlibs(find user32 msvcrt kernel32)
 add_cd_file(TARGET find DESTINATION reactos/system32 FOR all)
 set_module_type(find win32cui)
 add_importlibs(find user32 msvcrt kernel32)
 add_cd_file(TARGET find DESTINATION reactos/system32 FOR all)
index 251d0fc..f3d49ef 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(more more.c more.rc)
 add_executable(more more.c more.rc)
-
 set_module_type(more win32cui)
 add_importlibs(more user32 msvcrt kernel32)
 add_cd_file(TARGET more DESTINATION reactos/system32 FOR all)
 set_module_type(more win32cui)
 add_importlibs(more user32 msvcrt kernel32)
 add_cd_file(TARGET more DESTINATION reactos/system32 FOR all)
index 1b1d221..a6833f9 100644 (file)
@@ -1,11 +1,8 @@
 
 
-set_rc_compiler()
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 add_executable(reg reg.c reg.rc)
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 add_executable(reg reg.c reg.rc)
-
 set_module_type(reg win32cui UNICODE)
 add_importlibs(reg advapi32 user32 msvcrt kernel32)
 add_cd_file(TARGET reg DESTINATION reactos/system32 FOR all)
 set_module_type(reg win32cui UNICODE)
 add_importlibs(reg advapi32 user32 msvcrt kernel32)
 add_cd_file(TARGET reg DESTINATION reactos/system32 FOR all)
index 31813bb..9da3aa6 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(xcopy xcopy.c rsrc.rc)
 add_executable(xcopy xcopy.c rsrc.rc)
-
 target_link_libraries(xcopy wine)
 set_module_type(xcopy win32cui UNICODE)
 add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
 target_link_libraries(xcopy wine)
 set_module_type(xcopy win32cui UNICODE)
 add_importlibs(xcopy shell32 user32 msvcrt kernel32 ntdll)
index 54e90d6..7f74b8e 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(control control.c control.rc)
 add_executable(control control.c control.rc)
-
 set_module_type(control win32gui UNICODE)
 add_importlibs(control advapi32 shell32 msvcrt kernel32)
 add_cd_file(TARGET control DESTINATION reactos/system32 FOR all)
 set_module_type(control win32gui UNICODE)
 add_importlibs(control advapi32 shell32 msvcrt kernel32)
 add_cd_file(TARGET control DESTINATION reactos/system32 FOR all)
index 3cf93b3..a9d92d8 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     system.c
     display.c
 list(APPEND SOURCE
     system.c
     display.c
@@ -18,13 +16,8 @@ list(APPEND SOURCE
     d3dtest9.c)
 
 add_executable(dxdiag ${SOURCE})
     d3dtest9.c)
 
 add_executable(dxdiag ${SOURCE})
-
 set_module_type(dxdiag win32gui UNICODE)
 set_module_type(dxdiag win32gui UNICODE)
-
 target_link_libraries(dxdiag dxguid)
 target_link_libraries(dxdiag dxguid)
-
 add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
 add_importlibs(dxdiag user32 advapi32 comctl32 dinput8 setupapi dsound ddraw version gdi32 winmm d3d9 msvcrt kernel32 ntdll)
-
 add_pch(dxdiag precomp.h)
 add_pch(dxdiag precomp.h)
-
 add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET dxdiag DESTINATION reactos/system32 FOR all)
index fd9798e..6eb3c72 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(findstr findstr.c findstr.rc)
 add_executable(findstr findstr.c findstr.rc)
-
 set_module_type(findstr win32cui)
 add_importlibs(findstr user32 msvcrt kernel32)
 add_cd_file(TARGET findstr DESTINATION reactos/system32 FOR all)
 set_module_type(findstr win32cui)
 add_importlibs(findstr user32 msvcrt kernel32)
 add_cd_file(TARGET findstr DESTINATION reactos/system32 FOR all)
index 59765eb..0b6d921 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 add_executable(fontview
     display.c
     fontview.c
 add_executable(fontview
     display.c
     fontview.c
@@ -7,5 +6,4 @@ add_executable(fontview
 
 set_module_type(fontview win32gui)
 add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
 
 set_module_type(fontview win32gui)
 add_importlibs(fontview comdlg32 gdi32 shell32 user32 msvcrt kernel32)
-
 add_cd_file(TARGET fontview DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET fontview DESTINATION reactos/system32 FOR all)
index 60ac7d4..b91c584 100644 (file)
@@ -1,6 +1,5 @@
 
 set_cpp()
 
 set_cpp()
-set_rc_compiler()
 
 include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
 
 
 include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib)
 
index 4247770..526e401 100644 (file)
@@ -3,8 +3,6 @@ set_cpp()
 
 include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib ${CMAKE_CURRENT_SOURCE_DIR})
 
 
 include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/cardlib ${CMAKE_CURRENT_SOURCE_DIR})
 
-set_rc_compiler()
-
 add_executable(spider
     spider.cpp
     spigame.cpp
 add_executable(spider
     spider.cpp
     spigame.cpp
index f4e99a1..9e0eeee 100644 (file)
@@ -1,8 +1,6 @@
 
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 
 
 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
 
-set_rc_compiler()
-
 add_executable(winmine
     main.c
     dialog.c
 add_executable(winmine
     main.c
     dialog.c
@@ -11,5 +9,4 @@ add_executable(winmine
 set_module_type(winmine win32gui)
 target_link_libraries(winmine wine)
 add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
 set_module_type(winmine win32gui)
 target_link_libraries(winmine wine)
 add_importlibs(winmine user32 gdi32 advapi32 shell32 msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET winmine DESTINATION reactos/system32 FOR all)
index 5de0b1a..451d84e 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 add_executable(hh main.c hh.rc)
 set_module_type(hh win32gui)
 add_importlibs(hh gdi32 user32 msvcrt kernel32)
 add_executable(hh main.c hh.rc)
 set_module_type(hh win32gui)
 add_importlibs(hh gdi32 user32 msvcrt kernel32)
index b861741..bceb4ae 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 add_executable(iexplore main.c iexplore.rc)
 set_module_type(iexplore win32gui)
 add_importlibs(iexplore shdocvw msvcrt kernel32)
 add_executable(iexplore main.c iexplore.rc)
 set_module_type(iexplore win32gui)
 add_importlibs(iexplore shdocvw msvcrt kernel32)
index 630744b..6fe41a5 100644 (file)
@@ -1,10 +1,6 @@
 
 
-set_rc_compiler()
-
 add_executable(kbswitch kbswitch.c kbswitch.rc)
 add_executable(kbswitch kbswitch.c kbswitch.rc)
-
 set_module_type(kbswitch win32gui UNICODE)
 add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt kernel32)
 set_module_type(kbswitch win32gui UNICODE)
 add_importlibs(kbswitch advapi32 user32 shell32 gdi32 msvcrt kernel32)
-
 add_cd_file(TARGET kbswitch DESTINATION reactos/system32 FOR all)
 add_subdirectory(kbsdll)
 add_cd_file(TARGET kbswitch DESTINATION reactos/system32 FOR all)
 add_subdirectory(kbsdll)
index 7a7180e..8be2772 100644 (file)
@@ -1,13 +1,10 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     misc.c
     logoff.c
     logoff.rc)
 
 add_executable(logoff ${SOURCE})
 list(APPEND SOURCE
     misc.c
     logoff.c
     logoff.rc)
 
 add_executable(logoff ${SOURCE})
-
 set_module_type(logoff win32cui)
 add_importlibs(logoff advapi32 user32 msvcrt kernel32)
 add_pch(logoff precomp.h)
 set_module_type(logoff win32cui)
 add_importlibs(logoff advapi32 user32 msvcrt kernel32)
 add_pch(logoff precomp.h)
index 5fef7d5..43195c6 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_executable(magnify
     magnifier.c
     settings.c
 add_executable(magnify
     magnifier.c
     settings.c
index 0d50e53..387d4e3 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     console.c
     misc.c
 list(APPEND SOURCE
     console.c
     misc.c
@@ -8,7 +6,6 @@ list(APPEND SOURCE
     mmc.rc)
 
 add_executable(mmcclient ${SOURCE})
     mmc.rc)
 
 add_executable(mmcclient ${SOURCE})
-
 set_module_type(mmcclient win32gui UNICODE)
 add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt kernel32)
 add_pch(mmcclient precomp.h)
 set_module_type(mmcclient win32gui UNICODE)
 add_importlibs(mmcclient user32 gdi32 comdlg32 advapi32 shell32 comctl32 msvcrt kernel32)
 add_pch(mmcclient precomp.h)
index 421fc6c..de54a0e 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(mplay32 mplay32.c mplay32.rc)
 add_executable(mplay32 mplay32.c mplay32.rc)
-
 set_module_type(mplay32 win32gui UNICODE)
 add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt kernel32)
 add_cd_file(TARGET mplay32 DESTINATION reactos/system32 FOR all)
 set_module_type(mplay32 win32gui UNICODE)
 add_importlibs(mplay32 advapi32 comctl32 comdlg32 user32 gdi32 winmm shell32 msvcrt kernel32)
 add_cd_file(TARGET mplay32 DESTINATION reactos/system32 FOR all)
index 22017da..f80a7d6 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     toolspage.c
     srvpage.c
 list(APPEND SOURCE
     toolspage.c
     srvpage.c
@@ -12,7 +10,6 @@ list(APPEND SOURCE
     msconfig.rc)
 
 add_executable(msconfig ${SOURCE})
     msconfig.rc)
 
 add_executable(msconfig ${SOURCE})
-
 set_module_type(msconfig win32gui UNICODE)
 add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt kernel32)
 add_pch(msconfig precomp.h)
 set_module_type(msconfig win32gui UNICODE)
 add_importlibs(msconfig user32 advapi32 version comctl32 shell32 shlwapi msvcrt kernel32)
 add_pch(msconfig precomp.h)
index ce77dfb..e32b229 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     about.c
     devmgmt.c
 list(APPEND SOURCE
     about.c
     devmgmt.c
@@ -10,7 +8,6 @@ list(APPEND SOURCE
     devmgmt.rc)
 
 add_executable(devmgmt ${SOURCE})
     devmgmt.rc)
 
 add_executable(devmgmt ${SOURCE})
-
 set_module_type(devmgmt win32gui UNICODE)
 add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
 add_pch(devmgmt precomp.h)
 set_module_type(devmgmt win32gui UNICODE)
 add_importlibs(devmgmt setupapi gdi32 user32 comctl32 advapi32 devmgr msvcrt kernel32)
 add_pch(devmgmt precomp.h)
index 3d3151d..a15680e 100644 (file)
@@ -1,13 +1,8 @@
 
 
-set_rc_compiler()
-
 add_executable(eventvwr eventvwr.c eventvwr.rc)
 add_executable(eventvwr eventvwr.c eventvwr.rc)
-
 set_module_type(eventvwr win32gui UNICODE)
 add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt kernel32)
 set_module_type(eventvwr win32gui UNICODE)
 add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt kernel32)
-
 if(MSVC)
     add_importlibs(eventvwr ntdll)
 endif()
 if(MSVC)
     add_importlibs(eventvwr ntdll)
 endif()
-
 add_cd_file(TARGET eventvwr DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET eventvwr DESTINATION reactos/system32 FOR all)
index 036ee9d..cbfb698 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     about.c
     control.c
 list(APPEND SOURCE
     about.c
     control.c
@@ -24,11 +22,7 @@ list(APPEND SOURCE
     servman.rc)
 
 add_executable(servman ${SOURCE})
     servman.rc)
 
 add_executable(servman ${SOURCE})
-
 set_module_type(servman win32gui UNICODE)
 set_module_type(servman win32gui UNICODE)
-
 add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
 add_importlibs(servman user32 gdi32 advapi32 version comctl32 shell32 comdlg32 msvcrt kernel32)
-
 add_pch(servman precomp.h)
 add_pch(servman precomp.h)
-
 add_cd_file(TARGET servman DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET servman DESTINATION reactos/system32 FOR all)
index 94ca492..40f1431 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_executable(mspaint
     dialogs.c
     dib.c
 add_executable(mspaint
     dialogs.c
     dib.c
index c597e97..9b90314 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     bitmap.c
     bsops.c
 list(APPEND SOURCE
     bitmap.c
     bsops.c
@@ -24,11 +22,7 @@ list(APPEND SOURCE
     rdc.rc)
 
 add_executable(mstsc ${SOURCE})
     rdc.rc)
 
 add_executable(mstsc ${SOURCE})
-
 set_module_type(mstsc win32gui UNICODE)
 set_module_type(mstsc win32gui UNICODE)
-
 add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
 add_importlibs(mstsc user32 gdi32 comctl32 ws2_32 advapi32 shell32 ole32 comdlg32 msvcrt kernel32)
-
 add_pch(mstsc precomp.h)
 add_pch(mstsc precomp.h)
-
 add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET mstsc DESTINATION reactos/system32 FOR all)
index 3be4c6d..d772922 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_executable(ipconfig ipconfig.c ipconfig.rc)
 set_module_type(ipconfig win32cui)
 add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt kernel32)
 add_executable(ipconfig ipconfig.c ipconfig.rc)
 set_module_type(ipconfig win32cui)
 add_importlibs(ipconfig user32 iphlpapi advapi32 msvcrt kernel32)
index 3e65117..ff77e11 100644 (file)
@@ -1,15 +1,9 @@
 
 add_definitions(-D__USE_W32_SOCKETS)
 
 add_definitions(-D__USE_W32_SOCKETS)
-
-set_rc_compiler()
-
 add_executable(ping ping.c ping.rc)
 add_executable(ping ping.c ping.rc)
-
 set_module_type(ping win32cui UNICODE)
 add_importlibs(ping ws2_32 msvcrt kernel32)
 set_module_type(ping win32cui UNICODE)
 add_importlibs(ping ws2_32 msvcrt kernel32)
-
 if(MSVC)
     add_importlibs(ping ntdll)
 endif()
 if(MSVC)
     add_importlibs(ping ntdll)
 endif()
-
 add_cd_file(TARGET ping DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET ping DESTINATION reactos/system32 FOR all)
index ee8b880..364323e 100644 (file)
@@ -6,10 +6,7 @@ list(APPEND SOURCE
     text.c
     rsrc.rc)
 
     text.c
     rsrc.rc)
 
-set_rc_compiler()
-
 add_executable(notepad ${SOURCE})
 add_executable(notepad ${SOURCE})
-
 set_module_type(notepad win32gui UNICODE)
 add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
 add_pch(notepad notepad.h)
 set_module_type(notepad win32gui UNICODE)
 add_importlibs(notepad user32 gdi32 comctl32 comdlg32 advapi32 shell32 msvcrt kernel32)
 add_pch(notepad notepad.h)
index c0f933e..ee33a60 100644 (file)
@@ -1,5 +1,4 @@
 
 
-
 list(APPEND SOURCE
     aboutdlg.c
     available.c
 list(APPEND SOURCE
     aboutdlg.c
     available.c
@@ -22,13 +21,10 @@ include_directories(
     ${CMAKE_CURRENT_BINARY_DIR}
     ${REACTOS_BINARY_DIR}/include/reactos)
 
     ${CMAKE_CURRENT_BINARY_DIR}
     ${REACTOS_BINARY_DIR}/include/reactos)
 
-set_rc_compiler()
-
 add_executable(rapps ${SOURCE})
 add_pch(rapps rapps.h)
 set_module_type(rapps win32gui UNICODE)
 target_link_libraries(rapps uuid)
 add_executable(rapps ${SOURCE})
 add_pch(rapps rapps.h)
 set_module_type(rapps win32gui UNICODE)
 target_link_libraries(rapps uuid)
-
 add_importlibs(rapps advapi32 comctl32 gdi32 urlmon user32 shell32 shlwapi ole32 msvcrt kernel32 ntdll)
 add_dependencies(rapps rappsmsg)
 add_message_headers(ANSI rappsmsg.mc)
 add_importlibs(rapps advapi32 comctl32 gdi32 urlmon user32 shell32 shlwapi ole32 msvcrt kernel32 ntdll)
 add_dependencies(rapps rappsmsg)
 add_message_headers(ANSI rappsmsg.mc)
index ec1dcf5..08f8f6c 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 include_directories(BEFORE .)
 
 list(APPEND SOURCE
 include_directories(BEFORE .)
 
 list(APPEND SOURCE
@@ -21,15 +19,9 @@ list(APPEND SOURCE
     regedit.rc)
 
 add_executable(regedit ${SOURCE})
     regedit.rc)
 
 add_executable(regedit ${SOURCE})
-
 set_module_type(regedit win32gui UNICODE)
 set_module_type(regedit win32gui UNICODE)
-
 target_link_libraries(regedit uuid)
 target_link_libraries(regedit uuid)
-
 add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
 add_importlibs(regedit user32 gdi32 advapi32 ole32 shell32 comctl32 comdlg32 shlwapi msvcrt kernel32)
-
 add_pch(regedit regedit.h)
 add_pch(regedit regedit.h)
-
-#add_subdirectory(clb)
-
 add_cd_file(TARGET regedit DESTINATION reactos FOR all)
 add_cd_file(TARGET regedit DESTINATION reactos FOR all)
+#add_subdirectory(clb)
index 29e3853..11c6ad2 100644 (file)
@@ -1,8 +1,6 @@
 
 spec2def(clb.dll clb.spec)
 
 
 spec2def(clb.dll clb.spec)
 
-set_rc_compiler()
-
 add_library(clb SHARED
     clb.c
     clb.rc
 add_library(clb SHARED
     clb.c
     clb.rc
index 2e00f7b..4a65a29 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(regedt32 regedt32.c resource.rc)
 add_executable(regedt32 regedt32.c resource.rc)
-
 set_module_type(regedt32 win32gui UNICODE)
 add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
 add_cd_file(TARGET regedt32 DESTINATION reactos/system32 FOR all)
 set_module_type(regedt32 win32gui UNICODE)
 add_importlibs(regedt32 shell32 shlwapi msvcrt kernel32)
 add_cd_file(TARGET regedt32 DESTINATION reactos/system32 FOR all)
index b81b1d3..8ae3ad7 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_executable(3dtext
     3dtext.c
     settings.c
 add_executable(3dtext
     3dtext.c
     settings.c
@@ -11,5 +9,4 @@ add_pch(3dtext 3dtext.h)
 set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
 target_link_libraries(3dtext scrnsave)
 add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
 set_target_properties(3dtext PROPERTIES SUFFIX ".scr")
 target_link_libraries(3dtext scrnsave)
 add_importlibs(3dtext user32 gdi32 opengl32 glu32 advapi32 msvcrt kernel32)
-
 add_cd_file(TARGET 3dtext DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET 3dtext DESTINATION reactos/system32 FOR all)
index 41499e0..c13e506 100644 (file)
@@ -1,11 +1,7 @@
 
 
-set_rc_compiler()
-
 add_executable(logon logon.c logon.rc)
 add_executable(logon logon.c logon.rc)
-
 set_module_type(logon win32gui UNICODE)
 set_target_properties(logon PROPERTIES SUFFIX ".scr")
 set_module_type(logon win32gui UNICODE)
 set_target_properties(logon PROPERTIES SUFFIX ".scr")
-
 target_link_libraries(logon scrnsave)
 add_importlibs(logon user32 gdi32 msvcrt kernel32)
 add_cd_file(TARGET logon DESTINATION reactos/system32 FOR all)
 target_link_libraries(logon scrnsave)
 add_importlibs(logon user32 gdi32 msvcrt kernel32)
 add_cd_file(TARGET logon DESTINATION reactos/system32 FOR all)
index ed84cd0..9f1d652 100644 (file)
@@ -1,10 +1,5 @@
 
 
-set_rc_compiler()
-
-add_executable(setup16
-    main.c)
-
+add_executable(setup16 main.c)
 set_module_type(setup16 win32gui UNICODE)
 add_importlibs(setup16 user32 gdi32 advapi32 msvcrt kernel32 shell32 setupapi)
 set_module_type(setup16 win32gui UNICODE)
 add_importlibs(setup16 user32 gdi32 advapi32 msvcrt kernel32 shell32 setupapi)
-
 add_cd_file(TARGET setup16 DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET setup16 DESTINATION reactos/system32 FOR all)
index 18c7aea..bf8ccf3 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     gui.c
     misc.c
 list(APPEND SOURCE
     gui.c
     misc.c
@@ -8,7 +6,6 @@ list(APPEND SOURCE
     shutdown.rc)
 
 add_executable(shutdown ${SOURCE})
     shutdown.rc)
 
 add_executable(shutdown ${SOURCE})
-
 set_module_type(shutdown win32cui UNICODE)
 add_importlibs(shutdown advapi32 user32 msvcrt powrprof kernel32)
 add_pch(shutdown precomp.h)
 set_module_type(shutdown win32cui UNICODE)
 add_importlibs(shutdown advapi32 user32 msvcrt powrprof kernel32)
 add_pch(shutdown precomp.h)
index 553a29e..7c8b4eb 100644 (file)
@@ -1,6 +1,5 @@
 
 set_cpp()
 
 set_cpp()
-set_rc_compiler()
 
 add_executable(sndrec32
     audio_format.cpp
 
 add_executable(sndrec32
     audio_format.cpp
index 7c01fac..7b44fc8 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     dialog.c
     misc.c
 list(APPEND SOURCE
     dialog.c
     misc.c
@@ -9,7 +7,6 @@ list(APPEND SOURCE
     sndvol32.rc)
 
 add_executable(sndvol32 ${SOURCE})
     sndvol32.rc)
 
 add_executable(sndvol32 ${SOURCE})
-
 set_module_type(sndvol32 win32gui UNICODE)
 add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
 add_pch(sndvol32 sndvol32.h)
 set_module_type(sndvol32 win32gui UNICODE)
 add_importlibs(sndvol32 user32 advapi32 gdi32 comctl32 shell32 winmm msvcrt kernel32 ntdll)
 add_pch(sndvol32 sndvol32.h)
index 5b0e8c0..a0a4e2a 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     about.c
     affinity.c
 list(APPEND SOURCE
     about.c
     affinity.c
@@ -23,7 +21,6 @@ list(APPEND SOURCE
     taskmgr.rc)
 
 add_executable(taskmgr ${SOURCE})
     taskmgr.rc)
 
 add_executable(taskmgr ${SOURCE})
-
 set_module_type(taskmgr win32gui UNICODE)
 add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
 add_pch(taskmgr precomp.h)
 set_module_type(taskmgr win32gui UNICODE)
 add_importlibs(taskmgr advapi32 user32 gdi32 shell32 comctl32 msvcrt kernel32 ntdll)
 add_pch(taskmgr precomp.h)
index dbc2bdf..e01d532 100644 (file)
@@ -1,10 +1,6 @@
 
 
-set_rc_compiler()
-
 add_executable(reactos reactos.c reactos.rc)
 add_executable(reactos reactos.c reactos.rc)
-
 target_link_libraries(reactos uuid)
 target_link_libraries(reactos uuid)
-
 set_module_type(reactos win32gui UNICODE)
 add_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
 add_cd_file(TARGET reactos DESTINATION reactos NO_CAB FOR bootcd)
 set_module_type(reactos win32gui UNICODE)
 add_importlibs(reactos gdi32 user32 comctl32 setupapi msvcrt kernel32 ntdll)
 add_cd_file(TARGET reactos DESTINATION reactos NO_CAB FOR bootcd)
index 42d7ae5..f5eac7a 100644 (file)
@@ -1,21 +1,6 @@
 
 
-set_rc_compiler()
-
 add_executable(vmwinst vmwinst.c vmwinst.rc)
 add_executable(vmwinst vmwinst.c vmwinst.rc)
-
 target_link_libraries(vmwinst ${PSEH_LIB})
 target_link_libraries(vmwinst ${PSEH_LIB})
-
 set_module_type(vmwinst win32gui UNICODE)
 set_module_type(vmwinst win32gui UNICODE)
-add_importlibs(vmwinst
-    advapi32
-    comctl32
-    comdlg32
-    newdev
-    user32
-    setupapi
-    shell32
-    msvcrt
-    kernel32
-    ntdll)
-
+add_importlibs(vmwinst advapi32 comctl32 comdlg32 newdev user32 setupapi shell32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET vmwinst DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET vmwinst DESTINATION reactos/system32 FOR all)
index b676ac0..8783814 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(welcome welcome.c welcome.rc)
 add_executable(welcome welcome.c welcome.rc)
-
 set_module_type(welcome win32gui UNICODE)
 add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET welcome DESTINATION reactos NO_CAB FOR bootcd)
 set_module_type(welcome win32gui UNICODE)
 add_importlibs(welcome gdi32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET welcome DESTINATION reactos NO_CAB FOR bootcd)
index dbd1482..e1dcf6c 100644 (file)
@@ -1,15 +1,10 @@
 
 
-
 add_definitions(
     -DANONYMOUSUNIONS
     -D_DEBUG_MEM)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(
     -DANONYMOUSUNIONS
     -D_DEBUG_MEM)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
-list(APPEND SOURCE main.c cmd.rc)
-
 list(APPEND SOURCE
     alias.c
     assoc.c
 list(APPEND SOURCE
     alias.c
     assoc.c
@@ -43,6 +38,7 @@ list(APPEND SOURCE
     internal.c
     label.c
     locale.c
     internal.c
     label.c
     locale.c
+    main.c
     memory.c
     misc.c
     mklink.c
     memory.c
     misc.c
     mklink.c
@@ -69,12 +65,11 @@ list(APPEND SOURCE
     verify.c
     vol.c
     where.c
     verify.c
     vol.c
     where.c
-    window.c)
+    window.c
+    cmd.rc)
 
 add_executable(cmd ${SOURCE})
 
 add_executable(cmd ${SOURCE})
-
 target_link_libraries(cmd wine)
 target_link_libraries(cmd wine)
-
 set_module_type(cmd win32cui UNICODE)
 add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
 add_pch(cmd precomp.h)
 set_module_type(cmd win32cui UNICODE)
 add_importlibs(cmd advapi32 user32 msvcrt kernel32 ntdll)
 add_pch(cmd precomp.h)
index 497dc14..2e1122e 100644 (file)
@@ -1,9 +1,6 @@
 
 
-
 add_definitions(-DWIN32)
 
 add_definitions(-DWIN32)
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     desktop.c
     dragdrop.c
 list(APPEND SOURCE
     desktop.c
     dragdrop.c
@@ -18,23 +15,8 @@ list(APPEND SOURCE
     explorer.rc)
 
 add_executable(explorer_new ${SOURCE})
     explorer.rc)
 
 add_executable(explorer_new ${SOURCE})
-
 target_link_libraries(explorer_new uuid)
 target_link_libraries(explorer_new uuid)
-
 set_module_type(explorer_new win32gui UNICODE)
 set_module_type(explorer_new win32gui UNICODE)
-add_importlibs(explorer_new
-    advapi32
-    gdi32
-    user32
-    comctl32
-    ole32
-    oleaut32
-    shell32
-    shlwapi
-    version
-    msvcrt
-    kernel32
-    ntdll)
+add_importlibs(explorer_new advapi32 gdi32 user32 comctl32 ole32 oleaut32 shell32 shlwapi version msvcrt kernel32 ntdll)
 add_pch(explorer_new precomp.h)
 add_pch(explorer_new precomp.h)
-
 add_cd_file(TARGET explorer_new DESTINATION reactos FOR all)
 add_cd_file(TARGET explorer_new DESTINATION reactos FOR all)
index 80a0813..75c86f8 100644 (file)
@@ -1,8 +1,6 @@
 
 add_subdirectory(notifyhook)
 
 
 add_subdirectory(notifyhook)
 
-set_rc_compiler()
-
 #NOTE : explorer doesn't follow standard c++, and so doesn't compile with stlport headers
 #I'm not willing to do it if explorer_new is hanging around.
 #jgardou
 #NOTE : explorer doesn't follow standard c++, and so doesn't compile with stlport headers
 #I'm not willing to do it if explorer_new is hanging around.
 #jgardou
@@ -53,7 +51,6 @@ list(APPEND SOURCE
     utility/shellbrowserimpl.cpp) #    utility/shelltests.cpp
 
 add_executable(explorer ${SOURCE})
     utility/shellbrowserimpl.cpp) #    utility/shelltests.cpp
 
 add_executable(explorer ${SOURCE})
-
 set_subsystem(explorer windows)
 set_entrypoint(explorer wWinMainCRTStartup)
 
 set_subsystem(explorer windows)
 set_entrypoint(explorer wWinMainCRTStartup)
 
index 38ecfa5..528a284 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 add_executable(diskpart
        active.c
 
 add_executable(diskpart
        active.c
@@ -44,6 +43,6 @@ add_executable(diskpart
 set_module_type(diskpart win32cui UNICODE)
 add_importlibs(diskpart user32 msvcrt kernel32)
 if(MSVC)
 set_module_type(diskpart win32cui UNICODE)
 add_importlibs(diskpart user32 msvcrt kernel32)
 if(MSVC)
-add_importlibs(diskpart ntdll)
+       add_importlibs(diskpart ntdll)
 endif()
 endif()
-add_cd_file(TARGET diskpart DESTINATION reactos/system32 FOR all) 
\ No newline at end of file
+add_cd_file(TARGET diskpart DESTINATION reactos/system32 FOR all)
index 5973db5..d54a55a 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(format format.c format.rc)
 add_executable(format format.c format.rc)
-
 set_module_type(format win32cui)
 add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
 add_cd_file(TARGET format DESTINATION reactos/system32 FOR all)
 set_module_type(format win32cui)
 add_importlibs(format user32 fmifs msvcrt kernel32 ntdll)
 add_cd_file(TARGET format DESTINATION reactos/system32 FOR all)
index 4dd90f0..02c4aad 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(regsvr32 regsvr32.c regsvr32.rc)
 add_executable(regsvr32 regsvr32.c regsvr32.rc)
-
 set_module_type(regsvr32 win32gui UNICODE)
 add_importlibs(regsvr32 user32 shell32 ole32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET regsvr32 DESTINATION reactos/system32 FOR all)
 set_module_type(regsvr32 win32gui UNICODE)
 add_importlibs(regsvr32 user32 shell32 ole32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET regsvr32 DESTINATION reactos/system32 FOR all)
index f5454e5..365085f 100644 (file)
@@ -1,9 +1,6 @@
 
 include_directories(.)
 
 include_directories(.)
-set_rc_compiler()
-
 add_executable(rundll32 rundll32.c rundll32.rc)
 add_executable(rundll32 rundll32.c rundll32.rc)
-
 set_module_type(rundll32 win32gui UNICODE)
 add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET rundll32 DESTINATION reactos/system32 FOR all)
 set_module_type(rundll32 win32gui UNICODE)
 add_importlibs(rundll32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET rundll32 DESTINATION reactos/system32 FOR all)
index 47eda7d..a455a80 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(runonce runonce.c runonce.rc)
 add_executable(runonce runonce.c runonce.rc)
-
 set_module_type(runonce win32gui UNICODE)
 add_importlibs(runonce advapi32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET runonce DESTINATION reactos/system32 FOR all)
 set_module_type(runonce win32gui UNICODE)
 add_importlibs(runonce advapi32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET runonce DESTINATION reactos/system32 FOR all)
index 6a41727..e1f04ea 100644 (file)
@@ -1,8 +1,5 @@
 
 
-set_rc_compiler()
-
 add_executable(subst subst.c subst.rc)
 add_executable(subst subst.c subst.rc)
-
 set_module_type(subst win32cui UNICODE)
 add_importlibs(subst msvcrt kernel32 user32 ntdll)
 add_cd_file(TARGET subst DESTINATION reactos/system32 FOR all)
 set_module_type(subst win32cui UNICODE)
 add_importlibs(subst msvcrt kernel32 user32 ntdll)
 add_cd_file(TARGET subst DESTINATION reactos/system32 FOR all)
index 5f09cdc..ac14dfa 100644 (file)
@@ -209,9 +209,6 @@ function(set_module_type_toolchain MODULE TYPE)
     endif()
 endfunction()
 
     endif()
 endfunction()
 
-function(set_rc_compiler)
-endfunction()
-
 function(add_delay_importlibs MODULE)
     foreach(LIB ${ARGN})
         target_link_libraries(${MODULE} lib${LIB}_delayed)
 function(add_delay_importlibs MODULE)
     foreach(LIB ${ARGN})
         target_link_libraries(${MODULE} lib${LIB}_delayed)
index 4e92f6c..952403e 100644 (file)
@@ -117,9 +117,6 @@ function(set_module_type_toolchain MODULE TYPE)
     endif()
 endfunction()
 
     endif()
 endfunction()
 
-function(set_rc_compiler)
-endfunction()
-
 #define those for having real libraries
 set(CMAKE_IMPLIB_CREATE_STATIC_LIBRARY "LINK /LIB /NOLOGO <LINK_FLAGS> /OUT:<TARGET> <OBJECTS>")
 set(CMAKE_STUB_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> /Cp /Fo<OBJECT> /c /Ta <SOURCE>")
 #define those for having real libraries
 set(CMAKE_IMPLIB_CREATE_STATIC_LIBRARY "LINK /LIB /NOLOGO <LINK_FLAGS> /OUT:<TARGET> <OBJECTS>")
 set(CMAKE_STUB_ASM_COMPILE_OBJECT "<CMAKE_ASM_COMPILER> /Cp /Fo<OBJECT> /c /Ta <SOURCE>")
index a39f376..e031dd3 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(access.cpl access.spec)
 
 add_library(access SHARED
 spec2def(access.cpl access.spec)
 
 add_library(access SHARED
@@ -11,17 +9,9 @@ add_library(access SHARED
     mouse.c
     sound.c
     access.rc
     mouse.c
     sound.c
     access.rc
-     ${CMAKE_CURRENT_BINARY_DIR}/access.def)
+    ${CMAKE_CURRENT_BINARY_DIR}/access.def)
 
 set_module_type(access cpl UNICODE)
 
 set_module_type(access cpl UNICODE)
-
-add_importlibs(access
-    msvcrt
-    user32
-    gdi32
-    advapi32
-    comctl32
-    kernel32)
-
+add_importlibs(access user32 gdi32 advapi32 comctl32 msvcrt kernel32)
 add_pch(access access.h)
 add_cd_file(TARGET access DESTINATION reactos/system32 FOR all)
 add_pch(access access.h)
 add_cd_file(TARGET access DESTINATION reactos/system32 FOR all)
index a92e6bc..10e57fb 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(appwiz.cpl appwiz.spec)
 
 add_library(appwiz SHARED
 spec2def(appwiz.cpl appwiz.spec)
 
 add_library(appwiz SHARED
@@ -10,17 +8,7 @@ add_library(appwiz SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
 
 set_module_type(appwiz cpl UNICODE)
     ${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
 
 set_module_type(appwiz cpl UNICODE)
-
 target_link_libraries(appwiz uuid)
 target_link_libraries(appwiz uuid)
-
-add_importlibs(appwiz
-    msvcrt
-    user32
-    ole32
-    advapi32
-    comctl32
-    shell32
-    kernel32)
-
+add_importlibs(appwiz user32 ole32 advapi32 comctl32 shell32 msvcrt kernel32)
 add_pch(appwiz appwiz.h)
 add_cd_file(TARGET appwiz DESTINATION reactos/system32 FOR all)
 add_pch(appwiz appwiz.h)
 add_cd_file(TARGET appwiz DESTINATION reactos/system32 FOR all)
index d1d674b..c32c115 100644 (file)
@@ -1,8 +1,6 @@
 
 add_definitions(-D_WIN32)
 
 
 add_definitions(-D_WIN32)
 
-set_rc_compiler()
-
 spec2def(desk.cpl desk.spec)
 
 add_library(desk SHARED
 spec2def(desk.cpl desk.spec)
 
 add_library(desk SHARED
@@ -27,7 +25,6 @@ add_library(desk SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
 
 set_module_type(desk cpl UNICODE)
     ${CMAKE_CURRENT_BINARY_DIR}/desk.def)
 
 set_module_type(desk cpl UNICODE)
-
 target_link_libraries(desk uuid)
 
 add_importlibs(desk
 target_link_libraries(desk uuid)
 
 add_importlibs(desk
index 5271508..accc2fe 100644 (file)
@@ -1,10 +1,6 @@
 
 
-set_rc_compiler()
-
 spec2def(hdwwiz.cpl hdwwiz.spec)
 spec2def(hdwwiz.cpl hdwwiz.spec)
-
 add_library(hdwwiz SHARED hdwwiz.c hdwwiz.rc ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
 add_library(hdwwiz SHARED hdwwiz.c hdwwiz.rc ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
-
 set_module_type(hdwwiz cpl UNICODE)
 
 add_importlibs(hdwwiz
 set_module_type(hdwwiz cpl UNICODE)
 
 add_importlibs(hdwwiz
index 7067299..c8dafa9 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 spec2def(inetcpl.cpl inetcpl.spec)
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 spec2def(inetcpl.cpl inetcpl.spec)
@@ -15,26 +13,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
 
 add_library(inetcpl SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/inetcpl.def)
 
 add_library(inetcpl SHARED ${SOURCE})
-
 set_module_type(inetcpl cpl UNICODE)
 set_module_type(inetcpl cpl UNICODE)
-
 target_link_libraries(inetcpl wine)
 target_link_libraries(inetcpl wine)
-
-add_importlibs(inetcpl
-    advapi32
-    comctl32
-    user32
-    gdi32
-    shlwapi
-    msvcrt
-    kernel32
-    ntdll)
-
-add_delay_importlibs(inetcpl
-    cryptui
-    wininet
-    ole32
-    urlmon)
-
+add_importlibs(inetcpl advapi32 comctl32 user32 gdi32 shlwapi msvcrt kernel32 ntdll)
+add_delay_importlibs(inetcpl cryptui wininet ole32 urlmon)
 add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET inetcpl DESTINATION reactos/system32 FOR all)
-
index 931a249..a4aa664 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(input.dll input.spec)
 
 add_library(input SHARED
 spec2def(input.dll input.spec)
 
 add_library(input SHARED
index d0c7d7c..a675d50 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(intl.cpl intl.spec)
 
 add_library(intl SHARED
 spec2def(intl.cpl intl.spec)
 
 add_library(intl SHARED
index 535d6ad..d0759ae 100644 (file)
@@ -1,12 +1,7 @@
 
 
-set_rc_compiler()
-
 spec2def(joy.cpl joy.spec)
 spec2def(joy.cpl joy.spec)
-
 add_library(joy SHARED joy.c joy.rc ${CMAKE_CURRENT_BINARY_DIR}/joy.def)
 add_library(joy SHARED joy.c joy.rc ${CMAKE_CURRENT_BINARY_DIR}/joy.def)
-
 set_module_type(joy cpl UNICODE)
 set_module_type(joy cpl UNICODE)
-
 target_link_libraries(joy uuid)
 
 add_importlibs(joy
 target_link_libraries(joy uuid)
 
 add_importlibs(joy
index 2544d00..f364ca1 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(mmsys.cpl mmsys.spec)
 
 add_library(mmsys SHARED
 spec2def(mmsys.cpl mmsys.spec)
 
 add_library(mmsys SHARED
index 9f4f2fc..d89a9a4 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(powercfg.cpl powercfg.spec)
 
 add_library(powercfg SHARED
 spec2def(powercfg.cpl powercfg.spec)
 
 add_library(powercfg SHARED
index 5b1fbe2..73221af 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(sysdm.cpl sysdm.spec)
 
 list(APPEND SOURCE
 spec2def(sysdm.cpl sysdm.spec)
 
 list(APPEND SOURCE
@@ -18,7 +16,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
 
 add_library(sysdm SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
 
 add_library(sysdm SHARED ${SOURCE})
-
 set_module_type(sysdm cpl UNICODE)
 
 add_importlibs(sysdm
 set_module_type(sysdm cpl UNICODE)
 
 add_importlibs(sysdm
index 81adeeb..cb53705 100644 (file)
@@ -1,12 +1,7 @@
 
 
-set_rc_compiler()
-
 spec2def(telephon.cpl telephon.spec)
 spec2def(telephon.cpl telephon.spec)
-
 add_library(telephon SHARED telephon.c telephon.rc ${CMAKE_CURRENT_BINARY_DIR}/telephon.def)
 add_library(telephon SHARED telephon.c telephon.rc ${CMAKE_CURRENT_BINARY_DIR}/telephon.def)
-
 set_module_type(telephon cpl UNICODE)
 set_module_type(telephon cpl UNICODE)
-
 target_link_libraries(telephon uuid)
 
 add_importlibs(telephon
 target_link_libraries(telephon uuid)
 
 add_importlibs(telephon
index 8290390..954111b 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(timedate.cpl timedate.spec)
 
 add_library(timedate SHARED
 spec2def(timedate.cpl timedate.spec)
 
 add_library(timedate SHARED
index c87e1d4..77d846c 100644 (file)
@@ -1,9 +1,6 @@
 
 
-
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(usrmgr.cpl usrmgr.spec)
 
 add_library(usrmgr SHARED
 spec2def(usrmgr.cpl usrmgr.spec)
 
 add_library(usrmgr SHARED
index 3a942cc..6434ec7 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(wined3dcfg.cpl wined3dcfg.spec)
 
 add_library(wined3dcfg SHARED
 spec2def(wined3dcfg.cpl wined3dcfg.spec)
 
 add_library(wined3dcfg SHARED
index 05893e5..fbf7cea 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(dplayx.dll dplayx.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(dplayx.dll dplayx.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -21,11 +19,7 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_library(dplayx SHARED ${SOURCE})
 set_module_type(dplayx win32dll)
 
 add_library(dplayx SHARED ${SOURCE})
 set_module_type(dplayx win32dll)
-
-target_link_libraries(dplayx
-    wine
-    uuid
-    dxguid)
+target_link_libraries(dplayx wine uuid dxguid)
 
 add_importlibs(dplayx
     advapi32
 
 add_importlibs(dplayx
     advapi32
@@ -37,4 +31,3 @@ add_importlibs(dplayx
     ntdll)
 
 add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
     ntdll)
 
 add_cd_file(TARGET dplayx DESTINATION reactos/system32 FOR all)
-
index 329f2cd..a54b23a 100644 (file)
@@ -1,13 +1,10 @@
 
 
-
 add_definitions(
     -D__WINESRC__
     -DUSE_WIN32_OPENGL)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(
     -D__WINESRC__
     -DUSE_WIN32_OPENGL)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(d3d8.dll d3d8.spec)
 
 list(APPEND SOURCE
 spec2def(d3d8.dll d3d8.spec)
 
 list(APPEND SOURCE
@@ -25,9 +22,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
 
 add_library(d3d8 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/d3d8.def)
 
 add_library(d3d8 SHARED ${SOURCE})
-
 set_module_type(d3d8 win32dll UNICODE)
 set_module_type(d3d8 win32dll UNICODE)
-
 target_link_libraries(d3d8 uuid wine)
 
 add_importlibs(d3d8
 target_link_libraries(d3d8 uuid wine)
 
 add_importlibs(d3d8
index 15eec49..52ee8b6 100644 (file)
@@ -1,13 +1,10 @@
 
 
-
 add_definitions(
     -D__WINESRC__
     -DUSE_WIN32_OPENGL)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(
     -D__WINESRC__
     -DUSE_WIN32_OPENGL)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(d3d9.dll d3d9.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(d3d9.dll d3d9.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -28,9 +25,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
 
 add_library(d3d9 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/d3d9.def)
 
 add_library(d3d9 SHARED ${SOURCE})
-
 set_module_type(d3d9 win32dll UNICODE)
 set_module_type(d3d9 win32dll UNICODE)
-
 target_link_libraries(d3d9 uuid wine)
 
 add_importlibs(d3d9
 target_link_libraries(d3d9 uuid wine)
 
 add_importlibs(d3d9
@@ -45,4 +40,3 @@ add_importlibs(d3d9
 add_dependencies(d3d9 wineheaders)
 add_pch(d3d9 d3d9_private.h)
 add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
 add_dependencies(d3d9 wineheaders)
 add_pch(d3d9 d3d9_private.h)
 add_cd_file(TARGET d3d9 DESTINATION reactos/system32 FOR all)
-
index 6b10e93..a3c47ae 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_24.dll d3dx9_24.spec ADD_IMPORTLIB)
 
 
 spec2def(d3dx9_24.dll d3dx9_24.spec ADD_IMPORTLIB)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_24 SHARED ${SOURCE})
 set_module_type(d3dx9_24 win32dll)
 add_library(d3dx9_24 SHARED ${SOURCE})
 set_module_type(d3dx9_24 win32dll)
-
-target_link_libraries(d3dx9_24
-    wine)
+target_link_libraries(d3dx9_24 wine)
 
 add_importlibs(d3dx9_24
     d3dx9_36
 
 add_importlibs(d3dx9_24
     d3dx9_36
@@ -30,4 +25,3 @@ add_importlibs(d3dx9_24
 
 add_dependencies(d3dx9_24 wineheaders)
 add_cd_file(TARGET d3dx9_24 DESTINATION reactos/system32 FOR all)
 
 add_dependencies(d3dx9_24 wineheaders)
 add_cd_file(TARGET d3dx9_24 DESTINATION reactos/system32 FOR all)
-
index a3138e8..fc51ea7 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_25.dll d3dx9_25.spec)
 
 
 spec2def(d3dx9_25.dll d3dx9_25.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_25 SHARED ${SOURCE})
 set_module_type(d3dx9_25 win32dll)
 add_library(d3dx9_25 SHARED ${SOURCE})
 set_module_type(d3dx9_25 win32dll)
-
-target_link_libraries(d3dx9_25
-    wine)
+target_link_libraries(d3dx9_25 wine)
 
 add_importlibs(d3dx9_25
     d3dx9_36
 
 add_importlibs(d3dx9_25
     d3dx9_36
@@ -31,4 +26,3 @@ add_importlibs(d3dx9_25
 
 add_dependencies(d3dx9_25 wineheaders)
 add_cd_file(TARGET d3dx9_25 DESTINATION reactos/system32 FOR all)
 
 add_dependencies(d3dx9_25 wineheaders)
 add_cd_file(TARGET d3dx9_25 DESTINATION reactos/system32 FOR all)
-
index efb2eeb..c6efb92 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_26.dll d3dx9_26.spec)
 
 
 spec2def(d3dx9_26.dll d3dx9_26.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_26.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_26.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_26 SHARED ${SOURCE})
 set_module_type(d3dx9_26 win32dll)
 add_library(d3dx9_26 SHARED ${SOURCE})
 set_module_type(d3dx9_26 win32dll)
-
-target_link_libraries(d3dx9_26
-    wine)
+target_link_libraries(d3dx9_26 wine)
 
 add_importlibs(d3dx9_26
     d3d9
 
 add_importlibs(d3dx9_26
     d3d9
index 9749746..a79898a 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_27.dll d3dx9_27.spec)
 
 
 spec2def(d3dx9_27.dll d3dx9_27.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_27 SHARED ${SOURCE})
 set_module_type(d3dx9_27 win32dll)
 add_library(d3dx9_27 SHARED ${SOURCE})
 set_module_type(d3dx9_27 win32dll)
-
-target_link_libraries(d3dx9_27
-    wine)
+target_link_libraries(d3dx9_27 wine)
 
 add_importlibs(d3dx9_27
     d3d9
 
 add_importlibs(d3dx9_27
     d3d9
index 5d34deb..9f8996b 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_28.dll d3dx9_28.spec)
 
 
 spec2def(d3dx9_28.dll d3dx9_28.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_28.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_28.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_28 SHARED ${SOURCE})
 set_module_type(d3dx9_28 win32dll)
 add_library(d3dx9_28 SHARED ${SOURCE})
 set_module_type(d3dx9_28 win32dll)
-
-target_link_libraries(d3dx9_28
-    wine)
+target_link_libraries(d3dx9_28 wine)
 
 add_importlibs(d3dx9_28
     d3d9
 
 add_importlibs(d3dx9_28
     d3d9
index e0d576f..171b54a 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_29.dll d3dx9_29.spec)
 
 
 spec2def(d3dx9_29.dll d3dx9_29.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_29 SHARED ${SOURCE})
 set_module_type(d3dx9_29 win32dll)
 add_library(d3dx9_29 SHARED ${SOURCE})
 set_module_type(d3dx9_29 win32dll)
-
-target_link_libraries(d3dx9_29
-    wine)
+target_link_libraries(d3dx9_29 wine)
 
 add_importlibs(d3dx9_29
     d3d9
 
 add_importlibs(d3dx9_29
     d3d9
index 00ce311..f51c40b 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_30.dll d3dx9_30.spec)
 
 
 spec2def(d3dx9_30.dll d3dx9_30.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_30.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_30.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_30 SHARED ${SOURCE})
 set_module_type(d3dx9_30 win32dll)
 add_library(d3dx9_30 SHARED ${SOURCE})
 set_module_type(d3dx9_30 win32dll)
-
-target_link_libraries(d3dx9_30
-    wine)
+target_link_libraries(d3dx9_30 wine)
 
 add_importlibs(d3dx9_30
     d3d9
 
 add_importlibs(d3dx9_30
     d3d9
index 84ad7f4..f3ae270 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_31.dll d3dx9_31.spec)
 
 
 spec2def(d3dx9_31.dll d3dx9_31.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_31 SHARED ${SOURCE})
 set_module_type(d3dx9_31 win32dll)
 add_library(d3dx9_31 SHARED ${SOURCE})
 set_module_type(d3dx9_31 win32dll)
-
-target_link_libraries(d3dx9_31
-    wine)
+target_link_libraries(d3dx9_31 wine)
 
 add_importlibs(d3dx9_31
     d3d9
 
 add_importlibs(d3dx9_31
     d3d9
index 2daf736..1430a05 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_32.dll d3dx9_32.spec)
 
 
 spec2def(d3dx9_32.dll d3dx9_32.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_32.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_32.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_32 SHARED ${SOURCE})
 set_module_type(d3dx9_32 win32dll)
 add_library(d3dx9_32 SHARED ${SOURCE})
 set_module_type(d3dx9_32 win32dll)
-
-target_link_libraries(d3dx9_32
-    wine)
+target_link_libraries(d3dx9_32 wine)
 
 add_importlibs(d3dx9_32
     d3d9
 
 add_importlibs(d3dx9_32
     d3d9
index be87694..29c9ba0 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_33.dll d3dx9_33.spec)
 
 
 spec2def(d3dx9_33.dll d3dx9_33.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_33.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_33.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_33 SHARED ${SOURCE})
 set_module_type(d3dx9_33 win32dll)
 add_library(d3dx9_33 SHARED ${SOURCE})
 set_module_type(d3dx9_33 win32dll)
-
-target_link_libraries(d3dx9_33
-    wine)
+target_link_libraries(d3dx9_33 wine)
 
 add_importlibs(d3dx9_33
     d3d9
 
 add_importlibs(d3dx9_33
     d3d9
index 80ae909..25e493f 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_34.dll d3dx9_34.spec)
 
 
 spec2def(d3dx9_34.dll d3dx9_34.spec)
 
@@ -9,14 +8,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_34.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_34.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_34 SHARED ${SOURCE})
 set_module_type(d3dx9_34 win32dll)
 add_library(d3dx9_34 SHARED ${SOURCE})
 set_module_type(d3dx9_34 win32dll)
-
-target_link_libraries(d3dx9_34
-    wine)
+target_link_libraries(d3dx9_34 wine)
 
 add_importlibs(d3dx9_34
     d3d9
 
 add_importlibs(d3dx9_34
     d3d9
index f716213..4edb196 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_35.dll d3dx9_35.spec)
 
 
 spec2def(d3dx9_35.dll d3dx9_35.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_35.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_35.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_35 SHARED ${SOURCE})
 set_module_type(d3dx9_35 win32dll)
 add_library(d3dx9_35 SHARED ${SOURCE})
 set_module_type(d3dx9_35 win32dll)
-
-target_link_libraries(d3dx9_35
-    wine)
+target_link_libraries(d3dx9_35 wine)
 
 add_importlibs(d3dx9_35
     d3dx9_36
 
 add_importlibs(d3dx9_35
     d3dx9_36
index c17ecfe..cadec7e 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
 
 
 spec2def(d3dx9_36.dll d3dx9_36.spec ADD_IMPORTLIB)
 
@@ -18,9 +17,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_36.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_36 SHARED ${SOURCE})
 set_module_type(d3dx9_36 win32dll)
 target_link_libraries(d3dx9_36 uuid wine)
 add_library(d3dx9_36 SHARED ${SOURCE})
 set_module_type(d3dx9_36 win32dll)
 target_link_libraries(d3dx9_36 uuid wine)
index ac929e8..f6b45d8 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_37.dll d3dx9_37.spec)
 
 
 spec2def(d3dx9_37.dll d3dx9_37.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_37.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_37.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_37 SHARED ${SOURCE})
 set_module_type(d3dx9_37 win32dll)
 add_library(d3dx9_37 SHARED ${SOURCE})
 set_module_type(d3dx9_37 win32dll)
-
-target_link_libraries(d3dx9_37
-    wine)
+target_link_libraries(d3dx9_37 wine)
 
 add_importlibs(d3dx9_37
     d3dx9_36
 
 add_importlibs(d3dx9_37
     d3dx9_36
index 9fccb72..bb6212f 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_38.dll d3dx9_38.spec)
 
 
 spec2def(d3dx9_38.dll d3dx9_38.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_38.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_38.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_38 SHARED ${SOURCE})
 set_module_type(d3dx9_38 win32dll)
 add_library(d3dx9_38 SHARED ${SOURCE})
 set_module_type(d3dx9_38 win32dll)
-
-target_link_libraries(d3dx9_38
-    wine)
+target_link_libraries(d3dx9_38 wine)
 
 add_importlibs(d3dx9_38
     d3dx9_36
 
 add_importlibs(d3dx9_38
     d3dx9_36
index 668b18d..d538bb8 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_39.dll d3dx9_39.spec)
 
 
 spec2def(d3dx9_39.dll d3dx9_39.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_39.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_39.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_39 SHARED ${SOURCE})
 set_module_type(d3dx9_39 win32dll)
 add_library(d3dx9_39 SHARED ${SOURCE})
 set_module_type(d3dx9_39 win32dll)
-
-target_link_libraries(d3dx9_39
-    wine)
+target_link_libraries(d3dx9_39 wine)
 
 add_importlibs(d3dx9_39
     d3dx9_36
 
 add_importlibs(d3dx9_39
     d3dx9_36
index 7c80c06..17bf896 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_40.dll d3dx9_40.spec)
 
 
 spec2def(d3dx9_40.dll d3dx9_40.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_40.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_40.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_40 SHARED ${SOURCE})
 set_module_type(d3dx9_40 win32dll)
 add_library(d3dx9_40 SHARED ${SOURCE})
 set_module_type(d3dx9_40 win32dll)
-
-target_link_libraries(d3dx9_40
-    wine)
+target_link_libraries(d3dx9_40 wine)
 
 add_importlibs(d3dx9_40
     d3dx9_36
 
 add_importlibs(d3dx9_40
     d3dx9_36
index 4a6b5d5..c30de70 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_41.dll d3dx9_41.spec)
 
 
 spec2def(d3dx9_41.dll d3dx9_41.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_41.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_41.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_41 SHARED ${SOURCE})
 set_module_type(d3dx9_41 win32dll)
 add_library(d3dx9_41 SHARED ${SOURCE})
 set_module_type(d3dx9_41 win32dll)
-
-target_link_libraries(d3dx9_41
-    wine)
+target_link_libraries(d3dx9_41 wine)
 
 add_importlibs(d3dx9_41
     d3dx9_36
 
 add_importlibs(d3dx9_41
     d3dx9_36
index 0bcaa8c..ac7b09b 100644 (file)
@@ -1,4 +1,3 @@
-set_rc_compiler()
 
 spec2def(d3dx9_42.dll d3dx9_42.spec)
 
 
 spec2def(d3dx9_42.dll d3dx9_42.spec)
 
@@ -8,14 +7,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_42.def)
 
 add_definitions(-D__WINESRC__)
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_42.def)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_library(d3dx9_42 SHARED ${SOURCE})
 set_module_type(d3dx9_42 win32dll)
 add_library(d3dx9_42 SHARED ${SOURCE})
 set_module_type(d3dx9_42 win32dll)
-
-target_link_libraries(d3dx9_42
-    wine)
+target_link_libraries(d3dx9_42 wine)
 
 add_importlibs(d3dx9_42
     d3dx9_36
 
 add_importlibs(d3dx9_42
     d3dx9_36
index 6961c6a..429cb9e 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 spec2def(deskadp.dll deskadp.spec)
 
 list(APPEND SOURCE
 spec2def(deskadp.dll deskadp.spec)
 
 list(APPEND SOURCE
@@ -9,9 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
 
 add_library(deskadp SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
 
 add_library(deskadp SHARED ${SOURCE})
-
 set_module_type(deskadp win32dll UNICODE)
 set_module_type(deskadp win32dll UNICODE)
-
 target_link_libraries(deskadp uuid)
 
 add_importlibs(deskadp
 target_link_libraries(deskadp uuid)
 
 add_importlibs(deskadp
@@ -24,5 +21,4 @@ add_importlibs(deskadp
     ntdll)
 
 add_pch(deskadp precomp.h)
     ntdll)
 
 add_pch(deskadp precomp.h)
-
 add_cd_file(TARGET deskadp DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET deskadp DESTINATION reactos/system32 FOR all)
index e61d5c4..e8e4075 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(deskmon.dll deskmon.spec)
 
 list(APPEND SOURCE
 spec2def(deskmon.dll deskmon.spec)
 
 list(APPEND SOURCE
@@ -10,9 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
 
 add_library(deskmon SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
 
 add_library(deskmon SHARED ${SOURCE})
-
 set_module_type(deskmon win32dll UNICODE)
 set_module_type(deskmon win32dll UNICODE)
-
 target_link_libraries(deskmon uuid)
 
 add_importlibs(deskmon
 target_link_libraries(deskmon uuid)
 
 add_importlibs(deskmon
@@ -25,5 +21,4 @@ add_importlibs(deskmon
     ntdll)
 
 add_pch(deskmon precomp.h)
     ntdll)
 
 add_pch(deskmon precomp.h)
-
 add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET deskmon DESTINATION reactos/system32 FOR all)
index 969ec27..263501c 100644 (file)
@@ -1,10 +1,6 @@
 
 
-set_rc_compiler()
-
 spec2def(devcpux.dll devcpux.spec)
 spec2def(devcpux.dll devcpux.spec)
-
 add_library(devcpux SHARED processor.c processor.rc ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
 add_library(devcpux SHARED processor.c processor.rc ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
-
 set_module_type(devcpux win32dll UNICODE)
 
 add_importlibs(devcpux
 set_module_type(devcpux win32dll UNICODE)
 
 add_importlibs(devcpux
index 4257de3..e17d4d8 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 spec2def(fontext.dll fontext.spec)
 
 add_library(fontext SHARED
 spec2def(fontext.dll fontext.spec)
 
 add_library(fontext SHARED
@@ -9,7 +8,6 @@ add_library(fontext SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
 
 set_module_type(fontext win32dll UNICODE)
     ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
 
 set_module_type(fontext win32dll UNICODE)
-
 target_link_libraries(fontext uuid)
 
 add_importlibs(fontext
 target_link_libraries(fontext uuid)
 
 add_importlibs(fontext
index 417a88d..635c169 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(slayer.dll slayer.spec)
 
 list(APPEND SOURCE
 spec2def(slayer.dll slayer.spec)
 
 list(APPEND SOURCE
@@ -9,9 +7,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/slayer.def)
 
 add_library(slayer SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/slayer.def)
 
 add_library(slayer SHARED ${SOURCE})
-
 set_module_type(slayer win32dll UNICODE)
 set_module_type(slayer win32dll UNICODE)
-
 target_link_libraries(slayer uuid)
 
 add_importlibs(slayer
 target_link_libraries(slayer uuid)
 
 add_importlibs(slayer
@@ -25,5 +21,4 @@ add_importlibs(slayer
     ntdll)
 
 add_pch(slayer precomp.h)
     ntdll)
 
 add_pch(slayer precomp.h)
-
 add_cd_file(TARGET slayer DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET slayer DESTINATION reactos/system32 FOR all)
index e49f5ea..cf3f752 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 spec2def(acledit.dll acledit.spec)
 
 list(APPEND SOURCE
 spec2def(acledit.dll acledit.spec)
 
 list(APPEND SOURCE
@@ -9,9 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
 
 add_library(acledit SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
 
 add_library(acledit SHARED ${SOURCE})
-
 set_module_type(acledit win32dll UNICODE)
 add_importlibs(acledit msvcrt kernel32 ntdll)
 add_pch(acledit acleditint.h)
 add_cd_file(TARGET acledit DESTINATION reactos/system32 FOR all)
 set_module_type(acledit win32dll UNICODE)
 add_importlibs(acledit msvcrt kernel32 ntdll)
 add_pch(acledit acleditint.h)
 add_cd_file(TARGET acledit DESTINATION reactos/system32 FOR all)
-
index a730b98..11eedfc 100644 (file)
@@ -1,6 +1,5 @@
 
 spec2def(aclui.dll aclui.spec)
 
 spec2def(aclui.dll aclui.spec)
-set_rc_compiler()
 
 add_definitions(-DSUPPORT_UXTHEME)
 
 
 add_definitions(-DSUPPORT_UXTHEME)
 
@@ -12,9 +11,7 @@ list(APPEND SOURCE
     sidcache.c
     ${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
 
     sidcache.c
     ${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
 
-add_library(aclui SHARED
-    ${SOURCE}
-    aclui.rc)
+add_library(aclui SHARED ${SOURCE} aclui.rc)
 
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
 
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
@@ -23,7 +20,6 @@ if(NOT MSVC)
 endif()
 
 set_module_type(aclui win32dll UNICODE)
 endif()
 
 set_module_type(aclui win32dll UNICODE)
-
 add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
 add_pch(aclui precomp.h)
 add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
 add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
 add_pch(aclui precomp.h)
 add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
index 813d1ad..e316d80 100644 (file)
@@ -1,13 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
 
 add_library(avifil32 SHARED
 spec2def(avifil32.dll avifil32.spec ADD_IMPORTLIB)
 
 add_library(avifil32 SHARED
@@ -25,7 +21,6 @@ add_library(avifil32 SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
 
 set_module_type(avifil32 win32dll)
     ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
 
 set_module_type(avifil32 win32dll)
-
 target_link_libraries(avifil32 uuid wine)
 
 add_importlibs(avifil32
 target_link_libraries(avifil32 uuid wine)
 
 add_importlibs(avifil32
@@ -39,5 +34,4 @@ add_importlibs(avifil32
     kernel32
     ntdll)
 
     kernel32
     ntdll)
 
-
 add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET avifil32 DESTINATION reactos/system32 FOR all)
index a51293b..cfd7f25 100644 (file)
@@ -1,17 +1,11 @@
 
 spec2def(batt.dll batt.spec)
 
 
 spec2def(batt.dll batt.spec)
 
-set_rc_compiler()
-
 add_library(batt SHARED
     batt.c
     batt.rc
     ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
 
 set_module_type(batt win32dll UNICODE)
 add_library(batt SHARED
     batt.c
     batt.rc
     ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
 
 set_module_type(batt win32dll UNICODE)
-
-
-
 add_importlibs(batt msvcrt kernel32 ntdll)
 add_importlibs(batt msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET batt DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET batt DESTINATION reactos/system32 FOR all)
index d618a81..a3aa1d8 100644 (file)
@@ -1,8 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(bcrypt.dll bcrypt.spec)
 
 list(APPEND SOURCE
 spec2def(bcrypt.dll bcrypt.spec)
 
 list(APPEND SOURCE
@@ -13,9 +11,6 @@ list(APPEND SOURCE
 
 add_library(bcrypt SHARED ${SOURCE})
 set_module_type(bcrypt win32dll)
 
 add_library(bcrypt SHARED ${SOURCE})
 set_module_type(bcrypt win32dll)
-
 target_link_libraries(bcrypt wine)
 target_link_libraries(bcrypt wine)
-
 add_importlibs(bcrypt msvcrt kernel32 ntdll)
 add_importlibs(bcrypt msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET bcrypt DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET bcrypt DESTINATION reactos/system32 FOR all)
index 5578bbc..b254867 100644 (file)
@@ -1,10 +1,7 @@
 
 
-
 # Possible definitions: CARDSTYLE_DEFAULT or CARDSTYLE_BAVARIAN
 add_definitions(-DCARDSTYLE_DEFAULT)
 
 # Possible definitions: CARDSTYLE_DEFAULT or CARDSTYLE_BAVARIAN
 add_definitions(-DCARDSTYLE_DEFAULT)
 
-set_rc_compiler()
-
 spec2def(cards.dll cards.spec)
 
 list(APPEND SOURCE
 spec2def(cards.dll cards.spec)
 
 list(APPEND SOURCE
@@ -13,8 +10,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/cards.def)
 
 add_library(cards SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/cards.def)
 
 add_library(cards SHARED ${SOURCE})
-
 set_module_type(cards win32dll UNICODE)
 add_importlibs(cards user32 gdi32 msvcrt kernel32)
 set_module_type(cards win32dll UNICODE)
 add_importlibs(cards user32 gdi32 msvcrt kernel32)
-
 add_cd_file(TARGET cards DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET cards DESTINATION reactos/system32 FOR all)
index c80015b..cff3894 100644 (file)
@@ -1,9 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(clusapi.dll clusapi.spec)
 
 list(APPEND SOURCE
 spec2def(clusapi.dll clusapi.spec)
 
 list(APPEND SOURCE
@@ -12,11 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def)
 
 add_library(clusapi SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def)
 
 add_library(clusapi SHARED ${SOURCE})
-
 set_module_type(clusapi win32dll)
 set_module_type(clusapi win32dll)
-
 target_link_libraries(clusapi wine)
 target_link_libraries(clusapi wine)
-
 add_importlibs(clusapi msvcrt kernel32 ntdll)
 add_importlibs(clusapi msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET clusapi DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET clusapi DESTINATION reactos/system32 FOR all)
index 1b9d877..392abef 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_definitions(
     -D__WINESRC__
     -D_WINE
 add_definitions(
     -D__WINESRC__
     -D_WINE
@@ -10,7 +8,6 @@ remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(comctl32.dll comctl32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -69,4 +66,3 @@ add_importlibs(comctl32
 
 add_pch(comctl32 comctl32.h)
 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
 
 add_pch(comctl32 comctl32.h)
 add_cd_file(TARGET comctl32 DESTINATION reactos/system32 FOR all)
-
index 62af43c..51e2811 100644 (file)
@@ -4,9 +4,6 @@ add_definitions(
     -D_WINE)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
     -D_WINE)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(comdlg32.dll comdlg32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(comdlg32.dll comdlg32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -41,4 +38,3 @@ add_importlibs(comdlg32
     ntdll)
 
 add_cd_file(TARGET comdlg32 DESTINATION reactos/system32 FOR all)
     ntdll)
 
 add_cd_file(TARGET comdlg32 DESTINATION reactos/system32 FOR all)
-
index c13ccf3..1ab2441 100644 (file)
@@ -1,10 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(credui.dll credui.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(credui.dll credui.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -14,11 +10,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
 
 add_library(credui SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
 
 add_library(credui SHARED ${SOURCE})
-
 set_module_type(credui win32dll)
 set_module_type(credui win32dll)
-
 target_link_libraries(credui wine)
 target_link_libraries(credui wine)
-
 add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
 add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET credui DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET credui DESTINATION reactos/system32 FOR all)
index d5439d4..7a68dff 100644 (file)
@@ -7,9 +7,6 @@ remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(crypt32.dll crypt32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -40,9 +37,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
 
     ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
 
-add_library(crypt32 SHARED
-    ${SOURCE}
-    crypt32.rc)
+add_library(crypt32 SHARED ${SOURCE} crypt32.rc)
 
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
 
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
@@ -54,4 +49,3 @@ set_module_type(crypt32 win32dll)
 target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
 add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)
 target_link_libraries(crypt32 wine ${PSEH_LIB} oldnames)
 add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET crypt32 DESTINATION reactos/system32 FOR all)
-
index 8dc706b..31f1d22 100644 (file)
@@ -2,8 +2,6 @@
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(cryptdlg.dll cryptdlg.spec)
 
 list(APPEND SOURCE
 spec2def(cryptdlg.dll cryptdlg.spec)
 
 list(APPEND SOURCE
@@ -13,9 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
 
 add_library(cryptdlg SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
 
 add_library(cryptdlg SHARED ${SOURCE})
-
 set_module_type(cryptdlg win32dll)
 set_module_type(cryptdlg win32dll)
-
 target_link_libraries(cryptdlg wine)
 
 add_importlibs(cryptdlg
 target_link_libraries(cryptdlg wine)
 
 add_importlibs(cryptdlg
index 82a4ffe..d4508f6 100644 (file)
@@ -11,9 +11,6 @@ if(ARCH STREQUAL "amd64")
 endif()
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 endif()
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(dbghelp.dll dbghelp.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(dbghelp.dll dbghelp.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -45,9 +42,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/dbghelp_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
 
     ${CMAKE_CURRENT_BINARY_DIR}/dbghelp_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
 
-add_library(dbghelp SHARED
-    ${SOURCE}
-    version.rc)
+add_library(dbghelp SHARED ${SOURCE} version.rc)
 
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
 
 if(NOT MSVC)
     # FIXME: http://www.cmake.org/Bug/view.php?id=12998
@@ -60,6 +55,4 @@ target_link_libraries(dbghelp wine ${PSEH_LIB} oldnames)
 add_delay_importlibs(dbghelp version)
 add_importlibs(dbghelp psapi msvcrt kernel32 ntdll)
 add_pch(dbghelp dbghelp_private.h)
 add_delay_importlibs(dbghelp version)
 add_importlibs(dbghelp psapi msvcrt kernel32 ntdll)
 add_pch(dbghelp dbghelp_private.h)
-
-
 add_cd_file(TARGET dbghelp DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET dbghelp DESTINATION reactos/system32 FOR all)
index 038d75a..916a842 100644 (file)
@@ -1,10 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(dciman32.dll dciman32.spec)
 
 list(APPEND SOURCE
 spec2def(dciman32.dll dciman32.spec)
 
 list(APPEND SOURCE
@@ -13,7 +9,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/dciman32.def)
 
 add_library(dciman32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/dciman32.def)
 
 add_library(dciman32 SHARED ${SOURCE})
-
 set_module_type(dciman32 win32dll)
 target_link_libraries(dciman32 wine)
 add_importlibs(dciman32 msvcrt kernel32 ntdll)
 set_module_type(dciman32 win32dll)
 target_link_libraries(dciman32 wine)
 add_importlibs(dciman32 msvcrt kernel32 ntdll)
index 0e5b208..af6aa32 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(devmgr.dll devmgr.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -14,9 +12,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
 
 add_library(devmgr SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
 
 add_library(devmgr SHARED ${SOURCE})
-
 set_module_type(devmgr win32dll UNICODE)
 set_module_type(devmgr win32dll UNICODE)
-
 target_link_libraries(devmgr uuid wine)
 
 add_importlibs(devmgr
 target_link_libraries(devmgr uuid wine)
 
 add_importlibs(devmgr
@@ -29,6 +25,4 @@ add_importlibs(devmgr
     ntdll)
 
 add_pch(devmgr precomp.h)
     ntdll)
 
 add_pch(devmgr precomp.h)
-
 add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET devmgr DESTINATION reactos/system32 FOR all)
-
index 5f775cf..9c75402 100644 (file)
@@ -1,10 +1,7 @@
 
 add_definitions(-D__WINESRC__)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(dwmapi.dll dwmapi.spec)
 
 list(APPEND SOURCE
 spec2def(dwmapi.dll dwmapi.spec)
 
 list(APPEND SOURCE
@@ -14,7 +11,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def)
 
 add_library(dwmapi SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/dwmapi.def)
 
 add_library(dwmapi SHARED ${SOURCE})
-
 set_module_type(dwmapi win32dll)
 target_link_libraries(dwmapi wine)
 add_importlibs(dwmapi msvcrt kernel32 ntdll)
 set_module_type(dwmapi win32dll)
 target_link_libraries(dwmapi wine)
 add_importlibs(dwmapi msvcrt kernel32 ntdll)
index 38147a4..38fc4f4 100644 (file)
@@ -1,19 +1,14 @@
 
 add_definitions(-D__WINESRC__)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(faultrep.dll faultrep.spec)
 
 list(APPEND SOURCE
     faultrep.c
     ${CMAKE_CURRENT_BINARY_DIR}/faultrep_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
 spec2def(faultrep.dll faultrep.spec)
 
 list(APPEND SOURCE
     faultrep.c
     ${CMAKE_CURRENT_BINARY_DIR}/faultrep_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
-    
-add_library(faultrep SHARED ${SOURCE})
 
 
+add_library(faultrep SHARED ${SOURCE})
 set_module_type(faultrep win32dll)
 target_link_libraries(faultrep wine)
 add_importlibs(faultrep advapi32 msvcrt kernel32 ntdll)
 set_module_type(faultrep win32dll)
 target_link_libraries(faultrep wine)
 add_importlibs(faultrep advapi32 msvcrt kernel32 ntdll)
index 88f1a76..cdf7499 100644 (file)
@@ -1,12 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(hhctrl.ocx hhctrl.ocx.spec)
 
 add_library(hhctrl SHARED
 spec2def(hhctrl.ocx hhctrl.ocx.spec)
 
 add_library(hhctrl SHARED
@@ -23,7 +20,6 @@ add_library(hhctrl SHARED
     ${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
 
 set_module_type(hhctrl win32ocx)
     ${CMAKE_CURRENT_BINARY_DIR}/hhctrl.def)
 
 set_module_type(hhctrl win32ocx)
-
 target_link_libraries(hhctrl uuid wine itss_guid)
 
 add_importlibs(hhctrl
 target_link_libraries(hhctrl uuid wine itss_guid)
 
 add_importlibs(hhctrl
index ccba7e2..3b9a3f0 100644 (file)
@@ -1,12 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(hnetcfg.dll hnetcfg.spec)
 
 list(APPEND SOURCE
 spec2def(hnetcfg.dll hnetcfg.spec)
 
 list(APPEND SOURCE
@@ -21,9 +18,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
 
 add_library(hnetcfg SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
 
 add_library(hnetcfg SHARED ${SOURCE})
-
 set_module_type(hnetcfg win32dll)
 set_module_type(hnetcfg win32dll)
-
 target_link_libraries(hnetcfg wine uuid)
 
 add_importlibs(hnetcfg
 target_link_libraries(hnetcfg wine uuid)
 
 add_importlibs(hnetcfg
index 736e776..f93b2b9 100644 (file)
@@ -1,10 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(iccvid.dll iccvid.spec)
 
 list(APPEND SOURCE
 spec2def(iccvid.dll iccvid.spec)
 
 list(APPEND SOURCE
@@ -13,7 +9,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/iccvid.def)
 
 add_library(iccvid SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/iccvid.def)
 
 add_library(iccvid SHARED ${SOURCE})
-
 set_module_type(iccvid win32dll)
 target_link_libraries(iccvid wine)
 add_importlibs(iccvid user32 msvcrt kernel32 ntdll)
 set_module_type(iccvid win32dll)
 target_link_libraries(iccvid wine)
 add_importlibs(iccvid user32 msvcrt kernel32 ntdll)
index 4e0d105..d231d3a 100644 (file)
@@ -1,8 +1,5 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(icmp.dll icmp.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(icmp.dll icmp.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -12,10 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
 
 add_library(icmp SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
 
 add_library(icmp SHARED ${SOURCE})
-
 set_module_type(icmp win32dll)
 set_module_type(icmp win32dll)
-
 target_link_libraries(icmp wine)
 add_importlibs(icmp ws2_32 msvcrt kernel32 ntdll)
 target_link_libraries(icmp wine)
 add_importlibs(icmp ws2_32 msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET icmp DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET icmp DESTINATION reactos/system32 FOR all)
index 5d17403..3a60d79 100644 (file)
@@ -1,12 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(inetcomm.dll inetcomm.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -22,9 +19,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
 
 add_library(inetcomm SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
 
 add_library(inetcomm SHARED ${SOURCE})
-
 set_module_type(inetcomm win32dll)
 set_module_type(inetcomm win32dll)
-
 target_link_libraries(inetcomm uuid wine)
 
 add_importlibs(inetcomm
 target_link_libraries(inetcomm uuid wine)
 
 add_importlibs(inetcomm
@@ -37,5 +32,4 @@ add_importlibs(inetcomm
     kernel32
     ntdll)
 
     kernel32
     ntdll)
 
-
 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET inetcomm DESTINATION reactos/system32 FOR all)
index 3f94ff8..5a59c7d 100644 (file)
@@ -1,12 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(inseng.dll inseng.spec)
 
 list(APPEND SOURCE
 spec2def(inseng.dll inseng.spec)
 
 list(APPEND SOURCE
@@ -16,9 +13,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
 
 add_library(inseng SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
 
 add_library(inseng SHARED ${SOURCE})
-
 set_module_type(inseng win32dll)
 set_module_type(inseng win32dll)
-
 target_link_libraries(inseng uuid wine)
 
 add_importlibs(inseng
 target_link_libraries(inseng uuid wine)
 
 add_importlibs(inseng
index ad5a2a3..efc98c9 100644 (file)
@@ -1,10 +1,6 @@
 
 add_definitions(-D_KERNEL32_)
 
 add_definitions(-D_KERNEL32_)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
-
-set_rc_compiler()
-
 spec2def(kernel32.dll kernel32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(kernel32.dll kernel32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -80,23 +76,19 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/kernel32.def)
 
 if(ARCH STREQUAL "i386")
     ${CMAKE_CURRENT_BINARY_DIR}/kernel32.def)
 
 if(ARCH STREQUAL "i386")
-list(APPEND SOURCE
-    client/i386/fiber.S
-    client/i386/thread.S)
+    list(APPEND SOURCE
+        client/i386/fiber.S
+        client/i386/thread.S)
 elseif(ARCH STREQUAL "amd64")
 elseif(ARCH STREQUAL "amd64")
-list(APPEND SOURCE
-    client/amd64/fiber.S
-    client/amd64/thread.S)
-endif(ARCH STREQUAL "i386")
+    list(APPEND SOURCE
+        client/amd64/fiber.S
+        client/amd64/thread.S)
+endif()
 
 add_library(kernel32 SHARED ${SOURCE})
 
 add_library(kernel32 SHARED ${SOURCE})
-
 set_module_type(kernel32 win32dll ENTRYPOINT DllMain 12)
 set_module_type(kernel32 win32dll ENTRYPOINT DllMain 12)
-
 target_link_libraries(kernel32 wine chkstk ${PSEH_LIB})
 target_link_libraries(kernel32 wine chkstk ${PSEH_LIB})
-
 add_importlibs(kernel32 ntdll)
 add_pch(kernel32 k32.h)
 add_dependencies(kernel32 psdk errcodes asm)
 add_cd_file(TARGET kernel32 DESTINATION reactos/system32 FOR all)
 add_importlibs(kernel32 ntdll)
 add_pch(kernel32 k32.h)
 add_dependencies(kernel32 psdk errcodes asm)
 add_cd_file(TARGET kernel32 DESTINATION reactos/system32 FOR all)
-
index e016604..9f97104 100644 (file)
@@ -1,13 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(localspl.dll localspl.spec)
 
 list(APPEND SOURCE
 spec2def(localspl.dll localspl.spec)
 
 list(APPEND SOURCE
@@ -17,12 +13,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
 
     ${CMAKE_CURRENT_BINARY_DIR}/localspl_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
 
-add_library(localspl SHARED
-    ${SOURCE}
-    localspl.rc)
-
+add_library(localspl SHARED ${SOURCE} localspl.rc)
 set_module_type(localspl win32dll)
 set_module_type(localspl win32dll)
-
 target_link_libraries(localspl wine)
 
 add_importlibs(localspl
 target_link_libraries(localspl wine)
 
 add_importlibs(localspl
@@ -40,4 +32,3 @@ if(NOT MSVC)
     #allow_warnings(localspl)
     set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
 endif()
     #allow_warnings(localspl)
     set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
 endif()
-
index 5aab4d2..43ff2f2 100644 (file)
@@ -1,9 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(localui.dll localui.spec)
 
 list(APPEND SOURCE
 spec2def(localui.dll localui.spec)
 
 list(APPEND SOURCE
@@ -12,10 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/localui.def)
 
 add_library(localui SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/localui.def)
 
 add_library(localui SHARED ${SOURCE})
-
 set_module_type(localui win32dll)
 target_link_libraries(localui uuid wine)
 set_module_type(localui win32dll)
 target_link_libraries(localui uuid wine)
-
-
 add_importlibs(localui winspool user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET localui DESTINATION reactos/system32 FOR all)
 add_importlibs(localui winspool user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET localui DESTINATION reactos/system32 FOR all)
index a68f0ec..ba3b449 100644 (file)
@@ -5,9 +5,6 @@ include_directories(
     ${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
 
 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
     ${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
 
 add_rpc_files(server ${REACTOS_SOURCE_DIR}/include/reactos/idl/lsa.idl)
-
-set_rc_compiler()
-
 spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(lsasrv.dll lsasrv.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -27,10 +24,8 @@ list(APPEND SOURCE
 
 add_library(lsasrv SHARED ${SOURCE})
 set_module_type(lsasrv win32dll ENTRYPOINT 0 UNICODE)
 
 add_library(lsasrv SHARED ${SOURCE})
 set_module_type(lsasrv win32dll ENTRYPOINT 0 UNICODE)
-
 target_link_libraries(lsasrv wine ${PSEH_LIB})
 add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
 add_pch(lsasrv lsasrv.h)
 add_dependencies(lsasrv psdk)
 add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
 target_link_libraries(lsasrv wine ${PSEH_LIB})
 add_importlibs(lsasrv samsrv rpcrt4 msvcrt kernel32 advapi32 ntdll)
 add_pch(lsasrv lsasrv.h)
 add_dependencies(lsasrv psdk)
 add_cd_file(TARGET lsasrv DESTINATION reactos/system32 FOR all)
-
index 5c1484e..dc5835d 100644 (file)
@@ -1,9 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(mapi32.dll mapi32.spec)
 
 list(APPEND SOURCE
 spec2def(mapi32.dll mapi32.spec)
 
 list(APPEND SOURCE
@@ -18,9 +15,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
 
 add_library(mapi32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
 
 add_library(mapi32 SHARED ${SOURCE})
-
 set_module_type(mapi32 win32dll)
 set_module_type(mapi32 win32dll)
-
 target_link_libraries(mapi32 wine uuid)
 add_importlibs(mapi32 shlwapi shell32 user32 advapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)
 target_link_libraries(mapi32 wine uuid)
 add_importlibs(mapi32 shlwapi shell32 user32 advapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET mapi32 DESTINATION reactos/system32 FOR all)
index d1e3b77..3953a52 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(modemui.dll modemui.spec)
 
 list(APPEND SOURCE
 spec2def(modemui.dll modemui.spec)
 
 list(APPEND SOURCE
@@ -10,7 +8,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
 
 add_library(modemui SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
 
 add_library(modemui SHARED ${SOURCE})
-
 set_module_type(modemui win32dll UNICODE)
 add_importlibs(modemui msvcrt kernel32 ntdll)
 add_cd_file(TARGET modemui DESTINATION reactos/system32 FOR all)
 set_module_type(modemui win32dll UNICODE)
 add_importlibs(modemui msvcrt kernel32 ntdll)
 add_cd_file(TARGET modemui DESTINATION reactos/system32 FOR all)
index 575703c..72bfc3d 100644 (file)
@@ -4,9 +4,6 @@ add_definitions(
     -D_WINE)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
     -D_WINE)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(mpr.dll mpr.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(mpr.dll mpr.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -21,10 +18,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
 
 add_library(mpr SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
 
 add_library(mpr SHARED ${SOURCE})
-
 set_module_type(mpr win32dll)
 set_module_type(mpr win32dll)
-
 target_link_libraries(mpr wine)
 add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET mpr DESTINATION reactos/system32 FOR all)
 target_link_libraries(mpr wine)
 add_importlibs(mpr advapi32 user32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET mpr DESTINATION reactos/system32 FOR all)
-
index 9158bc2..ceb02c7 100644 (file)
@@ -1,9 +1,5 @@
 
 
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(msacm32.dll msacm32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -18,14 +14,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
 
 add_library(msacm32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
 
 add_library(msacm32 SHARED ${SOURCE})
-
 set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
 set_module_type(msacm32 win32dll ENTRYPOINT DllMain 12 UNICODE)
-
 target_link_libraries(msacm32 wine)
 add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
 add_dependencies(msacm32 psdk)
 target_link_libraries(msacm32 wine)
 add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
 add_dependencies(msacm32 psdk)
-
 add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
 
 add_cd_file(TARGET msacm32 DESTINATION reactos/system32 FOR all)
 
-
 add_subdirectory(msacm32.drv)
 add_subdirectory(msacm32.drv)
index 89b40b5..2888fa6 100644 (file)
@@ -1,9 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(msftedit.dll msftedit.spec)
 
 list(APPEND SOURCE
 spec2def(msftedit.dll msftedit.spec)
 
 list(APPEND SOURCE
@@ -13,9 +10,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def)
 
 add_library(msftedit SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def)
 
 add_library(msftedit SHARED ${SOURCE})
-
 set_module_type(msftedit win32dll)
 set_module_type(msftedit win32dll)
-
 target_link_libraries(msftedit uuid wine)
 add_importlibs(msftedit riched20 msvcrt kernel32 ntdll)
 add_cd_file(TARGET msftedit DESTINATION reactos/system32 FOR all)
 target_link_libraries(msftedit uuid wine)
 add_importlibs(msftedit riched20 msvcrt kernel32 ntdll)
 add_cd_file(TARGET msftedit DESTINATION reactos/system32 FOR all)
index 17a98b3..9524d6d 100644 (file)
@@ -3,8 +3,6 @@ include_directories(
     include
     ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
     include
     ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
-
 spec2def(msgina.dll msgina.spec)
 
 list(APPEND SOURCE
 spec2def(msgina.dll msgina.spec)
 
 list(APPEND SOURCE
index 755279d..5d5fbd6 100644 (file)
@@ -4,11 +4,7 @@ add_definitions(-D_WIN32_WINNT=0x600)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_idl_Headers(mshtml_nsiface_header nsiface.idl)
 add_idl_Headers(mshtml_nsiface_header nsiface.idl)
-
-set_rc_compiler()
-
 spec2def(mshtml.dll mshtml.spec)
 
 list(APPEND SOURCE
 spec2def(mshtml.dll mshtml.spec)
 
 list(APPEND SOURCE
index 3832d3f..659c0f1 100644 (file)
@@ -1,9 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(msimtf.dll msimtf.spec)
 
 list(APPEND SOURCE
 spec2def(msimtf.dll msimtf.spec)
 
 list(APPEND SOURCE
@@ -14,9 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def)
 
 add_library(msimtf SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def)
 
 add_library(msimtf SHARED ${SOURCE})
-
 set_module_type(msimtf win32dll)
 set_module_type(msimtf win32dll)
-
 target_link_libraries(msimtf uuid wine)
 add_importlibs(msimtf msvcrt imm32 kernel32 ntdll)
 add_cd_file(TARGET msimtf DESTINATION reactos/system32 FOR all)
 target_link_libraries(msimtf uuid wine)
 add_importlibs(msimtf msvcrt imm32 kernel32 ntdll)
 add_cd_file(TARGET msimtf DESTINATION reactos/system32 FOR all)
index b79aa8b..6c3a8c8 100644 (file)
@@ -1,9 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(msrle32.dll msrle32.spec)
 
 list(APPEND SOURCE
 spec2def(msrle32.dll msrle32.spec)
 
 list(APPEND SOURCE
@@ -12,7 +9,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
 
 add_library(msrle32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
 
 add_library(msrle32 SHARED ${SOURCE})
-
 set_module_type(msrle32 win32dll)
 target_link_libraries(msrle32 wine)
 add_importlibs(msrle32 msvcrt winmm user32 kernel32 ntdll)
 set_module_type(msrle32 win32dll)
 target_link_libraries(msrle32 wine)
 add_importlibs(msrle32 msvcrt winmm user32 kernel32 ntdll)
index b088067..9c1183c 100644 (file)
@@ -1,18 +1,13 @@
 
 
-add_definitions(-D__WINESRC__)
-
 remove_definitions(-DWINVER=0x502)
 add_definitions(-DWINVER=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-DWINVER=0x502)
 add_definitions(-DWINVER=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 generate_idl_iids(mstask_local.idl)
 generate_idl_iids(mstask_local.idl)
-
 spec2def(mstask.dll mstask.spec)
 
 list(APPEND SOURCE
 spec2def(mstask.dll mstask.spec)
 
 list(APPEND SOURCE
index 209877c..728d756 100644 (file)
@@ -1,4 +1,5 @@
 
 
+include_directories(${REACTOS_SOURCE_DIR}/lib/sdk/crt/include)
 spec2def(msvcrt.dll msvcrt.spec ADD_IMPORTLIB)
 
 add_definitions(
 spec2def(msvcrt.dll msvcrt.spec ADD_IMPORTLIB)
 
 add_definitions(
@@ -11,10 +12,6 @@ add_definitions(
     -DCRTDLL
     -D__MINGW_IMPORT="")
 
     -DCRTDLL
     -D__MINGW_IMPORT="")
 
-include_directories(${REACTOS_SOURCE_DIR}/lib/sdk/crt/include)
-
-set_rc_compiler()
-
 list(APPEND SOURCE
     dllmain.c
     stubs.c
 list(APPEND SOURCE
     dllmain.c
     stubs.c
@@ -22,11 +19,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt.def)
 
 add_library(msvcrt SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt.def)
 
 add_library(msvcrt SHARED ${SOURCE})
-
 set_module_type(msvcrt win32dll ENTRYPOINT DllMain 12)
 set_module_type(msvcrt win32dll ENTRYPOINT DllMain 12)
-
 add_dependencies(msvcrt psdk)
 add_dependencies(msvcrt psdk)
-
 target_link_libraries(msvcrt crt wine ${PSEH_LIB})
 
 if(MSVC)
 target_link_libraries(msvcrt crt wine ${PSEH_LIB})
 
 if(MSVC)
@@ -37,4 +31,3 @@ endif()
 add_importlibs(msvcrt kernel32 ntdll)
 add_pch(msvcrt precomp.h)
 add_cd_file(TARGET msvcrt DESTINATION reactos/system32 FOR all)
 add_importlibs(msvcrt kernel32 ntdll)
 add_pch(msvcrt precomp.h)
 add_cd_file(TARGET msvcrt DESTINATION reactos/system32 FOR all)
-
index 17679eb..2f5b29e 100644 (file)
@@ -4,7 +4,6 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 add_definitions(-D_WINE)
 
 add_definitions(-D__WINESRC__)
 add_definitions(-D_WINE)
 
-set_rc_compiler()
 spec2def(msvfw32.dll msvfw32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(msvfw32.dll msvfw32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -16,12 +15,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
 
 add_library(msvfw32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
 
 add_library(msvfw32 SHARED ${SOURCE})
-
 set_module_type(msvfw32 win32dll)
 set_module_type(msvfw32 win32dll)
-
 target_link_libraries(msvfw32 wine)
 target_link_libraries(msvfw32 wine)
-
 add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
 add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET msvfw32 DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET msvfw32 DESTINATION reactos/system32 FOR all)
-
index 2811d36..8f182b0 100644 (file)
@@ -1,7 +1,6 @@
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
-set_rc_compiler()
 spec2def(netcfgx.dll netcfgx.spec)
 
 list(APPEND SOURCE
 spec2def(netcfgx.dll netcfgx.spec)
 
 list(APPEND SOURCE
@@ -15,13 +14,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
 
 add_library(netcfgx SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
 
 add_library(netcfgx SHARED ${SOURCE})
-
 set_module_type(netcfgx win32dll)
 set_module_type(netcfgx win32dll)
-
-target_link_libraries(netcfgx
-    uuid
-    wine)
-
+target_link_libraries(netcfgx uuid wine)
 add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi dhcpcsvc ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
 add_pch(netcfgx precomp.h)
 add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)
 add_importlibs(netcfgx rpcrt4 setupapi advapi32 iphlpapi dhcpcsvc ole32 user32 comctl32 ws2_32 msvcrt kernel32 ntdll)
 add_pch(netcfgx precomp.h)
 add_cd_file(TARGET netcfgx DESTINATION reactos/system32 FOR all)
index bb72905..0bdd5e9 100644 (file)
@@ -1,6 +1,5 @@
 
 spec2def(netid.dll netid.spec)
 
 spec2def(netid.dll netid.spec)
-set_rc_compiler()
 
 list(APPEND SOURCE
     netid.c
 
 list(APPEND SOURCE
     netid.c
@@ -8,7 +7,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/netid.def)
 
 add_library(netid SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/netid.def)
 
 add_library(netid SHARED ${SOURCE})
-
 set_module_type(netid win32dll UNICODE)
 add_importlibs(netid user32 gdi32 comctl32 advapi32 netapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET netid DESTINATION reactos/system32 FOR all)
 set_module_type(netid win32dll UNICODE)
 add_importlibs(netid user32 gdi32 comctl32 advapi32 netapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET netid DESTINATION reactos/system32 FOR all)
index f7d1a6f..ad3b61e 100644 (file)
@@ -1,9 +1,9 @@
-add_definitions(-D_NETSHELL_)
+
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+add_definitions(-D_NETSHELL_)
 set_cpp()
 set_cpp()
-set_rc_compiler()
 spec2def(netshell.dll netshell.spec)
 
 list(APPEND SOURCE
 spec2def(netshell.dll netshell.spec)
 
 list(APPEND SOURCE
@@ -19,12 +19,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
 
 add_library(netshell SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/netshell.def)
 
 add_library(netshell SHARED ${SOURCE})
-
 set_module_type(netshell win32dll)
 set_module_type(netshell win32dll)
-
-target_link_libraries(netshell
-    uuid
-    wine)
+target_link_libraries(netshell uuid wine)
 
 add_importlibs(netshell
     msvcrt
 
 add_importlibs(netshell
     msvcrt
@@ -42,5 +38,4 @@ add_importlibs(netshell
     ntdll)
 
 add_pch(netshell precomp.h)
     ntdll)
 
 add_pch(netshell precomp.h)
-
 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET netshell DESTINATION reactos/system32 FOR all)
index ff7d168..29196d5 100644 (file)
@@ -1,7 +1,5 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(ntprint.dll ntprint.spec)
 
 list(APPEND SOURCE
 spec2def(ntprint.dll ntprint.spec)
 
 list(APPEND SOURCE
@@ -11,11 +9,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
 
 add_library(ntprint SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
 
 add_library(ntprint SHARED ${SOURCE})
-
 set_module_type(ntprint win32dll)
 set_module_type(ntprint win32dll)
-
 target_link_libraries(ntprint wine)
 target_link_libraries(ntprint wine)
-
 add_importlibs(ntprint winspool msvcrt kernel32 ntdll)
 add_dependencies(ntprint psdk)
 add_cd_file(TARGET ntprint DESTINATION reactos/system32 FOR all)
 add_importlibs(ntprint winspool msvcrt kernel32 ntdll)
 add_dependencies(ntprint psdk)
 add_cd_file(TARGET ntprint DESTINATION reactos/system32 FOR all)
index 7551b38..6f46767 100644 (file)
@@ -1,8 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(oleacc.dll oleacc.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(oleacc.dll oleacc.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -12,12 +10,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
 
 add_library(oleacc SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
 
 add_library(oleacc SHARED ${SOURCE})
-
 set_module_type(oleacc win32dll)
 set_module_type(oleacc win32dll)
-
 target_link_libraries(oleacc wine)
 target_link_libraries(oleacc wine)
-
 add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
 add_importlibs(oleacc user32 msvcrt kernel32 ntdll)
-
-
 add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET oleacc DESTINATION reactos/system32 FOR all)
index 468a80a..1d8debf 100644 (file)
@@ -1,8 +1,6 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(olecli32.dll olecli32.spec)
 
 list(APPEND SOURCE
 spec2def(olecli32.dll olecli32.spec)
 
 list(APPEND SOURCE
@@ -12,9 +10,7 @@ list(APPEND SOURCE
 
 add_library(olecli32 SHARED ${SOURCE})
 set_module_type(olecli32 win32dll ENTRYPOINT 0 )
 
 add_library(olecli32 SHARED ${SOURCE})
 set_module_type(olecli32 win32dll ENTRYPOINT 0 )
-
 target_link_libraries(olecli32 wine)
 target_link_libraries(olecli32 wine)
-
 add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll)
 add_dependencies(olecli32 psdk)
 add_cd_file(TARGET olecli32 DESTINATION reactos/system32 FOR all)
 add_importlibs(olecli32 ole32 gdi32 kernel32 ntdll)
 add_dependencies(olecli32 psdk)
 add_cd_file(TARGET olecli32 DESTINATION reactos/system32 FOR all)
index 1fa6589..2056f49 100644 (file)
@@ -1,8 +1,6 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(olethk32.dll olethk32.spec)
 
 list(APPEND SOURCE
 spec2def(olethk32.dll olethk32.spec)
 
 list(APPEND SOURCE
@@ -12,11 +10,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
 
 add_library(olethk32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
 
 add_library(olethk32 SHARED ${SOURCE})
-
 set_module_type(olethk32 win32dll)
 set_module_type(olethk32 win32dll)
-
 target_link_libraries(olethk32 wine)
 target_link_libraries(olethk32 wine)
-
 add_importlibs(olethk32 msvcrt kernel32 ntdll)
 add_dependencies(olethk32 psdk)
 add_cd_file(TARGET olethk32 DESTINATION reactos/system32 FOR all)
 add_importlibs(olethk32 msvcrt kernel32 ntdll)
 add_dependencies(olethk32 psdk)
 add_cd_file(TARGET olethk32 DESTINATION reactos/system32 FOR all)
index e175a58..88096ed 100644 (file)
@@ -1,8 +1,6 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(pidgen.dll pidgen.spec)
 
 list(APPEND SOURCE
 spec2def(pidgen.dll pidgen.spec)
 
 list(APPEND SOURCE
@@ -12,11 +10,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
 
 add_library(pidgen SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
 
 add_library(pidgen SHARED ${SOURCE})
-
 set_module_type(pidgen win32dll)
 set_module_type(pidgen win32dll)
-
 target_link_libraries(pidgen wine)
 target_link_libraries(pidgen wine)
-
 add_importlibs(pidgen msvcrt kernel32 ntdll)
 add_importlibs(pidgen msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET pidgen DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET pidgen DESTINATION reactos/system32 FOR all)
index 78ac132..4ec8a8a 100644 (file)
@@ -1,9 +1,6 @@
 
 add_typelib(pstorec_tlb.idl)
 
 add_typelib(pstorec_tlb.idl)
-
 add_definitions(-D__WINESRC__)
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(pstorec.dll pstorec.spec)
 
 list(APPEND SOURCE
 spec2def(pstorec.dll pstorec.spec)
 
 list(APPEND SOURCE
@@ -13,9 +10,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
 
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
     ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
 
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
-
 add_library(pstorec SHARED ${SOURCE})
 add_library(pstorec SHARED ${SOURCE})
-
 set_module_type(pstorec win32dll)
 target_link_libraries(pstorec uuid wine)
 add_importlibs(pstorec msvcrt kernel32 ntdll)
 set_module_type(pstorec win32dll)
 target_link_libraries(pstorec uuid wine)
 add_importlibs(pstorec msvcrt kernel32 ntdll)
index b8d2d50..ac782d8 100644 (file)
@@ -1,11 +1,7 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 generate_idl_iids(qmgr_local.idl)
 generate_idl_iids(qmgr_local.idl)
-
 spec2def(qmgr.dll qmgr.spec)
 
 list(APPEND SOURCE
 spec2def(qmgr.dll qmgr.spec)
 
 list(APPEND SOURCE
@@ -22,9 +18,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
 
 add_library(qmgr SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
 
 add_library(qmgr SHARED ${SOURCE})
-
 add_idl_headers(qmgr_idlheader qmgr_local.idl)
 add_idl_headers(qmgr_idlheader qmgr_local.idl)
-
 set_module_type(qmgr win32dll)
 target_link_libraries(qmgr uuid wine)
 add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
 set_module_type(qmgr win32dll)
 target_link_libraries(qmgr uuid wine)
 add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
index 6919610..7da5e10 100644 (file)
@@ -2,7 +2,6 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
-set_rc_compiler()
 spec2def(rasapi32.dll rasapi32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(rasapi32.dll rasapi32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -12,10 +11,7 @@ list(APPEND SOURCE
 
 add_library(rasapi32 SHARED ${SOURCE})
 set_module_type(rasapi32 win32dll ENTRYPOINT 0 )
 
 add_library(rasapi32 SHARED ${SOURCE})
 set_module_type(rasapi32 win32dll ENTRYPOINT 0 )
-
 target_link_libraries(rasapi32 wine)
 target_link_libraries(rasapi32 wine)
-
 add_importlibs(rasapi32 kernel32 ntdll)
 add_importlibs(rasapi32 kernel32 ntdll)
-
 add_dependencies(rasapi32 psdk)
 add_cd_file(TARGET rasapi32 DESTINATION reactos/system32 FOR all)
 add_dependencies(rasapi32 psdk)
 add_cd_file(TARGET rasapi32 DESTINATION reactos/system32 FOR all)
index 0079620..3b0cb2a 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 spec2def(rasdlg.dll rasdlg.spec)
 
 list(APPEND SOURCE
 spec2def(rasdlg.dll rasdlg.spec)
 
 list(APPEND SOURCE
@@ -9,13 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
 
 add_library(rasdlg SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
 
 add_library(rasdlg SHARED ${SOURCE})
-
 set_module_type(rasdlg win32dll)
 set_module_type(rasdlg win32dll)
-
-target_link_libraries(rasdlg
-    wine
-    uuid)
-
+target_link_libraries(rasdlg wine uuid)
 add_importlibs(rasdlg msvcrt kernel32 ntdll)
 add_importlibs(rasdlg msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET rasdlg DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET rasdlg DESTINATION reactos/system32 FOR all)
index 626f756..ef32f9b 100644 (file)
@@ -1,4 +1,4 @@
-set_rc_compiler()
+
 spec2def(rasman.dll rasman.spec)
 
 list(APPEND SOURCE
 spec2def(rasman.dll rasman.spec)
 
 list(APPEND SOURCE
@@ -8,13 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
 
 add_library(rasman SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
 
 add_library(rasman SHARED ${SOURCE})
-
 set_module_type(rasman win32dll)
 set_module_type(rasman win32dll)
-
-target_link_libraries(rasman
-    wine
-    uuid)
-
+target_link_libraries(rasman wine uuid)
 add_importlibs(rasman msvcrt kernel32 ntdll)
 add_importlibs(rasman msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET rasman DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET rasman DESTINATION reactos/system32 FOR all)
index 9af1c0c..ea6c9c0 100644 (file)
@@ -4,12 +4,8 @@ include_directories(
     ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
     ${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(samlib.dll samlib.spec ADD_IMPORTLIB)
 spec2def(samlib.dll samlib.spec ADD_IMPORTLIB)
-
-add_rpc_files(client
-    ${REACTOS_SOURCE_DIR}/include/reactos/idl/sam.idl)
+add_rpc_files(client ${REACTOS_SOURCE_DIR}/include/reactos/idl/sam.idl)
 
 list(APPEND SOURCE
     dllmain.c
 
 list(APPEND SOURCE
     dllmain.c
@@ -25,4 +21,3 @@ target_link_libraries(samlib wine ${PSEH_LIB})
 add_importlibs(samlib rpcrt4 advapi32 msvcrt kernel32 ntdll)
 add_pch(samlib precomp.h)
 add_cd_file(TARGET samlib DESTINATION reactos/system32 FOR all)
 add_importlibs(samlib rpcrt4 advapi32 msvcrt kernel32 ntdll)
 add_pch(samlib precomp.h)
 add_cd_file(TARGET samlib DESTINATION reactos/system32 FOR all)
-
index de83c95..e791700 100644 (file)
@@ -1,7 +1,6 @@
+
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
-
-set_rc_compiler()
 spec2def(schannel.dll schannel.spec)
 
 list(APPEND SOURCE
 spec2def(schannel.dll schannel.spec)
 
 list(APPEND SOURCE
@@ -13,11 +12,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
 
 add_library(schannel SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
 
 add_library(schannel SHARED ${SOURCE})
-
 set_module_type(schannel win32dll)
 set_module_type(schannel win32dll)
-
 target_link_libraries(schannel wine)
 target_link_libraries(schannel wine)
-
 add_importlibs(schannel secur32 msvcrt kernel32 ntdll)
 add_importlibs(schannel secur32 msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET schannel DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET schannel DESTINATION reactos/system32 FOR all)
index 372a44d..8b95de0 100644 (file)
@@ -1,6 +1,5 @@
-add_definitions(-D__SECURITY__)
 
 
-set_rc_compiler()
+add_definitions(-D__SECURITY__)
 spec2def(security.dll security.spec)
 
 list(APPEND SOURCE
 spec2def(security.dll security.spec)
 
 list(APPEND SOURCE
@@ -8,9 +7,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/security.def)
 
 add_library(security SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/security.def)
 
 add_library(security SHARED ${SOURCE})
-
 set_module_type(security win32dll ENTRYPOINT 0 UNICODE)
 set_module_type(security win32dll ENTRYPOINT 0 UNICODE)
-
 add_importlibs(security secur32 advapi32 ntdll kernel32)
 add_importlibs(security secur32 advapi32 ntdll kernel32)
-
 add_cd_file(TARGET security DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET security DESTINATION reactos/system32 FOR all)
index 76f4753..728ff9a 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 spec2def(serialui.dll serialui.spec)
 
 list(APPEND SOURCE
 spec2def(serialui.dll serialui.spec)
 
 list(APPEND SOURCE
@@ -8,7 +7,6 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/serialui.def)
 
 add_library(serialui SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/serialui.def)
 
 add_library(serialui SHARED ${SOURCE})
-
 set_module_type(serialui win32dll UNICODE)
 add_importlibs(serialui user32 shlwapi msvcrt kernel32)
 add_cd_file(TARGET serialui DESTINATION reactos/system32 FOR all)
 set_module_type(serialui win32dll UNICODE)
 add_importlibs(serialui user32 shlwapi msvcrt kernel32)
 add_cd_file(TARGET serialui DESTINATION reactos/system32 FOR all)
index 892a4ac..1ca7dd1 100644 (file)
@@ -10,9 +10,6 @@ add_definitions(
     -Dwcsnicmp=_wcsnicmp)
 
 add_rpc_files(client ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
     -Dwcsnicmp=_wcsnicmp)
 
 add_rpc_files(client ${REACTOS_SOURCE_DIR}/include/reactos/idl/pnp.idl)
-
-set_rc_compiler()
-
 spec2def(setupapi.dll setupapi.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(setupapi.dll setupapi.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -55,4 +52,3 @@ add_importlibs(setupapi
 
 add_pch(setupapi setupapi_private.h)
 add_cd_file(TARGET setupapi DESTINATION reactos/system32 FOR all)
 
 add_pch(setupapi setupapi_private.h)
 add_cd_file(TARGET setupapi DESTINATION reactos/system32 FOR all)
-
index 843c88a..dac1368 100644 (file)
@@ -1,17 +1,13 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(shdoclc.dll shdoclc.spec)
 
 spec2def(shdoclc.dll shdoclc.spec)
 
-add_library(shdoclc SHARED rsrc.rc
+add_library(shdoclc SHARED
+    rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/shdoclc.def)
 
 set_module_type(shdoclc win32dll ENTRYPOINT 0 )
     ${CMAKE_CURRENT_BINARY_DIR}/shdoclc.def)
 
 set_module_type(shdoclc win32dll ENTRYPOINT 0 )
-
 target_link_libraries(shdoclc wine)
 target_link_libraries(shdoclc wine)
-
 add_importlibs(shdoclc kernel32 ntdll)
 add_dependencies(shdoclc psdk)
 add_importlibs(shdoclc kernel32 ntdll)
 add_dependencies(shdoclc psdk)
-
-add_cd_file(TARGET shdoclc DESTINATION reactos/system32 FOR all)
\ No newline at end of file
+add_cd_file(TARGET shdoclc DESTINATION reactos/system32 FOR all)
index 1514361..6d3249c 100644 (file)
@@ -1,5 +1,4 @@
 
 
-set_rc_compiler()
 spec2def(shimgvw.dll shimgvw.spec)
 
 list(APPEND SOURCE
 spec2def(shimgvw.dll shimgvw.spec)
 
 list(APPEND SOURCE
@@ -9,9 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
 
 add_library(shimgvw SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
 
 add_library(shimgvw SHARED ${SOURCE})
-
 set_module_type(shimgvw win32dll)
 set_module_type(shimgvw win32dll)
-
 target_link_libraries(shimgvw wine)
 
 add_importlibs(shimgvw
 target_link_libraries(shimgvw wine)
 
 add_importlibs(shimgvw
index 0727892..6a5f18f 100644 (file)
@@ -1,11 +1,9 @@
 
 
-add_definitions(-D__WINESRC__)
-include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
-set_rc_compiler()
 
 
+add_definitions(-D__WINESRC__)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 spec2def(snmpapi.dll snmpapi.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(snmpapi.dll snmpapi.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -15,12 +13,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
 
 add_library(snmpapi SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
 
 add_library(snmpapi SHARED ${SOURCE})
-
 set_module_type(snmpapi win32dll)
 set_module_type(snmpapi win32dll)
-
 target_link_libraries(snmpapi wine)
 target_link_libraries(snmpapi wine)
-
 add_importlibs(snmpapi msvcrt kernel32 ntdll)
 add_importlibs(snmpapi msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET snmpapi DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET snmpapi DESTINATION reactos/system32 FOR all)
-
index 2abd2eb..ce7f9c2 100644 (file)
@@ -1,21 +1,15 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
 add_typelib(std_ole_v2.idl)
 add_typelib(std_ole_v2.idl)
-
-set_rc_compiler()
 spec2def(stdole2.tlb stdole2.tlb.spec)
 
 list(APPEND SOURCE
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/stdole2.def)
 spec2def(stdole2.tlb stdole2.tlb.spec)
 
 list(APPEND SOURCE
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/stdole2.def)
-    
-set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/std_ole_v2.tlb)
 
 
+set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/std_ole_v2.tlb)
 add_library(stdole2.tlb SHARED ${SOURCE})
 add_library(stdole2.tlb SHARED ${SOURCE})
-
 set_module_type(stdole2.tlb module)
 set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
 set_module_type(stdole2.tlb module)
 set_target_properties(stdole2.tlb PROPERTIES SUFFIX "")
-
 add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET stdole2.tlb DESTINATION reactos/system32 FOR all)
index 81e7e6a..419edde 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 spec2def(syssetup.dll syssetup.spec)
 
 list(APPEND SOURCE
 spec2def(syssetup.dll syssetup.spec)
 
 list(APPEND SOURCE
index b75dd8d..dc5fe43 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_library(tapiui SHARED tapiui.rc)
 set_module_type(tapiui win32dll ENTRYPOINT 0 )
 add_dependencies(tapiui psdk)
 add_library(tapiui SHARED tapiui.rc)
 set_module_type(tapiui win32dll ENTRYPOINT 0 )
 add_dependencies(tapiui psdk)
index 7d7cd17..dbf2c9a 100644 (file)
@@ -1,8 +1,6 @@
 
 spec2def(userenv.dll userenv.spec ADD_IMPORTLIB)
 
 
 spec2def(userenv.dll userenv.spec ADD_IMPORTLIB)
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     desktop.c
     directory.c
 list(APPEND SOURCE
     desktop.c
     directory.c
@@ -18,13 +16,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
 
 add_library(userenv SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/userenv.def)
 
 add_library(userenv SHARED ${SOURCE})
-
 set_module_type(userenv win32dll)
 set_module_type(userenv win32dll)
-
 target_link_libraries(userenv uuid)
 target_link_libraries(userenv uuid)
-
 add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
 add_pch(userenv precomp.h)
 add_importlibs(userenv advapi32 user32 msvcrt kernel32 ntdll)
 add_pch(userenv precomp.h)
-
 add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET userenv DESTINATION reactos/system32 FOR all)
-
index 818ceed..176431b 100644 (file)
@@ -1,8 +1,6 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
-set_rc_compiler()
-
 spec2def(uxtheme.dll uxtheme.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(uxtheme.dll uxtheme.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -29,4 +27,3 @@ add_delay_importlibs(uxtheme msimg32)
 add_importlibs(uxtheme user32 advapi32 gdi32 msvcrt kernel32 ntdll)
 add_pch(uxtheme uxthemep.h)
 add_cd_file(TARGET uxtheme DESTINATION reactos/system32 FOR all)
 add_importlibs(uxtheme user32 advapi32 gdi32 msvcrt kernel32 ntdll)
 add_pch(uxtheme uxthemep.h)
 add_cd_file(TARGET uxtheme DESTINATION reactos/system32 FOR all)
-
index ccde1a6..2f7d2ac 100644 (file)
@@ -1,9 +1,5 @@
 
 
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
-
 spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(winspool.drv winspool.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -14,11 +10,8 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
 
 add_library(winspool.drv SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
 
 add_library(winspool.drv SHARED ${SOURCE})
-
 set_target_properties(winspool.drv PROPERTIES SUFFIX "")
 set_target_properties(winspool.drv PROPERTIES SUFFIX "")
-
 set_module_type(winspool.drv win32dll UNICODE)
 target_link_libraries(winspool.drv wine)
 add_importlibs(winspool.drv advapi32 shlwapi msvcrt kernel32 ntdll)
 add_cd_file(TARGET winspool.drv DESTINATION reactos/system32 FOR all)
 set_module_type(winspool.drv win32dll UNICODE)
 target_link_libraries(winspool.drv wine)
 add_importlibs(winspool.drv advapi32 shlwapi msvcrt kernel32 ntdll)
 add_cd_file(TARGET winspool.drv DESTINATION reactos/system32 FOR all)
-
index fe41ad6..e80f532 100644 (file)
@@ -1,8 +1,6 @@
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-
-set_rc_compiler()
 spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
 spec2def(wldap32.dll wldap32.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -31,11 +29,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
 
 add_library(wldap32 SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
 
 add_library(wldap32 SHARED ${SOURCE})
-
 set_module_type(wldap32 win32dll)
 set_module_type(wldap32 win32dll)
-
 target_link_libraries(wldap32 wine)
 target_link_libraries(wldap32 wine)
-
 add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
 add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
-
 add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET wldap32 DESTINATION reactos/system32 FOR all)
index ecf91a1..86557ff 100644 (file)
@@ -1,6 +1,4 @@
 
 
-set_rc_compiler()
-
 add_library(i8042prt SHARED
     createclose.c
     i8042prt.c
 add_library(i8042prt SHARED
     createclose.c
     i8042prt.c
@@ -16,4 +14,4 @@ add_library(i8042prt SHARED
 set_module_type(i8042prt kernelmodedriver)
 add_importlibs(i8042prt ntoskrnl hal)
 add_pch(i8042prt i8042prt.h)
 set_module_type(i8042prt kernelmodedriver)
 add_importlibs(i8042prt ntoskrnl hal)
 add_pch(i8042prt i8042prt.h)
-add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
\ No newline at end of file
+add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
index 47a8298..00128c2 100644 (file)
@@ -6,7 +6,6 @@ include_directories(
 #add_definitions(-D_DEBUG)
 
 set_cpp()
 #add_definitions(-D_DEBUG)
 
 set_cpp()
-set_rc_compiler()
 
 list(APPEND SOURCE
     id_ata.cpp
 
 list(APPEND SOURCE
     id_ata.cpp
@@ -18,9 +17,7 @@ list(APPEND SOURCE
     id_sata.cpp
     ros_glue/ros_glue.cpp)
 
     id_sata.cpp
     ros_glue/ros_glue.cpp)
 
-add_library(uniata SHARED
-    ${SOURCE}
-    idedma.rc)
+add_library(uniata SHARED ${SOURCE} idedma.rc)
 
 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
 if(MSVC)
 
 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
 if(MSVC)
index 7991751..300fcd0 100644 (file)
@@ -1,11 +1,6 @@
 
 
-set_rc_compiler()
-
 add_library(buslogic SHARED BusLogic958.c BusLogic958.rc)
 add_library(buslogic SHARED BusLogic958.c BusLogic958.rc)
-
 target_link_libraries(buslogic libcntpr)
 target_link_libraries(buslogic libcntpr)
-
 set_module_type(buslogic kernelmodedriver)
 add_importlibs(buslogic scsiport)
 set_module_type(buslogic kernelmodedriver)
 add_importlibs(buslogic scsiport)
-
 add_cd_file(TARGET buslogic DESTINATION reactos/system32/drivers NO_CAB FOR all)
 add_cd_file(TARGET buslogic DESTINATION reactos/system32/drivers NO_CAB FOR all)
index f888066..02605d8 100644 (file)
@@ -18,11 +18,9 @@ add_definitions(
     -D_IN_KERNEL_
     -DNTDDI_VERSION=0x05020400)
 
     -D_IN_KERNEL_
     -DNTDDI_VERSION=0x05020400)
 
-set_rc_compiler()
-
 if(NOT DEFINED NEWCC)
     set(NEWCC FALSE)
 if(NOT DEFINED NEWCC)
     set(NEWCC FALSE)
-endif(NOT DEFINED NEWCC)
+endif()
 
 if(NEWCC)
     add_definitions(-DNEWCC)
 
 if(NEWCC)
     add_definitions(-DNEWCC)
@@ -428,9 +426,9 @@ add_executable(ntoskrnl
     ${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
 
 if(ARCH STREQUAL "i386")
     ${CMAKE_CURRENT_BINARY_DIR}/ntoskrnl.def)
 
 if(ARCH STREQUAL "i386")
-  set_entrypoint(ntoskrnl KiSystemStartup 4)
+    set_entrypoint(ntoskrnl KiSystemStartup 4)
 else()
 else()
-  set_entrypoint(ntoskrnl KiSystemStartup)
+    set_entrypoint(ntoskrnl KiSystemStartup)
 endif()
 set_subsystem(ntoskrnl native)
 
 endif()
 set_subsystem(ntoskrnl native)
 
@@ -457,10 +455,8 @@ target_link_libraries(ntoskrnl
     ioevent)
 
 add_importlibs(ntoskrnl hal kdcom bootvid)
     ioevent)
 
 add_importlibs(ntoskrnl hal kdcom bootvid)
-
 add_pch(ntoskrnl include/ntoskrnl.h)
 add_dependencies(ntoskrnl psdk bugcodes asm)
 add_pch(ntoskrnl include/ntoskrnl.h)
 add_dependencies(ntoskrnl psdk bugcodes asm)
-
 add_cd_file(TARGET ntoskrnl DESTINATION reactos/system32 NO_CAB FOR all)
 
 if(BUILD_MP)
 add_cd_file(TARGET ntoskrnl DESTINATION reactos/system32 NO_CAB FOR all)
 
 if(BUILD_MP)
index 2346970..7a1c6aa 100644 (file)
@@ -1,15 +1,11 @@
 
 include_directories(.)
 
 
 include_directories(.)
 
-set_rc_compiler()
-
 add_executable(ntvdm
     ntvdm.c
     ntvdm.rc)
 
 set_module_type(ntvdm win32cui)
 add_executable(ntvdm
     ntvdm.c
     ntvdm.rc)
 
 set_module_type(ntvdm win32cui)
-
 add_importlibs(ntvdm ntdll user32 gdi32 advapi32 msvcrt kernel32)
 add_dependencies(ntvdm ndk bugcodes)
 add_importlibs(ntvdm ntdll user32 gdi32 advapi32 msvcrt kernel32)
 add_dependencies(ntvdm ndk bugcodes)
-
 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
index d7bfe86..537682f 100644 (file)
@@ -7,8 +7,6 @@ include_directories(
     include
     ${REACTOS_SOURCE_DIR}/win32ss/include)
 
     include
     ${REACTOS_SOURCE_DIR}/win32ss/include)
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     controls/appswitch.c
     controls/button.c
 list(APPEND SOURCE
     controls/appswitch.c
     controls/button.c
@@ -71,16 +69,8 @@ else()
 endif()
 
 add_library(user32 SHARED ${SOURCE})
 endif()
 
 add_library(user32 SHARED ${SOURCE})
-set_module_type(user32
-    win32dll
-    ENTRYPOINT DllMain 12
-    UNICODE)
-
-target_link_libraries(user32
-    user32_wsprintf
-    wine
-    win32ksys
-    ${PSEH_LIB})
+set_module_type(user32 win32dll ENTRYPOINT DllMain 12 UNICODE)
+target_link_libraries(user32 user32_wsprintf wine win32ksys ${PSEH_LIB})
 
 if(MSVC)
     # for __ftol2_sse, float to int cast helper
 
 if(MSVC)
     # for __ftol2_sse, float to int cast helper
@@ -91,4 +81,3 @@ add_delay_importlibs(user32 imm32 usp10)
 add_importlibs(user32 gdi32 advapi32 kernel32 ntdll)
 add_pch(user32 include/user32.h)
 add_cd_file(TARGET user32 DESTINATION reactos/system32 FOR all)
 add_importlibs(user32 gdi32 advapi32 kernel32 ntdll)
 add_pch(user32 include/user32.h)
 add_cd_file(TARGET user32 DESTINATION reactos/system32 FOR all)
-
index f07f8dd..481cd40 100644 (file)
@@ -9,8 +9,6 @@ include_directories(
 
 spec2def(win32csr.dll win32csr.spec)
 
 
 spec2def(win32csr.dll win32csr.spec)
 
-set_rc_compiler()
-
 list(APPEND SOURCE
     alias.c
     coninput.c
 list(APPEND SOURCE
     alias.c
     coninput.c
@@ -29,17 +27,10 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/win32csr.def)
 
 add_library(win32csr SHARED ${SOURCE})
     ${CMAKE_CURRENT_BINARY_DIR}/win32csr.def)
 
 add_library(win32csr SHARED ${SOURCE})
-
-target_link_libraries(win32csr
-    win32ksys
-    ${PSEH_LIB})
-
+target_link_libraries(win32csr win32ksys ${PSEH_LIB})
 set_module_type(win32csr win32dll)
 set_module_type(win32csr win32dll)
-
 add_importlibs(win32csr psapi msvcrt kernel32 ntdll csrsrv)
 add_delay_importlibs(win32csr user32 gdi32 advapi32)
 add_importlibs(win32csr psapi msvcrt kernel32 ntdll csrsrv)
 add_delay_importlibs(win32csr user32 gdi32 advapi32)
-
 add_pch(win32csr w32csr.h)
 add_pch(win32csr w32csr.h)
-
 add_dependencies(win32csr bugcodes)
 add_cd_file(TARGET win32csr DESTINATION reactos/system32 FOR all)
 add_dependencies(win32csr bugcodes)
 add_cd_file(TARGET win32csr DESTINATION reactos/system32 FOR all)