Author: akhaldi
Date: Sat Oct 2 10:15:25 2010
New Revision: 48961
URL:
http://svn.reactos.org/svn/reactos?rev=48961&view=rev
Log:
[CMAKE]
- Add wininet to build. By Alexey Komarov.
Added:
branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt (with props)
Added: branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/wininet…
==============================================================================
--- branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt (added)
+++ branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt [iso-8859-1] Sat Oct 2
10:15:25 2010
@@ -1,0 +1,34 @@
+
+add_definitions(-D__WINESRC__ -D_WINE)
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/zlib)
+
+spec2def(wininet ${CMAKE_CURRENT_SOURCE_DIR}/wininet.spec
${CMAKE_CURRENT_BINARY_DIR}/wininet.def)
+
+set_rc_compiler()
+
+add_library(wininet SHARED
+ cookie.c
+ dialogs.c
+ ftp.c
+ gopher.c
+ http.c
+ internet.c
+ netconnection.c
+ urlcache.c
+ utility.c
+ wininet_main.c
+ rsrc.rc
+ version.rc)
+
+set_module_type(wininet win32dll)
+
+target_link_libraries(wininet
+ ${CMAKE_CURRENT_BINARY_DIR}/wininet.def
+ wine
+ zlib
+ pseh)
+
+add_importlibs(wininet msvcrt mpr shlwapi shell32 user32 advapi32 ntdll secur32 crypt32
ws2_32)
+add_dependencies(wininet wininet_def psdk buildno_header)
Propchange: branches/cmake-bringup/dll/win32/wininet/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native