- Add some importlib targets.

svn path=/branches/cmake-bringup/; revision=50005
This commit is contained in:
Amine Khaldi 2010-12-10 16:08:35 +00:00
parent 3e64650a54
commit e829be1010
16 changed files with 36 additions and 42 deletions

View file

@ -22,9 +22,7 @@ add_library(atl SHARED ${SOURCE})
set_module_type(atl win32dll)
target_link_libraries(atl
uuid
wine)
target_link_libraries(atl uuid wine)
add_importlibs(atl
msvcrt
@ -36,5 +34,7 @@ add_importlibs(atl
kernel32
ntdll)
add_importlib_target(atl.spec)
add_dependencies(atl atl_atliface_header)
add_cab_target(atl 1)

View file

@ -7,6 +7,8 @@ add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(avifil32.dll avifil32.spec)
add_library(avifil32 SHARED
acmstream.c
api.c
@ -20,17 +22,11 @@ add_library(avifil32 SHARED
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
@ -43,4 +39,5 @@ add_importlibs(avifil32
kernel32
ntdll)
add_importlib_target(avifil32.spec)
add_cab_target(avifil32 1)

View file

@ -18,5 +18,6 @@ set_module_type(credui win32dll)
target_link_libraries(credui wine)
add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
add_importlib_target(credui.spec)
add_cab_target(credui 1)

View file

@ -21,5 +21,5 @@ add_importlibs(cryptnet
kernel32
ntdll)
add_importlib_target(cryptnet.spec)
add_cab_target(cryptnet 1)

View file

@ -28,5 +28,5 @@ add_importlibs(hlink
kernel32
ntdll)
add_importlib_target(hlink.spec)
add_cab_target(hlink 1)

View file

@ -16,5 +16,5 @@ set_module_type(icmp win32dll)
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)

View file

@ -21,9 +21,7 @@ add_library(inetcomm SHARED ${SOURCE})
set_module_type(inetcomm win32dll)
target_link_libraries(inetcomm
uuid
wine)
target_link_libraries(inetcomm uuid wine)
add_importlibs(inetcomm
ole32
@ -35,4 +33,5 @@ add_importlibs(inetcomm
kernel32
ntdll)
add_importlib_target(inetcomm.spec)
add_cab_target(inetcomm 1)

View file

@ -14,5 +14,6 @@ set_entrypoint(ntdsapi 0)
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)

View file

@ -1,6 +1,7 @@
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)
@ -13,9 +14,7 @@ list(APPEND SOURCE
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
@ -23,5 +22,5 @@ add_importlibs(odbccp32
kernel32
ntdll)
add_importlib_target(odbccp32.spec)
add_cab_target(odbccp32 1)

View file

@ -6,7 +6,8 @@ set_rc_compiler()
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})
@ -20,5 +21,5 @@ add_importlibs(oleacc
kernel32
ntdll)
add_cab_target(oleacc 1)
add_importlib_target(oleacc.spec)
add_cab_target(oleacc 1)

View file

@ -18,5 +18,6 @@ set_entrypoint(pdh 0)
target_link_libraries(pdh wine)
add_importlibs(pdh kernel32 ntdll)
add_importlib_target(pdh.spec)
add_cab_target(pdh 1)

View file

@ -13,6 +13,5 @@ set_module_type(powrprof win32dll)
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)

View file

@ -2,6 +2,8 @@
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
@ -10,16 +12,10 @@ add_library(winhttp SHARED
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)

View file

@ -17,6 +17,7 @@ target_link_libraries(wlanapi
${PSEH_LIB})
add_importlibs(wlanapi rpcrt4 kernel32 ntdll)
add_dependencies(wlanapi psdk buildno_header)
add_importlib_target(wlanapi.spec)
add_cab_target(wlanapi 1)
add_dependencies(wlanapi psdk buildno_header)
add_cab_target(wlanapi 1)

View file

@ -36,5 +36,5 @@ set_module_type(wldap32 win32dll)
target_link_libraries(wldap32 wine)
add_importlibs(wldap32 user32 msvcrt kernel32 ntdll)
add_importlib_target(wldap32.spec)
add_cab_target(wldap32 1)

View file

@ -13,9 +13,8 @@ add_library(xmllite SHARED ${SOURCE})
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)