mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[CMAKE]
On MSVC builds link eventvwr, dwnl, ftp, ping, telnet, tracert to ntdll to resolve _allmul and friends link ftp to oldnames svn path=/branches/cmake-bringup/; revision=49902
This commit is contained in:
parent
69e1da4398
commit
3f7c3ba575
6 changed files with 19 additions and 0 deletions
|
@ -14,5 +14,8 @@ add_executable(calc
|
|||
|
||||
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)
|
|
@ -6,5 +6,8 @@ add_executable(eventvwr eventvwr.c eventvwr.rc)
|
|||
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)
|
|
@ -9,5 +9,8 @@ set_module_type(dwnl win32cui)
|
|||
target_link_libraries(dwnl uuid)
|
||||
|
||||
add_importlibs(dwnl urlmon wininet msvcrt kernel32)
|
||||
if(MSVC)
|
||||
add_importlibs(dwnl ntdll)
|
||||
endif()
|
||||
|
||||
add_cab_target(dwnl 1)
|
|
@ -13,5 +13,9 @@ add_executable(ftp
|
|||
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)
|
|
@ -5,5 +5,8 @@ add_executable(ping ping.c ping.rc)
|
|||
set_module_type(ping win32cui)
|
||||
|
||||
add_importlibs(ping ws2_32 msvcrt kernel32)
|
||||
if(MSVC)
|
||||
add_importlibs(ping ntdll)
|
||||
endif()
|
||||
|
||||
add_cab_target(ping 1)
|
|
@ -5,5 +5,8 @@ add_executable(tracert tracert.c tracert.rc)
|
|||
set_module_type(tracert win32cui)
|
||||
|
||||
add_importlibs(tracert ws2_32 msvcrt kernel32)
|
||||
if(MSVC)
|
||||
add_importlibs(tracert ntdll)
|
||||
endif()
|
||||
|
||||
add_cab_target(tracert 1)
|
Loading…
Reference in a new issue