mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[CMAKE]
* Add some missing order only dependencies. svn path=/trunk/; revision=59040
This commit is contained in:
parent
b07d7ec92a
commit
2841da1b46
7 changed files with 14 additions and 62 deletions
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||
add_definitions(-D_WIN32_WINNT=0x600)
|
||||
|
||||
|
@ -17,22 +16,8 @@ add_library(devenum SHARED
|
|||
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
|
||||
|
||||
set_module_type(devenum win32dll UNICODE)
|
||||
|
||||
target_link_libraries(devenum
|
||||
strmiids
|
||||
uuid
|
||||
wine)
|
||||
|
||||
add_importlibs(devenum
|
||||
advapi32
|
||||
ole32
|
||||
oleaut32
|
||||
winmm
|
||||
user32
|
||||
avicap32
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
target_link_libraries(devenum strmiids uuid wine)
|
||||
add_importlibs(devenum advapi32 ole32 oleaut32 winmm user32 avicap32 msvcrt kernel32 ntdll)
|
||||
add_pch(devenum devenum_private.h)
|
||||
add_dependencies(devenum dxsdk)
|
||||
add_cd_file(TARGET devenum DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -23,10 +23,7 @@ list(APPEND SOURCE
|
|||
qualityforward.cpp
|
||||
${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
|
||||
|
||||
add_library(ksproxy SHARED
|
||||
${SOURCE}
|
||||
ksproxy.rc)
|
||||
|
||||
add_library(ksproxy SHARED ${SOURCE} ksproxy.rc)
|
||||
set_module_type(ksproxy win32dll)
|
||||
set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
|
||||
|
||||
|
@ -39,15 +36,6 @@ else()
|
|||
endif()
|
||||
|
||||
target_link_libraries(ksproxy strmiids)
|
||||
|
||||
add_importlibs(ksproxy
|
||||
advapi32
|
||||
ole32
|
||||
setupapi
|
||||
ksuser
|
||||
msvcrt
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
add_importlibs(ksproxy advapi32 ole32 setupapi ksuser msvcrt kernel32 ntdll)
|
||||
add_dependencies(ksproxy dxsdk)
|
||||
add_cd_file(TARGET ksproxy DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
|
|
@ -43,34 +43,11 @@ list(APPEND SOURCE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
|
||||
${CMAKE_CURRENT_BINARY_DIR}/quartz.def)
|
||||
|
||||
add_library(quartz SHARED
|
||||
${SOURCE}
|
||||
version.rc)
|
||||
|
||||
add_library(quartz SHARED ${SOURCE} version.rc)
|
||||
set_module_type(quartz win32dll)
|
||||
|
||||
target_link_libraries(quartz
|
||||
strmiids
|
||||
uuid
|
||||
wine
|
||||
${PSEH_LIB})
|
||||
|
||||
add_importlibs(quartz
|
||||
msvcrt
|
||||
advapi32
|
||||
dsound
|
||||
ole32
|
||||
oleaut32
|
||||
shlwapi
|
||||
user32
|
||||
gdi32
|
||||
advapi32
|
||||
msvfw32
|
||||
msacm32
|
||||
rpcrt4
|
||||
kernel32
|
||||
ntdll)
|
||||
|
||||
target_link_libraries(quartz strmiids uuid wine ${PSEH_LIB})
|
||||
add_importlibs(quartz dsound ole32 oleaut32 shlwapi user32 gdi32 advapi32 msvfw32 msacm32 rpcrt4 msvcrt kernel32 ntdll)
|
||||
add_dependencies(quartz dxsdk)
|
||||
add_pch(quartz quartz_private.h)
|
||||
add_cd_file(TARGET quartz DESTINATION reactos/system32 FOR all)
|
||||
|
||||
|
|
|
@ -14,4 +14,5 @@ add_library(mciqtz32 SHARED ${SOURCE})
|
|||
set_module_type(mciqtz32 win32dll)
|
||||
target_link_libraries(mciqtz32 wine strmiids)
|
||||
add_importlibs(mciqtz32 winmm oleaut32 ole32 user32 gdi32 msvcrt kernel32 ntdll)
|
||||
add_dependencies(mciqtz32 dxsdk)
|
||||
add_cd_file(TARGET mciqtz32 DESTINATION reactos/system32 FOR all)
|
||||
|
|
|
@ -6,7 +6,7 @@ list(APPEND HAL_ACPI_SOURCE
|
|||
legacy/bus/pcibus.c)
|
||||
|
||||
add_object_library(lib_hal_acpi ${HAL_ACPI_SOURCE})
|
||||
|
||||
add_dependencies(lib_hal_acpi bugcodes)
|
||||
#add_pch(lib_hal_acpi include/hal.h)
|
||||
|
||||
if(MSVC OR (NOT CMAKE_VERSION VERSION_GREATER 2.8.7))
|
||||
|
|
|
@ -12,7 +12,7 @@ list(APPEND HAL_LEGACY_SOURCE
|
|||
legacy/halpcat.c)
|
||||
|
||||
add_object_library(lib_hal_legacy ${HAL_LEGACY_SOURCE})
|
||||
|
||||
add_dependencies(lib_hal_legacy bugcodes)
|
||||
#add_pch(lib_hal_legacy include/hal.h)
|
||||
|
||||
if(MSVC OR (NOT CMAKE_VERSION VERSION_GREATER 2.8.7))
|
||||
|
|
|
@ -4,3 +4,4 @@ list(APPEND HAL_UP_SOURCE
|
|||
up/processor.c)
|
||||
|
||||
add_object_library(lib_hal_up ${HAL_UP_SOURCE})
|
||||
add_dependencies(lib_hal_up bugcodes)
|
||||
|
|
Loading…
Reference in a new issue