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

spetreolle at svn.reactos.org spetreolle at svn.reactos.org
Tue Nov 30 20:57:02 UTC 2010


Author: spetreolle
Date: Tue Nov 30 20:57:01 2010
New Revision: 49876

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

Modified:
    branches/cmake-bringup/dll/win32/atl/CMakeLists.txt
    branches/cmake-bringup/dll/win32/dbghelp/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mssign32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/mssip32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/netcfgx/CMakeLists.txt
    branches/cmake-bringup/dll/win32/netshell/CMakeLists.txt
    branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt
    branches/cmake-bringup/dll/win32/ntlanman/CMakeLists.txt
    branches/cmake-bringup/dll/win32/ntprint/CMakeLists.txt
    branches/cmake-bringup/dll/win32/odbc32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/olesvr32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/olethk32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/pidgen/CMakeLists.txt
    branches/cmake-bringup/dll/win32/printui/CMakeLists.txt
    branches/cmake-bringup/dll/win32/pstorec/CMakeLists.txt
    branches/cmake-bringup/dll/win32/rasadhlp/CMakeLists.txt
    branches/cmake-bringup/dll/win32/rasdlg/CMakeLists.txt
    branches/cmake-bringup/dll/win32/rasman/CMakeLists.txt
    branches/cmake-bringup/dll/win32/resutils/CMakeLists.txt
    branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt
    branches/cmake-bringup/dll/win32/sccbase/CMakeLists.txt
    branches/cmake-bringup/dll/win32/schannel/CMakeLists.txt
    branches/cmake-bringup/dll/win32/setupapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/sfc/CMakeLists.txt
    branches/cmake-bringup/dll/win32/shimgvw/CMakeLists.txt
    branches/cmake-bringup/dll/win32/slbcsp/CMakeLists.txt
    branches/cmake-bringup/dll/win32/url/CMakeLists.txt
    branches/cmake-bringup/dll/win32/usp10/CMakeLists.txt
    branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt
    branches/cmake-bringup/dll/win32/windowscodecs/CMakeLists.txt
    branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt
    branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt
    branches/cmake-bringup/dll/win32/wintrust/CMakeLists.txt
    branches/cmake-bringup/dll/win32/wlanapi/CMakeLists.txt
    branches/cmake-bringup/dll/win32/wldap32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/wtsapi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/xmllite/CMakeLists.txt

Modified: branches/cmake-bringup/dll/win32/atl/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/atl/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/atl/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/atl/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,6 +1,3 @@
-
-ADD_INTERFACE_DEFINITIONS(atl_atliface_header atliface.idl)
-
 add_definitions(-D__WINESRC__)
 
 remove_definitions(-D_WIN32_WINNT=0x502)
@@ -8,14 +5,19 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+ADD_INTERFACE_DEFINITIONS(atl_atliface_header atliface.idl)
+
+set_rc_compiler()
 spec2def(atl.dll atl.spec)
 
