[ros-diffs] [spetreolle] 49871: [CMAKE] Stubs: Fix some win32 modules.

spetreolle at svn.reactos.org spetreolle at svn.reactos.org
Mon Nov 29 23:08:40 UTC 2010


Author: spetreolle
Date: Mon Nov 29 23:08:38 2010
New Revision: 49871

URL: http://svn.reactos.org/svn/reactos?rev=49871&view=rev
Log:
[CMAKE]
Stubs: Fix some win32 modules.

Modified:
    branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt
    branches/cmake-bringup/dll/win32/bcrypt/CMakeLists.txt
    branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt
    branches/cmake-bringup/dll/win32/cfgmgr32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/clusapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/comdlg32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/credui/CMakeLists.txt
    branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/cryptdlg/CMakeLists.txt
    branches/cmake-bringup/dll/win32/cryptnet/CMakeLists.txt
    branches/cmake-bringup/dll/win32/cryptui/CMakeLists.txt
    branches/cmake-bringup/dll/win32/dciman32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/faultrep/CMakeLists.txt
    branches/cmake-bringup/dll/win32/fusion/CMakeLists.txt
    branches/cmake-bringup/dll/win32/gdiplus/CMakeLists.txt
    branches/cmake-bringup/dll/win32/hlink/CMakeLists.txt
    branches/cmake-bringup/dll/win32/httpapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/icmp/CMakeLists.txt
    branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/inetcomm/CMakeLists.txt
    branches/cmake-bringup/dll/win32/inetmib1/CMakeLists.txt
    branches/cmake-bringup/dll/win32/initpki/CMakeLists.txt
    branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt
    branches/cmake-bringup/dll/win32/itircl/CMakeLists.txt
    branches/cmake-bringup/dll/win32/itss/CMakeLists.txt
    branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt
    branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mapi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt
    branches/cmake-bringup/dll/win32/modemui/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mprapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mscms/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msftedit/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msgina/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mshtml/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msimtf/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msisip/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msvcrt20/CMakeLists.txt
    branches/cmake-bringup/dll/win32/nddeapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/ntdsapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/odbccp32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/oleacc/CMakeLists.txt
    branches/cmake-bringup/dll/win32/olecli32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/pdh/CMakeLists.txt
    branches/cmake-bringup/dll/win32/rasapi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/security/CMakeLists.txt
    branches/cmake-bringup/dll/win32/snmpapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/spoolss/CMakeLists.txt
    branches/cmake-bringup/dll/win32/srclient/CMakeLists.txt
    branches/cmake-bringup/dll/win32/sxs/CMakeLists.txt
    branches/cmake-bringup/dll/win32/tapi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/traffic/CMakeLists.txt
    branches/cmake-bringup/dll/win32/updspapi/CMakeLists.txt

Modified: branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/activeds/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -5,7 +5,11 @@
 
 spec2def(activeds.dll activeds.spec)
 
-add_library(activeds SHARED activeds_main.c ${CMAKE_CURRENT_BINARY_DIR}/activeds.def)
+list(APPEND SOURCE
+    activeds_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/activeds.def)
+
+add_library(activeds SHARED ${SOURCE})
 
 set_module_type(activeds win32dll)
 

Modified: branches/cmake-bringup/dll/win32/bcrypt/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/bcrypt/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/bcrypt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/bcrypt/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -2,18 +2,19 @@
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(bcrypt.dll bcrypt.spec)
 
