[ros-diffs] [tkreuzer] 49554: [CMAKE] Create importlibs from spec files for kernel32, advapi32, gdi32, user32 and msvcrt calc now compiles with MSVC and works (slightly buggy)

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Wed Nov 10 22:50:22 UTC 2010


Author: tkreuzer
Date: Wed Nov 10 22:50:21 2010
New Revision: 49554

URL: http://svn.reactos.org/svn/reactos?rev=49554&view=rev
Log:
[CMAKE]
Create importlibs from spec files for kernel32, advapi32, gdi32, user32 and msvcrt
calc now compiles with MSVC and works (slightly buggy)

Modified:
    branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/gdi32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/kernel32/CMakeLists.txt
    branches/cmake-bringup/dll/win32/msvcrt/CMakeLists.txt
    branches/cmake-bringup/dll/win32/user32/CMakeLists.txt

Modified: branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt?rev=49554&r1=49553&r2=49554&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/advapi32/CMakeLists.txt [iso-8859-1] Wed Nov 10 22:50:21 2010
@@ -66,5 +66,5 @@
 
 add_pch(advapi32 ${CMAKE_CURRENT_SOURCE_DIR}/advapi32.h ${SOURCE})
 add_cab_target(advapi32 1)
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/advapi32.def)
+add_importlib_target(advapi32.spec libntdll)
 

Modified: branches/cmake-bringup/dll/win32/gdi32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/gdi32/CMakeLists.txt?rev=49554&r1=49553&r2=49554&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/gdi32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/gdi32/CMakeLists.txt [iso-8859-1] Wed Nov 10 22:50:21 2010
@@ -54,4 +54,4 @@
 add_importlibs(gdi32 user32 advapi32 kernel32 ntdll)
 add_pch(gdi32 ${CMAKE_CURRENT_SOURCE_DIR}/include/precomp.h ${SOURCE})
 add_cab_target(gdi32 1)
-add_importlib_target(gdi32.def)
+add_importlib_target(gdi32.spec)

Modified: branches/cmake-bringup/dll/win32/kernel32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/kernel32/CMakeLists.txt?rev=49554&r1=49553&r2=49554&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/kernel32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/kernel32/CMakeLists.txt [iso-8859-1] Wed Nov 10 22:50:21 2010
@@ -121,4 +121,4 @@
 add_pch(kernel32 ${CMAKE_CURRENT_SOURCE_DIR}/k32.h ${SOURCE})
 add_dependencies(kernel32 errcodes)
 add_cab_target(kernel32 1)
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/kernel32.def)
+add_importlib_target(kernel32.spec)

Modified: branches/cmake-bringup/dll/win32/msvcrt/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/msvcrt/CMakeLists.txt?rev=49554&r1=49553&r2=49554&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/msvcrt/CMakeLists.txt [iso-8859-1] Wed Nov 10 22:50:21 2010
@@ -34,5 +34,5 @@
 add_pch(msvcrt ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
 add_importlibs(msvcrt kernel32 ntdll)
 add_cab_target(msvcrt 1)
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/msvcrt.def)
+add_importlib_target(msvcrt.spec)
 

Modified: branches/cmake-bringup/dll/win32/user32/CMakeLists.txt
URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/user32/CMakeLists.txt?rev=49554&r1=49553&r2=49554&view=diff
==============================================================================
--- branches/cmake-bringup/dll/win32/user32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/user32/CMakeLists.txt [iso-8859-1] Wed Nov 10 22:50:21 2010
@@ -84,5 +84,5 @@
 add_pch(user32 ${CMAKE_CURRENT_SOURCE_DIR}/include/user32.h ${SOURCE})
 add_importlibs(user32 gdi32 advapi32 imm32 kernel32 ntdll)
 add_cab_target(user32 1)
-add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/user32.def)
+add_importlib_target(user32.spec)
 




More information about the Ros-diffs mailing list