Author: tkreuzer
Date: Thu Dec 2 19:44:46 2010
New Revision: 49902
URL:
http://svn.reactos.org/svn/reactos?rev=49902&view=rev
Log:
[CMAKE]
On MSVC builds link eventvwr, dwnl, ftp, ping, telnet, tracert to ntdll to resolve _allmul
and friends
link ftp to oldnames
Modified:
branches/cmake-bringup/base/applications/calc/CMakeLists.txt
branches/cmake-bringup/base/applications/mscutils/eventvwr/CMakeLists.txt
branches/cmake-bringup/base/applications/network/dwnl/CMakeLists.txt
branches/cmake-bringup/base/applications/network/ftp/CMakeLists.txt
branches/cmake-bringup/base/applications/network/ping/CMakeLists.txt
branches/cmake-bringup/base/applications/network/tracert/CMakeLists.txt
Modified: branches/cmake-bringup/base/applications/calc/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/calc/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/base/applications/calc/CMakeLists.txt [iso-8859-1] Thu Dec 2
19:44:46 2010
@@ -14,5 +14,8 @@
set_module_type(calc win32gui)
add_importlibs(calc advapi32 user32 gdi32 msvcrt kernel32)
+if(MSVC)
+add_importlibs(calc ntdll)
+endif()
add_cab_target(calc 1)
Modified: branches/cmake-bringup/base/applications/mscutils/eventvwr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/mscutils/eventvwr/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/base/applications/mscutils/eventvwr/CMakeLists.txt [iso-8859-1]
Thu Dec 2 19:44:46 2010
@@ -6,5 +6,8 @@
set_module_type(eventvwr win32gui)
add_importlibs(eventvwr user32 comctl32 advapi32 msvcrt kernel32)
+if(MSVC)
+add_importlibs(eventvwr ntdll)
+endif()
add_cab_target(eventvwr 1)
Modified: branches/cmake-bringup/base/applications/network/dwnl/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/network/dwnl/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/base/applications/network/dwnl/CMakeLists.txt [iso-8859-1] Thu
Dec 2 19:44:46 2010
@@ -9,5 +9,8 @@
target_link_libraries(dwnl uuid)
add_importlibs(dwnl urlmon wininet msvcrt kernel32)
+if(MSVC)
+add_importlibs(dwnl ntdll)
+endif()
add_cab_target(dwnl 1)
Modified: branches/cmake-bringup/base/applications/network/ftp/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/network/ftp/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/base/applications/network/ftp/CMakeLists.txt [iso-8859-1] Thu
Dec 2 19:44:46 2010
@@ -13,5 +13,9 @@
set_module_type(ftp win32cui)
add_importlibs(ftp ws2_32 iphlpapi msvcrt kernel32)
+if(MSVC)
+target_link_libraries(ftp oldnames)
+add_importlibs(ftp ntdll)
+endif()
add_cab_target(ftp 1)
Modified: branches/cmake-bringup/base/applications/network/ping/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/network/ping/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/base/applications/network/ping/CMakeLists.txt [iso-8859-1] Thu
Dec 2 19:44:46 2010
@@ -5,5 +5,8 @@
set_module_type(ping win32cui)
add_importlibs(ping ws2_32 msvcrt kernel32)
+if(MSVC)
+add_importlibs(ping ntdll)
+endif()
add_cab_target(ping 1)
Modified: branches/cmake-bringup/base/applications/network/tracert/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/base/applications…
==============================================================================
--- branches/cmake-bringup/base/applications/network/tracert/CMakeLists.txt [iso-8859-1]
(original)
+++ branches/cmake-bringup/base/applications/network/tracert/CMakeLists.txt [iso-8859-1]
Thu Dec 2 19:44:46 2010
@@ -5,5 +5,8 @@
set_module_type(tracert win32cui)
add_importlibs(tracert ws2_32 msvcrt kernel32)
+if(MSVC)
+add_importlibs(tracert ntdll)
+endif()
add_cab_target(tracert 1)