Author: tkreuzer
Date: Sat Nov 27 00:02:36 2010
New Revision: 49807
URL:
http://svn.reactos.org/svn/reactos?rev=49807&view=rev
Log:
[CMAKE]
add a bunch more importlib targets
Modified:
branches/cmake-bringup/dll/win32/avicap32/CMakeLists.txt
branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt
branches/cmake-bringup/dll/win32/dnsapi/CMakeLists.txt
branches/cmake-bringup/dll/win32/fmifs/CMakeLists.txt
branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt
branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt
branches/cmake-bringup/dll/win32/lz32/CMakeLists.txt
branches/cmake-bringup/dll/win32/mpr/CMakeLists.txt
branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt
branches/cmake-bringup/dll/win32/msimg32/CMakeLists.txt
branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt
branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt
branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt
branches/cmake-bringup/dll/win32/oleaut32/CMakeLists.txt
branches/cmake-bringup/dll/win32/powrprof/CMakeLists.txt
branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt
branches/cmake-bringup/dll/win32/secur32/CMakeLists.txt
branches/cmake-bringup/dll/win32/smdll/CMakeLists.txt
branches/cmake-bringup/dll/win32/userenv/CMakeLists.txt
branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt
branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt
branches/cmake-bringup/dll/win32/ws2help/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/avicap32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/avicap3…
==============================================================================
--- branches/cmake-bringup/dll/win32/avicap32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/avicap32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -1,3 +1,5 @@
+
+spec2def(avicap32.dll avicap32.spec)
set_unicode()
@@ -8,12 +10,9 @@
set_module_type(avicap32 win32dll)
-set_export_spec(avicap32 avicap32.spec)
-
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/avicap32.def)
-
target_link_libraries(avicap32 wine)
add_importlibs(avicap32 advapi32 user32 version kernel32 ntdll)
add_cab_target(avicap32 1)
+add_importlib_target(avicap32.spec)
Modified: branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/crypt32…
==============================================================================
--- branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/crypt32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -51,3 +51,4 @@
add_importlibs(crypt32 user32 advapi32 msvcrt kernel32 ntdll)
add_cab_target(crypt32 1)
+add_importlib_target(crypt32.spec)
Modified: branches/cmake-bringup/dll/win32/dnsapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/dnsapi/…
==============================================================================
--- branches/cmake-bringup/dll/win32/dnsapi/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/dnsapi/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -31,4 +31,5 @@
add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
add_pch(dnsapi ${CMAKE_CURRENT_SOURCE_DIR}/dnsapi/precomp.h ${SOURCE})
add_dependencies(dnsapi psdk buildno_header)
-add_cab_target(dnsapi 1)
+add_cab_target(dnsapi 1)
+add_importlib_target(dnsapi.spec)
Modified: branches/cmake-bringup/dll/win32/fmifs/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/fmifs/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/fmifs/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/fmifs/CMakeLists.txt [iso-8859-1] Sat Nov 27 00:02:36
2010
@@ -21,3 +21,4 @@
add_importlibs(fmifs kernel32 ntdll)
add_dependencies(fmifs psdk buildno_header)
add_cab_target(fmifs 1)
+add_importlib_target(fmifs.spec)
Modified: branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/imm32/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/imm32/CMakeLists.txt [iso-8859-1] Sat Nov 27 00:02:36
2010
@@ -17,3 +17,4 @@
add_importlibs(imm32 advapi32 user32 kernel32 ntdll)
add_cab_target(imm32 1)
+add_importlib_target(imm32.spec)
Modified: branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/lsasrv/…
==============================================================================
--- branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/lsasrv/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -24,4 +24,5 @@
add_importlibs(lsasrv rpcrt4 kernel32 ntdll)
add_dependencies(lsasrv psdk buildno_header)
-add_cab_target(lsasrv 1)
+add_cab_target(lsasrv 1)
+add_importlib_target(lsasrv.spec)
Modified: branches/cmake-bringup/dll/win32/lz32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/lz32/CM…
==============================================================================
--- branches/cmake-bringup/dll/win32/lz32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/lz32/CMakeLists.txt [iso-8859-1] Sat Nov 27 00:02:36
2010
@@ -1,12 +1,12 @@
+
+spec2def(lz32.dll lz32.spec)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
-add_library(lz32 SHARED version.rc lz32.def)
-
-if(NOT MSVC)
- set_source_files_properties(lz32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(lz32 SHARED
+ version.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/lz32.def)
set_entrypoint(lz32 0)
@@ -14,4 +14,5 @@
add_importlibs(lz32 kernel32 ntdll)
add_dependencies(lz32 psdk buildno_header)
-add_cab_target(lz32 1)
+add_cab_target(lz32 1)
+add_importlib_target(lz32.spec)
Modified: branches/cmake-bringup/dll/win32/mpr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mpr/CMa…
==============================================================================
--- branches/cmake-bringup/dll/win32/mpr/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mpr/CMakeLists.txt [iso-8859-1] Sat Nov 27 00:02:36
2010
@@ -23,3 +23,4 @@
add_importlibs(mpr advapi32 user32 kernel32 ntdll)
add_cab_target(mpr 1)
+add_importlib_target(mpr.spec)
Modified: branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msacm32…
==============================================================================
--- branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msacm32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -25,3 +25,4 @@
add_subdirectory(msacm32.drv)
add_cab_target(msacm32 1)
+add_importlib_target(msacm32.spec)
Modified: branches/cmake-bringup/dll/win32/msimg32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msimg32…
==============================================================================
--- branches/cmake-bringup/dll/win32/msimg32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msimg32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -1,12 +1,12 @@
+
+spec2def(msimg32.dll msimg32.spec)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_definitions(-D__WINESRC__)
-add_library(msimg32 SHARED msimg32_main.c msimg32.def)
-
-if(NOT MSVC)
- set_source_files_properties(msimg32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(msimg32 SHARED
+ msimg32_main.c
+ ${CMAKE_CURRENT_BINARY_DIR}/msimg32.def)
set_module_type(msimg32 win32dll)
@@ -15,3 +15,4 @@
add_importlibs(msimg32 gdi32 kernel32 ntdll)
add_cab_target(msimg32 1)
+add_importlib_target(msimg32.spec)
Modified: branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msvfw32…
==============================================================================
--- branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msvfw32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -20,3 +20,4 @@
add_importlibs(msvfw32 winmm version comctl32 user32 gdi32 advapi32 kernel32 ntdll)
add_cab_target(msvfw32 1)
+add_importlib_target(msvfw32.spec)
Modified: branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/netapi3…
==============================================================================
--- branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/netapi32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -26,3 +26,4 @@
add_importlibs(netapi32 iphlpapi ws2_32 advapi32 kernel32 ntdll)
add_cab_target(netapi32 1)
+add_importlib_target(netapi32.spec)
Modified: branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/newdev/…
==============================================================================
--- branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/newdev/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -17,3 +17,4 @@
add_importlibs(newdev gdi32 comctl32 setupapi advapi32 user32 shell32 kernel32 ntdll)
add_cab_target(newdev 1)
+add_importlib_target(newdev.spec)
Modified: branches/cmake-bringup/dll/win32/oleaut32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/oleaut3…
==============================================================================
--- branches/cmake-bringup/dll/win32/oleaut32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/oleaut32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -61,3 +61,4 @@
rpcproxy(oleaut32 oleaut32_oaidl.idl oleaut32_ocidl.idl)
add_cab_target(oleaut32 1)
+add_importlib_target(oleaut32.spec)
Modified: branches/cmake-bringup/dll/win32/powrprof/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/powrpro…
==============================================================================
--- branches/cmake-bringup/dll/win32/powrprof/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/powrprof/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -1,11 +1,12 @@
+
+spec2def(powrprof.dll powrprof.spec)
set_unicode()
-add_library(powrprof SHARED powrprof.c powrprof.rc powrprof.def)
-
-if(NOT MSVC)
- set_source_files_properties(powrprof.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(powrprof SHARED
+ powrprof.c
+ powrprof.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/powrprof.def)
set_module_type(powrprof win32dll)
@@ -14,3 +15,4 @@
add_importlibs(powrprof advapi32 user32 comctl32 kernel32 ntdll)
add_cab_target(powrprof 1)
+add_importlib_target(powrprof.spec)
Modified: branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/samlib/…
==============================================================================
--- branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/samlib/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -11,3 +11,4 @@
add_importlibs(samlib advapi32 kernel32 ntdll)
add_cab_target(samlib 1)
+add_importlib_target(samlib.spec)
Modified: branches/cmake-bringup/dll/win32/secur32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/secur32…
==============================================================================
--- branches/cmake-bringup/dll/win32/secur32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/secur32/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -24,3 +24,4 @@
add_pch(secur32 ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(secur32 1)
+add_importlib_target(secur32.spec)
Modified: branches/cmake-bringup/dll/win32/smdll/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/smdll/C…
==============================================================================
--- branches/cmake-bringup/dll/win32/smdll/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/smdll/CMakeLists.txt [iso-8859-1] Sat Nov 27 00:02:36
2010
@@ -1,3 +1,5 @@
+
+spec2def(smdll.dll smdll.spec)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
@@ -5,14 +7,11 @@
dllmain.c
query.c
smdll.rc
- smdll.def)
-
-if(NOT MSVC)
- set_source_files_properties(smdll.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+ ${CMAKE_CURRENT_BINARY_DIR}/smdll.def)
target_link_libraries(smdll smlib)
add_importlibs(smdll ntdll)
add_dependencies(smdll psdk buildno_header)
-add_cab_target(smdll 1)
+add_cab_target(smdll 1)
+add_importlib_target(smdll.spec)
Modified: branches/cmake-bringup/dll/win32/userenv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/userenv…
==============================================================================
--- branches/cmake-bringup/dll/win32/userenv/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/userenv/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -26,3 +26,4 @@
add_pch(userenv ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(userenv 1)
+add_importlib_target(userenv.spec)
Modified: branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/uxtheme…
==============================================================================
--- branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/uxtheme/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -24,3 +24,4 @@
add_importlibs(uxtheme user32 advapi32 gdi32 msimg32 kernel32 ntdll)
add_cab_target(uxtheme 1)
+add_importlib_target(uxtheme.spec)
Modified: branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/winspoo…
==============================================================================
--- branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/winspool/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -1,3 +1,5 @@
+
+spec2def(winspool.drv winspool.spec)
set_unicode()
@@ -7,15 +9,15 @@
info.c
stubs.c
winspool_winspool.stubs.c
- winspool.rc)
+ winspool.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/winspool.def)
set_target_properties(winspool PROPERTIES SUFFIX ".drv")
set_module_type(winspool win32dll)
-target_link_libraries(winspool
- ${CMAKE_CURRENT_SOURCE_DIR}/winspool_winspool.auto.def
- wine)
+target_link_libraries(winspool wine)
add_importlibs(winspool advapi32 shlwapi kernel32 ntdll)
add_cab_target(winspool 1)
+add_importlib_target(winspool.spec)
Modified: branches/cmake-bringup/dll/win32/ws2help/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/ws2help…
==============================================================================
--- branches/cmake-bringup/dll/win32/ws2help/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/ws2help/CMakeLists.txt [iso-8859-1] Sat Nov 27
00:02:36 2010
@@ -1,3 +1,5 @@
+
+spec2def(ws2help.dll ws2help.spec)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
@@ -7,14 +9,11 @@
dllmain.c
handle.c
notify.c
- ws2help.def)
-
-if(NOT MSVC)
- set_source_files_properties(ws2help.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+ ${CMAKE_CURRENT_BINARY_DIR}/ws2help.def)
set_module_type(ws2help win32dll)
add_importlibs(ws2help advapi32 ws2_32 kernel32 ntdll)
add_cab_target(ws2help 1)
+add_importlib_target(ws2help.spec)