- Add some importlib targets.
svn path=/branches/cmake-bringup/; revision=50005
set_module_type(atl win32dll)
-target_link_libraries(atl
- uuid
- wine)
+target_link_libraries(atl uuid wine)
add_importlibs(atl
msvcrt
kernel32
ntdll)
+add_importlib_target(atl.spec)
+
add_dependencies(atl atl_atliface_header)
add_cab_target(atl 1)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+spec2def(avifil32.dll avifil32.spec)
+
add_library(avifil32 SHARED
acmstream.c
api.c
tmpfile.c
wavfile.c
rsrc.rc
- avifil32.def)
-
-if(NOT MSVC)
- set_source_files_properties(avifil32.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+ ${CMAKE_CURRENT_BINARY_DIR}/avifil32.def)
set_module_type(avifil32 win32dll)
-target_link_libraries(avifil32
- uuid
- wine)
+target_link_libraries(avifil32 uuid wine)
add_importlibs(avifil32
msvcrt
kernel32
ntdll)
+add_importlib_target(avifil32.spec)
add_cab_target(avifil32 1)
target_link_libraries(credui wine)
add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
+add_importlib_target(credui.spec)
add_cab_target(credui 1)
kernel32
ntdll)
-
+add_importlib_target(cryptnet.spec)
add_cab_target(cryptnet 1)
kernel32
ntdll)
-
+add_importlib_target(hlink.spec)
add_cab_target(hlink 1)
target_link_libraries(icmp wine)
add_importlibs(icmp ws2_32 msvcrt kernel32 ntdll)
-add_dependencies(icmp psdk)
+add_importlib_target(icmp.spec)
add_cab_target(icmp 1)
set_module_type(inetcomm win32dll)
-target_link_libraries(inetcomm
- uuid
- wine)
+target_link_libraries(inetcomm uuid wine)
add_importlibs(inetcomm
ole32
kernel32
ntdll)
+add_importlib_target(inetcomm.spec)
add_cab_target(inetcomm 1)
target_link_libraries(ntdsapi wine)
add_importlibs(ntdsapi user32 kernel32 ntdll)
+add_importlib_target(ntdsapi.spec)
add_dependencies(ntdsapi psdk buildno_header)
add_cab_target(ntdsapi 1)
-add_definitions(-D__WINESRC__)
-add_definitions(-D_DLL -D__USE_CRTIMP)
+add_definitions(
+ -D__WINESRC__
+ -D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
add_library(odbccp32 SHARED ${SOURCE})
set_entrypoint(odbccp32 0)
-target_link_libraries(odbccp32
- uuid
- wine)
+target_link_libraries(odbccp32 uuid wine)
add_importlibs(odbccp32
msvcrt
kernel32
ntdll)
-
+add_importlib_target(odbccp32.spec)
add_cab_target(odbccp32 1)
spec2def(oleacc.dll oleacc.spec)
list(APPEND SOURCE
- main.c oleacc.rc
+ main.c
+ oleacc.rc
${CMAKE_CURRENT_BINARY_DIR}/oleacc.def)
add_library(oleacc SHARED ${SOURCE})
kernel32
ntdll)
-
-add_cab_target(oleacc 1)
\ No newline at end of file
+add_importlib_target(oleacc.spec)
+add_cab_target(oleacc 1)
target_link_libraries(pdh wine)
add_importlibs(pdh kernel32 ntdll)
+add_importlib_target(pdh.spec)
add_cab_target(pdh 1)
\ No newline at end of file
target_link_libraries(powrprof wine)
add_importlibs(powrprof advapi32 user32 comctl32 msvcrt kernel32 ntdll)
-
-add_cab_target(powrprof 1)
add_importlib_target(powrprof.spec)
+add_cab_target(powrprof 1)
add_definitions(-D__WINESRC__)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
+spec2def(winhttp.dll winhttp.spec)
+
add_library(winhttp SHARED
cookie.c
handle.c
request.c
session.c
url.c
- winhttp.def)
-
-if(NOT MSVC)
- set_source_files_properties(winhttp.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+ ${CMAKE_CURRENT_BINARY_DIR}/winhttp.def)
set_module_type(winhttp win32dll)
-
target_link_libraries(winhttp wine)
-
add_importlibs(winhttp shlwapi wininet ws2_32 msvcrt crypt32 advapi32 kernel32 ntdll)
-
+add_importlib_target(winhttp.spec)
add_cab_target(winhttp 1)
${PSEH_LIB})
add_importlibs(wlanapi rpcrt4 kernel32 ntdll)
-add_dependencies(wlanapi psdk buildno_header)
+add_importlib_target(wlanapi.spec)
-add_cab_target(wlanapi 1)
\ No newline at end of file
+add_dependencies(wlanapi psdk buildno_header)
+add_cab_target(wlanapi 1)
target_link_libraries(wldap32 wine)
add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
-
+add_importlib_target(wldap32.spec)
add_cab_target(wldap32 1)
set_module_type(xmllite win32dll)
-target_link_libraries(xmllite
- wine)
+target_link_libraries(xmllite wine)
add_importlibs(xmllite msvcrt kernel32 ntdll)
-
+add_importlib_target(xmllite.spec)
add_cab_target(xmllite 1)