-add_library(bcrypt SHARED
+list(APPEND SOURCE
     bcrypt_main.c
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
 
+add_library(bcrypt SHARED ${SOURCE})
 set_module_type(bcrypt win32dll)
 
 target_link_libraries(bcrypt wine)
 
 add_importlibs(bcrypt msvcrt kernel32 ntdll)
 
-
 add_cab_target(bcrypt 1)

Modified: branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/browseui/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,4 +1,3 @@
-
 set_unicode()
 set_cpp()
 
@@ -13,9 +12,10 @@
     ${REACTOS_SOURCE_DIR}/include/reactos/wine
     ${REACTOS_SOURCE_DIR}/lib/atl)
 
+set_rc_compiler()
 spec2def(browseui.dll browseui.spec)
 
-add_library(browseui SHARED
+list(APPEND SOURCE
     aclmulti.cpp
     addressband.cpp
     addresseditbox.cpp
@@ -38,6 +38,7 @@
     browseui.rc
     ${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
 
+add_library(browseui SHARED ${SOURCE})
 set_module_type(browseui win32dll)
 
 target_link_libraries(browseui

Modified: branches/cmake-bringup/dll/win32/cfgmgr32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cfgmgr32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/cfgmgr32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/cfgmgr32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,9 +1,12 @@
 
 spec2def(cfgmgr32.dll cfgmgr32.spec)
 
-add_library(cfgmgr32 SHARED cfgmgr32.rc ${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32.def)
+list(APPEND SOURCE 
+    cfgmgr32.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32.def)
+add_library(cfgmgr32 SHARED ${SOURCE})
 
 set_entrypoint(cfgmgr32 0)
-
+add_importlibs(cfgmgr32 kernel32 ntdll)
 add_dependencies(cfgmgr32 psdk buildno_header)
 add_cab_target(cfgmgr32 1)

Modified: branches/cmake-bringup/dll/win32/clusapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/clusapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/clusapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/clusapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,14 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(clusapi.dll clusapi.spec)
 
-add_library(clusapi SHARED clusapi.c ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def)
+list(APPEND SOURCE
+    clusapi.c
+    ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def)
+
+add_library(clusapi SHARED ${SOURCE})
 
 set_module_type(clusapi win32dll)
 

Modified: branches/cmake-bringup/dll/win32/comdlg32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/comdlg32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/comdlg32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/comdlg32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,10 @@
 add_definitions(-D_DLL -D__USE_CRTIMP)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(comdlg32.dll comdlg32.spec)
 
-add_library(comdlg32 SHARED
+list(APPEND SOURCE
     cdlg32.c
     colordlg.c
     filedlg.c
@@ -17,6 +18,8 @@
     printdlg.c
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
+
+add_library(comdlg32 SHARED ${SOURCE})
 
 set_module_type(comdlg32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/credui/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/credui/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/credui/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/credui/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,15 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(credui.dll credui.spec)
 
-add_library(credui SHARED credui_main.c credui.rc ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
+list(APPEND SOURCE
+    credui_main.c
+    credui.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
+
+add_library(credui SHARED ${SOURCE})
 
 set_module_type(credui win32dll)
 

Modified: branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -10,9 +10,10 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(crypt32.dll crypt32.spec)
 
-add_library(crypt32 SHARED
+list(APPEND SOURCE
     base64.c
     cert.c
     chain.c
@@ -41,6 +42,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/crypt32.def)
 
+add_library(crypt32 SHARED ${SOURCE})
+
 set_module_type(crypt32 win32dll)
 
 target_link_libraries(crypt32

Modified: branches/cmake-bringup/dll/win32/cryptdlg/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cryptdlg/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/cryptdlg/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/cryptdlg/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -2,9 +2,15 @@
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(cryptdlg.dll cryptdlg.spec)
 
-add_library(cryptdlg SHARED main.c cryptdlg.rc ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
+list(APPEND SOURCE
+    main.c
+    cryptdlg.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
+
+add_library(cryptdlg SHARED ${SOURCE})
 
 set_module_type(cryptdlg win32dll)
 

Modified: branches/cmake-bringup/dll/win32/cryptnet/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cryptnet/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/cryptnet/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/cryptnet/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,7 +4,11 @@
 
 spec2def(cryptnet.dll cryptnet.spec)
 
-add_library(cryptnet SHARED cryptnet_main.c ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
+list(APPEND SOURCE
+    cryptnet_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
+
+add_library(cryptnet SHARED ${SOURCE})
 
 set_module_type(cryptnet win32dll)
 

Modified: branches/cmake-bringup/dll/win32/cryptui/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/cryptui/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/cryptui/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/cryptui/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,15 @@
 add_definitions(-D_WINE)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(cryptui.dll cryptui.spec)
 
-add_library(cryptui SHARED main.c cryptui.rc ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
+list(APPEND SOURCE
+    main.c
+    cryptui.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
+
+add_library(cryptui SHARED ${SOURCE})
 
 set_module_type(cryptui win32dll)
 

Modified: branches/cmake-bringup/dll/win32/dciman32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/dciman32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/dciman32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/dciman32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,14 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(dciman32.dll dciman32.spec)
 
-add_library(dciman32 SHARED dciman_main.c ${CMAKE_CURRENT_BINARY_DIR}/dciman32.def)
+list(APPEND SOURCE
+    dciman_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/dciman32.def)
+
+add_library(dciman32 SHARED ${SOURCE})
 
 set_module_type(dciman32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/faultrep/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/faultrep/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/faultrep/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/faultrep/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,14 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(faultrep.dll faultrep.spec)
 
-add_library(faultrep SHARED faultrep.c ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
+list(APPEND SOURCE
+    faultrep.c
+    ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
+    
+add_library(faultrep SHARED ${SOURCE})
 
 set_module_type(faultrep win32dll)
 

Modified: branches/cmake-bringup/dll/win32/fusion/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/fusion/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/fusion/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/fusion/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,10 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(fusion.dll fusion.spec)
 
-add_library(fusion SHARED
+list(APPEND SOURCE
     asmcache.c
     asmenum.c
     asmname.c
@@ -14,6 +15,8 @@
     fusion_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
 
+add_library(fusion SHARED ${SOURCE})
+
 set_module_type(fusion win32dll)
 
 target_link_libraries(fusion wine)

Modified: branches/cmake-bringup/dll/win32/gdiplus/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/gdiplus/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/gdiplus/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,9 +3,10 @@
 add_definitions(-D_DLL -D__USE_CRTIMP)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(gdiplus.dll gdiplus.spec)
 
-add_library(gdiplus SHARED
+list(APPEND SOURCE
     brush.c
     customlinecap.c
     font.c
@@ -20,6 +21,8 @@
     region.c
     stringformat.c
     ${CMAKE_CURRENT_BINARY_DIR}/gdiplus.def)
+
+add_library(gdiplus SHARED ${SOURCE})
 
 set_module_type(gdiplus win32dll)
 

Modified: branches/cmake-bringup/dll/win32/hlink/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/hlink/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/hlink/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/hlink/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,12 +4,14 @@
 
 spec2def(hlink.dll hlink.spec)
 
-add_library(hlink SHARED
+list(APPEND SOURCE
     browse_ctx.c
     extserv.c
     hlink_main.c
     link.c
     ${CMAKE_CURRENT_BINARY_DIR}/hlink.def)
+
+add_library(hlink SHARED ${SOURCE})
 
 set_module_type(hlink win32dll)
 

Modified: branches/cmake-bringup/dll/win32/httpapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/httpapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/httpapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/httpapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -5,7 +5,11 @@
 
 spec2def(httpapi.dll httpapi.spec)
 
-add_library(httpapi SHARED httpapi_main.c ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def)
+list(APPEND SOURCE
+    httpapi_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def)
+
+add_library(httpapi SHARED ${SOURCE})
 
 set_module_type(httpapi win32dll)
 

Modified: branches/cmake-bringup/dll/win32/icmp/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/icmp/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/icmp/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/icmp/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,9 +1,15 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(icmp.dll icmp.spec)
 
-add_library(icmp SHARED icmp_main.c icmp.rc ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
+list(APPEND SOURCE
+    icmp_main.c
+    icmp.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
+
+add_library(icmp SHARED ${SOURCE})
 
 set_module_type(icmp win32dll)
 

Modified: branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -6,9 +6,15 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(imm32.dll imm32.spec)
 
-add_library(imm32 SHARED imm.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
+list(APPEND SOURCE
+    imm.c
+    version.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
+
+add_library(imm32 SHARED ${SOURCE})
 
 set_module_type(imm32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/inetcomm/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/inetcomm/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/inetcomm/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/inetcomm/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -6,7 +6,7 @@
 
 spec2def(inetcomm.dll inetcomm.spec)
 
-add_library(inetcomm SHARED
+list(APPEND SOURCE
     imaptransport.c
     inetcomm_main.c
     internettransport.c
@@ -16,6 +16,8 @@
     regsvr.c
     smtptransport.c
     ${CMAKE_CURRENT_BINARY_DIR}/inetcomm.def)
+
+add_library(inetcomm SHARED ${SOURCE})
 
 set_module_type(inetcomm win32dll)
 
@@ -33,5 +35,4 @@
     kernel32
     ntdll)
 
-
 add_cab_target(inetcomm 1)

Modified: branches/cmake-bringup/dll/win32/inetmib1/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/inetmib1/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/inetmib1/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/inetmib1/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -5,7 +5,11 @@
 
 spec2def(inetmib1.dll inetmib1.spec)
 
-add_library(inetmib1 SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
+list(APPEND SOURCE
+    main.c 
+    ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
+
+add_library(inetmib1 SHARED ${SOURCE})
 
 set_module_type(inetmib1 win32dll)
 
@@ -18,5 +22,4 @@
     kernel32
     ntdll)
 
-
 add_cab_target(inetmib1 1)

Modified: branches/cmake-bringup/dll/win32/initpki/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/initpki/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/initpki/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/initpki/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,7 +4,11 @@
 
 spec2def(initpki.dll initpki.spec)
 
-add_library(initpki SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/initpki.def)
+list(APPEND SOURCE
+    main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/initpki.def)
+
+add_library(initpki SHARED ${SOURCE})
 
 set_module_type(initpki win32dll)
 

Modified: branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/inseng/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -6,7 +6,12 @@
 
 spec2def(inseng.dll inseng.spec)
 
-add_library(inseng SHARED inseng_main.c regsvr.c ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
+list(APPEND SOURCE
+    inseng_main.c
+    regsvr.c
+    ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
+
+add_library(inseng SHARED ${SOURCE})
 
 set_module_type(inseng win32dll)
 

Modified: branches/cmake-bringup/dll/win32/itircl/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/itircl/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/itircl/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/itircl/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,7 +4,11 @@
 
 spec2def(itircl.dll itircl.spec)
 
-add_library(itircl SHARED itircl_main.c ${CMAKE_CURRENT_BINARY_DIR}/itircl.def)
+list(APPEND SOURCE
+    itircl_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/itircl.def)
+
+add_library(itircl SHARED ${SOURCE})
 
 set_module_type(itircl win32dll)
 

Modified: branches/cmake-bringup/dll/win32/itss/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/itss/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/itss/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/itss/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -2,9 +2,10 @@
 add_definitions(-D__WINESRC__ -D_DLL -D__USE_CRTIMP)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(itss.dll itss.spec)
 
-add_library(itss SHARED
+list(APPEND SOURCE
     chm_lib.c
     lzx.c
     itss.c
@@ -13,6 +14,8 @@
     storage.c
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/itss.def)
+
+add_library(itss SHARED ${SOURCE})
 
 set_module_type(itss win32dll)
 

Modified: branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/localspl/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,14 +4,17 @@
 add_definitions(-D_WIN32_WINNT=0x600)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(localspl.dll localspl.spec)
 
-add_library(localspl SHARED
+list(APPEND SOURCE
     localmon.c
     localspl_main.c
     provider.c
     localspl.rc
     ${CMAKE_CURRENT_BINARY_DIR}/localspl.def)
+
+add_library(localspl SHARED ${SOURCE})
 
 set_module_type(localspl win32dll)
 

Modified: branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,12 +1,12 @@
-
 set_unicode()
 
 include_directories(${REACTOS_BINARY_DIR}/include/reactos/idl)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys/lsass)
 
+set_rc_compiler()
 spec2def(lsasrv.dll lsasrv.spec)
 
-add_library(lsasrv SHARED
+list(APPEND SOURCE
     authport.c
     lsarpc.c
     lsasrv.c
@@ -14,6 +14,8 @@
     sids.c
     lsasrv.rc
     ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
+
+add_library(lsasrv SHARED ${SOURCE})
 
 set_entrypoint(lsasrv 0)
 

Modified: branches/cmake-bringup/dll/win32/mapi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mapi32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mapi32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,10 +1,10 @@
-
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(mapi32.dll mapi32.spec)
 
-add_library(mapi32 SHARED
+list(APPEND SOURCE
     imalloc.c
     mapi32_main.c
     prop.c
@@ -12,6 +12,8 @@
     util.c
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mapi32.def)
+
+add_library(mapi32 SHARED ${SOURCE})
 
 set_module_type(mapi32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mlang/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -6,8 +6,12 @@
 
 spec2def(mlang.dll mlang.spec)
 
-add_library(mlang SHARED mlang.c regsvr.c
+list(APPEND SOURCE
+    mlang.c
+    regsvr.c
     ${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
+
+add_library(mlang SHARED ${SOURCE})
 
 set_entrypoint(mlang 0)
 

Modified: branches/cmake-bringup/dll/win32/modemui/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/modemui/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/modemui/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/modemui/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -3,10 +3,15 @@
 
 spec2def(modemui.dll modemui.spec)
 
-add_library(modemui SHARED modemui.c modemui.rc ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
+list(APPEND SOURCE
+    modemui.c
+    modemui.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
+
+add_library(modemui SHARED ${SOURCE})
 
 set_module_type(modemui win32dll)
 
-add_importlibs(modemui msvcrt kernel32)
+add_importlibs(modemui msvcrt kernel32 ntdll)
 
 add_cab_target(modemui 1)

Modified: branches/cmake-bringup/dll/win32/mprapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mprapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mprapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mprapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,7 +4,11 @@
 
 spec2def(mprapi.dll mprapi.spec)
 
-add_library(mprapi SHARED mprapi.c ${CMAKE_CURRENT_BINARY_DIR}/mprapi.def)
+list(APPEND SOURCE
+    mprapi.c
+    ${CMAKE_CURRENT_BINARY_DIR}/mprapi.def)
+
+add_library(mprapi SHARED ${SOURCE})
 
 set_module_type(mprapi win32dll)
 

Modified: branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,10 @@
 add_definitions(-D_DLL -D__USE_CRTIMP)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(msacm32.dll msacm32.spec)
 
-add_library(msacm32 SHARED
+list(APPEND SOURCE
     driver.c
     filter.c
     format.c
@@ -16,13 +17,14 @@
     stream.c
     ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
 
+add_library(msacm32 SHARED ${SOURCE})
+
 set_module_type(msacm32 win32dll)
 
 target_link_libraries(msacm32 wine)
 
 add_importlibs(msacm32 msvcrt advapi32 user32 winmm kernel32 ntdll)
 
-
 add_subdirectory(msacm32.drv)
 add_cab_target(msacm32 1)
 add_importlib_target(msacm32.spec)

Modified: branches/cmake-bringup/dll/win32/mscms/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mscms/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mscms/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mscms/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,10 +1,10 @@
-
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(mscms.dll mscms.spec)
 
-add_library(mscms SHARED
+list(APPEND SOURCE
     handle.c
     icc.c
     mscms_main.c
@@ -14,6 +14,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mscms.def)
 
+add_library(mscms SHARED ${SOURCE})
+
 set_module_type(mscms win32dll)
 
 target_link_libraries(mscms wine)

Modified: branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msctf/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,13 +1,13 @@
-
 add_definitions(-D__WINESRC__)
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 add_definitions(-D_DLL -D__USE_CRTIMP)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(msctf.dll msctf.spec)
 
-add_library(msctf SHARED
+list(APPEND SOURCE
     categorymgr.c
     compartmentmgr.c
     context.c
@@ -22,6 +22,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
 
+add_library(msctf SHARED ${SOURCE})
+
 set_module_type(msctf win32dll)
 
 target_link_libraries(msctf

Modified: branches/cmake-bringup/dll/win32/msftedit/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msftedit/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msftedit/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msftedit/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,13 +1,15 @@
-
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(msftedit.dll msftedit.spec)
 
-add_library(msftedit SHARED
+list(APPEND SOURCE
     msftedit_main.c
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def)
+
+add_library(msftedit SHARED ${SOURCE})
 
 set_module_type(msftedit win32dll)
 

Modified: branches/cmake-bringup/dll/win32/msgina/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msgina/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msgina/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msgina/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,16 +1,18 @@
-
 include_directories(include)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(msgina.dll msgina.spec)
 
-add_library(msgina SHARED
+list(APPEND SOURCE
     gui.c
     msgina.c
     stubs.c
     tui.c
     msgina.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msgina.def)
+
+add_library(msgina SHARED ${SOURCE})
 
 set_module_type(msgina win32dll)
 

Modified: branches/cmake-bringup/dll/win32/mshtml/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mshtml/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mshtml/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mshtml/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,5 +1,3 @@
-
-ADD_INTERFACE_DEFINITIONS(mshtml_nsiface_header nsiface.idl)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
@@ -11,9 +9,12 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+ADD_INTERFACE_DEFINITIONS(mshtml_nsiface_header nsiface.idl)
+
+set_rc_compiler()
 spec2def(mshtml.dll mshtml.spec)
 
-add_library(mshtml SHARED
+list(APPEND SOURCE
     conpoint.c
     dispex.c
     editor.c
@@ -78,6 +79,8 @@
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mshtml.def)
 
+add_library(mshtml SHARED ${SOURCE})
+
 set_module_type(mshtml win32dll)
 
 target_link_libraries(mshtml

Modified: branches/cmake-bringup/dll/win32/msimtf/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msimtf/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msimtf/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msimtf/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,14 +1,16 @@
-
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(msimtf.dll msimtf.spec)
 
-add_library(msimtf SHARED
+list(APPEND SOURCE
     activeimmapp.c
     main.c
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def)
+
+add_library(msimtf SHARED ${SOURCE})
 
 set_module_type(msimtf win32dll)
 

Modified: branches/cmake-bringup/dll/win32/msisip/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msisip/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msisip/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msisip/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,7 +4,11 @@
 
 spec2def(msisip.dll msisip.spec)
 
-add_library(msisip SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/msisip.def)
+list(APPEND SOURCE
+    main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/msisip.def)
+
+add_library(msisip SHARED ${SOURCE})
 
 set_module_type(msisip win32dll)
 

Modified: branches/cmake-bringup/dll/win32/msvcrt20/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msvcrt20/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msvcrt20/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msvcrt20/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -6,9 +6,11 @@
 
 spec2def(msvcrt20.dll msvcrt20.spec)
 
-add_library(msvcrt20 SHARED msvcrt20.c
+list(APPEND SOURCE
+    msvcrt20.c
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt20.def)
 
+add_library(msvcrt20 SHARED ${SOURCE})
 set_entrypoint(msvcrt20 0)
 
 target_link_libraries(msvcrt20 wine)

Modified: branches/cmake-bringup/dll/win32/nddeapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/nddeapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/nddeapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/nddeapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,11 @@
 
 spec2def(nddeapi.dll nddeapi.spec)
 
-add_library(nddeapi SHARED nddeapi.c
+list(APPEND SOURCE
+    nddeapi.c
     ${CMAKE_CURRENT_BINARY_DIR}/nddeapi.def)
 
+add_library(nddeapi SHARED ${SOURCE})
 set_entrypoint(nddeapi 0)
 
 target_link_libraries(nddeapi wine)

Modified: branches/cmake-bringup/dll/win32/ntdsapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/ntdsapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/ntdsapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/ntdsapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,11 @@
 
 spec2def(ntdsapi.dll ntdsapi.spec)
 
-add_library(ntdsapi SHARED ntdsapi.c
+list(APPEND SOURCE
+    ntdsapi.c
     ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def)
 
+add_library(ntdsapi SHARED ${SOURCE})
 set_entrypoint(ntdsapi 0)
 
 target_link_libraries(ntdsapi wine)

Modified: branches/cmake-bringup/dll/win32/odbccp32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/odbccp32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/odbccp32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/odbccp32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -6,9 +6,11 @@
 
 spec2def(odbccp32.dll odbccp32.spec)
 
-add_library(odbccp32 SHARED odbccp32.c
+list(APPEND SOURCE
+    odbccp32.c
     ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
 
+add_library(odbccp32 SHARED ${SOURCE})
 set_entrypoint(odbccp32 0)
 
 target_link_libraries(odbccp32

Modified: branches/cmake-bringup/dll/win32/oleacc/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/oleacc/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/oleacc/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/oleacc/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,12 +1,15 @@
 
 add_definitions(-D__WINESRC__)
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(oleacc.dll oleacc.spec)
 
-add_library(oleacc SHARED main.c oleacc.rc
+list(APPEND SOURCE
+    main.c oleacc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
+
+add_library(oleacc SHARED ${SOURCE})
 
 set_entrypoint(oleacc 0)
 

Modified: branches/cmake-bringup/dll/win32/olecli32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/olecli32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/olecli32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/olecli32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -2,11 +2,14 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(olecli32.dll olecli32.spec)
 
-add_library(olecli32 SHARED olecli_main.c
+list(APPEND SOURCE
+    olecli_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/olecli32.def)
 
+add_library(olecli32 SHARED ${SOURCE})
 set_entrypoint(olecli32 0)
 
 target_link_libraries(olecli32 wine)

Modified: branches/cmake-bringup/dll/win32/pdh/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/pdh/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/pdh/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/pdh/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -8,9 +8,11 @@
 
 spec2def(pdh.dll pdh.spec)
 
-add_library(pdh SHARED pdh_main.c
+list(APPEND SOURCE
+    pdh_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/pdh.def)
 
+add_library(pdh SHARED ${SOURCE})
 set_entrypoint(pdh 0)
 
 target_link_libraries(pdh wine)

Modified: branches/cmake-bringup/dll/win32/rasapi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/rasapi32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/rasapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/rasapi32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -2,11 +2,14 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(rasapi32.dll rasapi32.spec)
 
-add_library(rasapi32 SHARED rasapi.c
+list(APPEND SOURCE
+    rasapi.c
     ${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def)
 
+add_library(rasapi32 SHARED ${SOURCE})
 set_entrypoint(rasapi32 0)
 
 target_link_libraries(rasapi32 wine)

Modified: branches/cmake-bringup/dll/win32/security/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/security/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/security/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/security/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,15 +1,16 @@
-
 set_unicode()
-
 add_definitions(-D__SECURITY__)
 
+set_rc_compiler()
 spec2def(security.dll security.spec)
 
-add_library(security SHARED security.rc
+list(APPEND SOURCE
+    security.rc
     ${CMAKE_CURRENT_BINARY_DIR}/security.def)
 
+add_library(security SHARED ${SOURCE})
 set_entrypoint(security 0)
 
-add_importlibs(security advapi32 ntdll)
+add_importlibs(security advapi32 ntdll kernel32)
 
 add_cab_target(security 1)

Modified: branches/cmake-bringup/dll/win32/snmpapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/snmpapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/snmpapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/snmpapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,10 +4,16 @@
 
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
+set_rc_compiler()
 
 spec2def(snmpapi.dll snmpapi.spec)
 
-add_library(snmpapi SHARED main.c snmpapi.rc ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
+list(APPEND SOURCE
+    main.c
+    snmpapi.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/snmpapi.def)
+    
+add_library(snmpapi SHARED ${SOURCE})
 
 set_module_type(snmpapi win32dll)
 

Modified: branches/cmake-bringup/dll/win32/spoolss/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/spoolss/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/spoolss/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/spoolss/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,7 +4,12 @@
 
 spec2def(spoolss.dll spoolss.spec)
 
-add_library(spoolss SHARED spoolss_main.c router.c ${CMAKE_CURRENT_BINARY_DIR}/spoolss.def)
+list(APPEND SOURCE
+    spoolss_main.c
+    router.c
+    ${CMAKE_CURRENT_BINARY_DIR}/spoolss.def)
+
+add_library(spoolss SHARED ${SOURCE})
 
 set_module_type(spoolss win32dll)
 

Modified: branches/cmake-bringup/dll/win32/srclient/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/srclient/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/srclient/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/srclient/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -1,9 +1,11 @@
 
 spec2def(srclient.dll srclient.spec)
 
-add_library(srclient SHARED srclient_main.c
+list(APPEND SOURCE
+    srclient_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/srclient.def)
 
+add_library(srclient SHARED ${SOURCE})
 set_entrypoint(srclient 0)
 
 add_importlibs(srclient kernel32 ntdll)

Modified: branches/cmake-bringup/dll/win32/sxs/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/sxs/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/sxs/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/sxs/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,11 @@
 
 spec2def(sxs.dll sxs.spec)
 
-add_library(sxs SHARED sxs.c
+list(APPEND SOURCE
+    sxs.c
     ${CMAKE_CURRENT_BINARY_DIR}/sxs.def)
 
+add_library(sxs SHARED ${SOURCE})
 set_entrypoint(sxs 0)
 
 target_link_libraries(sxs wine)

Modified: branches/cmake-bringup/dll/win32/tapi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/tapi32/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/tapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/tapi32/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,12 +4,13 @@
 
 spec2def(tapi32.dll tapi32.spec)
 
-add_library(tapi32 SHARED
+list(APPEND SOURCE
     assisted.c
     internal.c
     line.c
     phone.c
     ${CMAKE_CURRENT_BINARY_DIR}/tapi32.def)
+add_library(tapi32 SHARED ${SOURCE})
 
 set_entrypoint(tapi32 0)
 

Modified: branches/cmake-bringup/dll/win32/traffic/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/traffic/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/traffic/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/traffic/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,11 @@
 
 spec2def(traffic.dll traffic.spec)
 
-add_library(traffic SHARED
+list(APPEND SOURCE
     traffic_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/traffic.def)
+
+add_library(traffic SHARED ${SOURCE})
 
 set_module_type(traffic win32dll)
 

Modified: branches/cmake-bringup/dll/win32/updspapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/updspapi/CMakeLists.txt?rev=49871&r1=49870&r2=49871&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/updspapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/updspapi/CMakeLists.txt [iso-8859-1] Mon Nov 29 23:08:38 2010
@@ -4,9 +4,11 @@
 
 spec2def(updspapi.dll updspapi.spec)
 
-add_library(updspapi SHARED main.c
+list(APPEND SOURCE
+    main.c
     ${CMAKE_CURRENT_BINARY_DIR}/updspapi.def)
 
+add_library(updspapi SHARED ${SOURCE})
 set_entrypoint(updspapi 0)
 
 target_link_libraries(updspapi wine)




More information about the Ros-diffs mailing list