-add_library(atl SHARED
+list(APPEND SOURCE
     atl_ax.c
     atl_main.c
     registrar.c
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
+
+add_library(atl SHARED ${SOURCE})
 
 set_module_type(atl win32dll)
 

Modified: branches/cmake-bringup/dll/win32/dbghelp/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/dbghelp/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/dbghelp/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/dbghelp/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -13,9 +13,10 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(dbghelp.dll dbghelp.spec)
 
-add_library(dbghelp SHARED
+list(APPEND SOURCE
     coff.c
     cpu_i386.c
     cpu_ppc.c
@@ -42,6 +43,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/dbghelp.def)
 
+add_library(dbghelp SHARED ${SOURCE})
+
 set_module_type(dbghelp win32dll)
 
 target_link_libraries(dbghelp

Modified: branches/cmake-bringup/dll/win32/mssign32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mssign32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mssign32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mssign32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,11 @@
 
 spec2def(mssign32.dll mssign32.spec)
 
-add_library(mssign32 SHARED mssign32_main.c ${CMAKE_CURRENT_BINARY_DIR}/mssign32.def)
+list(APPEND SOURCE
+    mssign32_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/mssign32.def)
+
+add_library(mssign32 SHARED ${SOURCE})
 
 set_module_type(mssign32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/mssip32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mssip32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/mssip32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mssip32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,11 @@
 
 spec2def(mssip32.dll mssip32.spec)
 
-add_library(mssip32 SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/mssip32.def)
+list(APPEND SOURCE
+    main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/mssip32.def)
+
+add_library(mssip32 SHARED ${SOURCE})
 
 set_module_type(mssip32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,14 +4,17 @@
 add_definitions(-D__WINESRC__)
 add_definitions(-D_WINE)
 
+set_rc_compiler()
 spec2def(msvfw32.dll msvfw32.spec)
 
-add_library(msvfw32 SHARED
+list(APPEND SOURCE
     mciwnd.c
     msvideo_main.c
     drawdib.c
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
+
+add_library(msvfw32 SHARED ${SOURCE})
 
 set_module_type(msvfw32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,7 @@
 
 spec2def(netapi32.dll netapi32.spec)
 
-add_library(netapi32 SHARED
+list(APPEND SOURCE
     access.c
     apibuf.c
     browsr.c
@@ -19,6 +19,8 @@
     wksta.c
     ${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
 
+add_library(netapi32 SHARED ${SOURCE})
+
 set_module_type(netapi32 win32dll)
 
 target_link_libraries(netapi32 wine)

Modified: branches/cmake-bringup/dll/win32/netcfgx/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/netcfgx/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/netcfgx/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/netcfgx/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,10 +1,10 @@
-
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+set_rc_compiler()
 spec2def(netcfgx.dll netcfgx.spec)
 
-add_library(netcfgx SHARED
+list(APPEND SOURCE
     netcfgx.c
     classfactory.c
     netcfg_iface.c
@@ -12,6 +12,8 @@
     tcpipconf_notify.c
     netcfgx.rc
     ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
+
+add_library(netcfgx SHARED ${SOURCE})
 
 set_module_type(netcfgx win32dll)
 

Modified: branches/cmake-bringup/dll/win32/netshell/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/netshell/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/netshell/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/netshell/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,8 +1,8 @@
-
 add_definitions(-D_NETSHELL_)
 remove_definitions(-D_WIN32_WINNT=0x502)
 add_definitions(-D_WIN32_WINNT=0x600)
 
+set_rc_compiler()
 spec2def(netshell.dll netshell.spec)
 
 list(APPEND SOURCE
@@ -38,7 +38,8 @@
     setupapi
     ws2_32
     comctl32
-    kernel32)
+    kernel32
+    ntdll)
 
 add_pch(netshell ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
 

Modified: branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -3,12 +3,14 @@
 
 spec2def(newdev.dll newdev.spec)
 
-add_library(newdev SHARED
+list(APPEND SOURCE
     newdev.c
     stubs.c
     wizard.c
     newdev.rc
     ${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
+
+add_library(newdev SHARED ${SOURCE})
 
 set_module_type(newdev win32dll)
 

Modified: branches/cmake-bringup/dll/win32/ntlanman/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/ntlanman/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/ntlanman/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/ntlanman/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -3,7 +3,12 @@
 
 spec2def(ntlanman.dll ntlanman.spec)
 
-add_library(ntlanman SHARED ntlanman.c ntlanman.rc ${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def)
+list(APPEND SOURCE
+    ntlanman.c
+    ntlanman.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def)
+
+add_library(ntlanman SHARED ${SOURCE})
 
 set_module_type(ntlanman win32dll)
 

Modified: branches/cmake-bringup/dll/win32/ntprint/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/ntprint/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/ntprint/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/ntprint/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,10 +1,15 @@
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(ntprint.dll ntprint.spec)
 
-add_library(ntprint SHARED ntprint.c ntprint.rc ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
+list(APPEND SOURCE
+    ntprint.c
+    ntprint.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/ntprint.def)
+
+add_library(ntprint SHARED ${SOURCE})
 
 set_module_type(ntprint win32dll)
 

Modified: branches/cmake-bringup/dll/win32/odbc32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/odbc32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/odbc32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/odbc32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -6,7 +6,11 @@
 
 spec2def(odbc32.dll odbc32.spec)
 
-add_library(odbc32 SHARED proxyodbc.c ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
+list(APPEND SOURCE
+    proxyodbc.c
+    ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
+
+add_library(odbc32 SHARED ${SOURCE})
 
 set_module_type(odbc32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/olesvr32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/olesvr32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/olesvr32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/olesvr32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,8 +4,11 @@
 
 spec2def(olesvr32.dll olesvr32.spec)
 
-add_library(olesvr32 SHARED olesvr_main.c
+list(APPEND SOURCE
+    olesvr_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
+
+add_library(olesvr32 SHARED ${SOURCE})
 
 set_entrypoint(olesvr32 0)
 

Modified: branches/cmake-bringup/dll/win32/olethk32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/olethk32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/olethk32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/olethk32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -2,9 +2,15 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(olethk32.dll olethk32.spec)
 
-add_library(olethk32 SHARED main.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
+list(APPEND SOURCE
+    main.c
+    version.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
+
+add_library(olethk32 SHARED ${SOURCE})
 
 set_module_type(olethk32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/pidgen/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/pidgen/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/pidgen/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/pidgen/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -2,9 +2,15 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(pidgen.dll pidgen.spec)
 
-add_library(pidgen SHARED main.c rsrc.rc ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
+list(APPEND SOURCE
+    main.c
+    rsrc.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
+
+add_library(pidgen SHARED ${SOURCE})
 
 set_module_type(pidgen win32dll)
 

Modified: branches/cmake-bringup/dll/win32/printui/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/printui/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/printui/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/printui/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -2,11 +2,15 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(printui.dll printui.spec)
 
-add_library(printui SHARED printui.c printui.rc
+list(APPEND SOURCE
+    printui.c
+    printui.rc
     ${CMAKE_CURRENT_BINARY_DIR}/printui.def)
 
+add_library(printui SHARED ${SOURCE})
 set_entrypoint(printui 0)
 
 target_link_libraries(printui wine)

Modified: branches/cmake-bringup/dll/win32/pstorec/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/pstorec/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/pstorec/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/pstorec/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,9 +4,15 @@
 
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(pstorec.dll pstorec.spec)
 
-add_library(pstorec SHARED pstorec.c rsrc.rc ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
+list(APPEND SOURCE
+    pstorec.c
+    rsrc.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/pstorec.def)
+
+add_library(pstorec SHARED ${SOURCE})
 
 set_module_type(pstorec win32dll)
 

Modified: branches/cmake-bringup/dll/win32/rasadhlp/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/rasadhlp/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/rasadhlp/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/rasadhlp/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -3,11 +3,13 @@
 
 spec2def(rasadhlp.dll rasadhlp.spec)
 
-add_library(rasadhlp SHARED
+list(APPEND SOURCE
     autodial.c
     init.c
     winsock.c
     ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def)
+
+add_library(rasadhlp SHARED ${SOURCE})
 
 set_module_type(rasadhlp win32dll)
 

Modified: branches/cmake-bringup/dll/win32/rasdlg/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/rasdlg/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/rasdlg/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/rasdlg/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,7 +1,12 @@
 
 spec2def(rasdlg.dll rasdlg.spec)
 
-add_library(rasdlg SHARED rasdlg.c rasdlg.rc ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
+list(APPEND SOURCE
+    rasdlg.c
+    rasdlg.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
+
+add_library(rasdlg SHARED ${SOURCE})
 
 set_module_type(rasdlg win32dll)
 

Modified: branches/cmake-bringup/dll/win32/rasman/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/rasman/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/rasman/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/rasman/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,7 +1,12 @@
-
+set_rc_compiler()
 spec2def(rasman.dll rasman.spec)
 
-add_library(rasman SHARED rasman.c rasman.rc ${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
+list(APPEND SOURCE
+    rasman.c
+    rasman.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
+
+add_library(rasman SHARED ${SOURCE})
 
 set_module_type(rasman win32dll)
 

Modified: branches/cmake-bringup/dll/win32/resutils/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/resutils/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/resutils/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/resutils/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,11 @@
 
 spec2def(resutils.dll resutils.spec)
 
-add_library(resutils SHARED resutils.c ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
+list(APPEND SOURCE
+    resutils.c
+    ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
+
+add_library(resutils SHARED ${SOURCE})
 
 set_module_type(resutils win32dll)
 

Modified: branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -2,9 +2,16 @@
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(samlib.dll samlib.spec)
 
-add_library(samlib SHARED dllmain.c samlib.c samlib.rc ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
+list(APPEND SOURCE
+    dllmain.c
+    samlib.c
+    samlib.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/samlib.def)
+
+add_library(samlib SHARED ${SOURCE})
 
 set_module_type(samlib win32dll)
 

Modified: branches/cmake-bringup/dll/win32/sccbase/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/sccbase/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/sccbase/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/sccbase/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,11 @@
 
 spec2def(sccbase.dll sccbase.spec)
 
-add_library(sccbase SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/sccbase.def)
+list(APPEND SOURCE
+    main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/sccbase.def)
+
+add_library(sccbase SHARED ${SOURCE})
 
 set_module_type(sccbase win32dll)
 

Modified: branches/cmake-bringup/dll/win32/schannel/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/schannel/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/schannel/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/schannel/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,15 +1,17 @@
-
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 
+set_rc_compiler()
 spec2def(schannel.dll schannel.spec)
 
-add_library(schannel SHARED
+list(APPEND SOURCE
     lsamode.c
     schannel_main.c
     usermode.c
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/schannel.def)
+
+add_library(schannel SHARED ${SOURCE})
 
 set_module_type(schannel win32dll)
 

Modified: branches/cmake-bringup/dll/win32/setupapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/setupapi/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/setupapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/setupapi/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -12,9 +12,10 @@
     ${REACTOS_SOURCE_DIR}/include/reactos/wine
     ${REACTOS_BINARY_DIR}/include/reactos/idl)
 
+set_rc_compiler()
 spec2def(setupapi.dll setupapi.spec)
 
-add_library(setupapi SHARED
+list(APPEND SOURCE
     cfgmgr.c
     devclass.c
     devinst.c
@@ -33,6 +34,8 @@
     rpc.c
     setupapi.rc
     ${CMAKE_CURRENT_BINARY_DIR}/setupapi.def)
+
+add_library(setupapi SHARED ${SOURCE})
 
 set_module_type(setupapi win32dll)
 

Modified: branches/cmake-bringup/dll/win32/sfc/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/sfc/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/sfc/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/sfc/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -11,7 +11,7 @@
 
 set_module_type(sfc win32dll)
 
-add_importlibs(sfc msvcrt kernel32)
+add_importlibs(sfc msvcrt kernel32 ntdll)
 add_pch(sfc ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
 
 add_cab_target(sfc 1)

Modified: branches/cmake-bringup/dll/win32/shimgvw/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/shimgvw/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/shimgvw/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/shimgvw/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,7 +1,12 @@
 
 spec2def(shimgvw.dll shimgvw.spec)
 
-add_library(shimgvw SHARED shimgvw.c shimgvw.rc ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
+list(APPEND SOURCE
+    shimgvw.c
+    shimgvw.rc
+    ${CMAKE_CURRENT_BINARY_DIR}/shimgvw.def)
+
+add_library(shimgvw SHARED ${SOURCE})
 
 set_module_type(shimgvw win32dll)
 
@@ -17,5 +22,4 @@
     kernel32
     ntdll)
 
-
 add_cab_target(shimgvw 1)

Modified: branches/cmake-bringup/dll/win32/slbcsp/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/slbcsp/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/slbcsp/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/slbcsp/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,11 @@
 
 spec2def(slbcsp.dll slbcsp.spec)
 
-add_library(slbcsp SHARED main.c ${CMAKE_CURRENT_BINARY_DIR}/slbcsp.def)
+list(APPEND SOURCE
+    main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/slbcsp.def)
+
+add_library(slbcsp SHARED ${SOURCE})
 
 set_module_type(slbcsp win32dll)
 

Modified: branches/cmake-bringup/dll/win32/url/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/url/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/url/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/url/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,9 +4,11 @@
 
 spec2def(url.dll url.spec)
 
-add_library(url SHARED
+list(APPEND SOURCE
     url_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/url.def)
+
+add_library(url SHARED ${SOURCE})
 
 set_module_type(url win32dll)
 

Modified: branches/cmake-bringup/dll/win32/usp10/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/usp10/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/usp10/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/usp10/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,13 +4,15 @@
 
 spec2def(usp10.dll usp10.spec)
 
-add_library(usp10 SHARED
+list(APPEND SOURCE
     bidi.c
     usp10.c
     mirror.c
     shape.c
     shaping.c
     ${CMAKE_CURRENT_BINARY_DIR}/usp10.def)
+
+add_library(usp10 SHARED ${SOURCE})
 
 set_module_type(usp10 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -1,10 +1,11 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 add_definitions(-D__WINESRC__)
+set_rc_compiler()
 
 spec2def(uxtheme.dll uxtheme.spec)
 
-add_library(uxtheme SHARED
+list(APPEND SOURCE
     buffer.c
     draw.c
     main.c
@@ -17,6 +18,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/uxtheme.def)
 
+add_library(uxtheme SHARED ${SOURCE})
+
 set_module_type(uxtheme win32dll)
 
 target_link_libraries(uxtheme wine)

Modified: branches/cmake-bringup/dll/win32/windowscodecs/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/windowscodecs/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/windowscodecs/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/windowscodecs/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -11,9 +11,11 @@
     ${REACTOS_SOURCE_DIR}/include/reactos/libs/libpng
     ${REACTOS_SOURCE_DIR}/include/reactos/libs/libtiff)
 
+set_rc_compiler()
+
 spec2def(windowscodecs.dll windowscodecs.spec)
 
-add_library(windowscodecs SHARED
+list(APPEND SOURCE
     bmpdecode.c
     bmpencode.c
     clsfactory.c
@@ -35,6 +37,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/windowscodecs.def)
 
+add_library(windowscodecs SHARED ${SOURCE})
+
 set_module_type(windowscodecs win32dll)
 
 target_link_libraries(windowscodecs wine)

Modified: branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -10,7 +10,7 @@
 
 set_rc_compiler()
 
-add_library(wininet SHARED
+list(APPEND SOURCE
     cookie.c
     dialogs.c
     ftp.c
@@ -25,6 +25,8 @@
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
 
+add_library(wininet SHARED ${SOURCE})
+
 set_module_type(wininet win32dll)
 
 target_link_libraries(wininet

Modified: branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -5,12 +5,15 @@
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-add_library(winspool SHARED
+set_rc_compiler()
+
+list(APPEND SOURCE
     info.c
     stubs.c
-    winspool_winspool.stubs.c
     winspool.rc
     ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
+
+add_library(winspool SHARED ${SOURCE})
 
 set_target_properties(winspool PROPERTIES SUFFIX ".drv")
 set_module_type(winspool win32dll)

Modified: branches/cmake-bringup/dll/win32/wintrust/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wintrust/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/wintrust/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/wintrust/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -2,9 +2,10 @@
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(wintrust.dll wintrust.spec)
 
-add_library(wintrust SHARED
+list(APPEND SOURCE
     crypt.c
     register.c
     wintrust_main.c
@@ -12,6 +13,8 @@
     softpub.c
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/wintrust.def)
+
+add_library(wintrust SHARED ${SOURCE})
 
 set_module_type(wintrust win32dll)
 

Modified: branches/cmake-bringup/dll/win32/wlanapi/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wlanapi/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/wlanapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/wlanapi/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -3,8 +3,11 @@
 
 spec2def(wlanapi.dll wlanapi.spec)
 
-add_library(wlanapi SHARED main.c
+list(APPEND SOURCE
+    main.c
     ${CMAKE_CURRENT_BINARY_DIR}/wlanapi.def)
+
+add_library(wlanapi SHARED ${SOURCE})
 
 set_entrypoint(wlanapi 0)
 

Modified: branches/cmake-bringup/dll/win32/wldap32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wldap32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/wldap32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/wldap32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -2,9 +2,10 @@
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
+set_rc_compiler()
 spec2def(wldap32.dll wldap32.spec)
 
-add_library(wldap32 SHARED
+list(APPEND SOURCE
     add.c
     ber.c
     bind.c
@@ -28,6 +29,8 @@
     wldap32.rc
     ${CMAKE_CURRENT_BINARY_DIR}/wldap32.def)
 
+add_library(wldap32 SHARED ${SOURCE})
+
 set_module_type(wldap32 win32dll)
 
 target_link_libraries(wldap32 wine)

Modified: branches/cmake-bringup/dll/win32/wtsapi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wtsapi32/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/wtsapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/wtsapi32/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,11 @@
 
 spec2def(wtsapi32.dll wtsapi32.spec)
 
-add_library(wtsapi32 SHARED wtsapi32.c ${CMAKE_CURRENT_BINARY_DIR}/wtsapi32.def)
+list(APPEND SOURCE
+    wtsapi32.c
+    ${CMAKE_CURRENT_BINARY_DIR}/wtsapi32.def)
+
+add_library(wtsapi32 SHARED ${SOURCE})
 
 set_module_type(wtsapi32 win32dll)
 

Modified: branches/cmake-bringup/dll/win32/xmllite/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/xmllite/CMakeLists.txt?rev=49876&r1=49875&r2=49876&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/xmllite/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/xmllite/CMakeLists.txt [iso-8859-1] Tue Nov 30 20:57:01 2010
@@ -4,7 +4,12 @@
 
 spec2def(xmllite.dll xmllite.spec)
 
-add_library(xmllite SHARED reader.c xmllite_main.c ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
+list(APPEND SOURCE
+    reader.c
+    xmllite_main.c
+    ${CMAKE_CURRENT_BINARY_DIR}/xmllite.def)
+
+add_library(xmllite SHARED ${SOURCE})
 
 set_module_type(xmllite win32dll)
 
@@ -13,5 +18,4 @@
 
 add_importlibs(xmllite msvcrt kernel32 ntdll)
 
-
 add_cab_target(xmllite 1)




More information about the Ros-diffs mailing list