From d044fc5af3d4bec152e3dcaee8bdeaaa1e81de12 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Thu, 2 Dec 2010 19:13:47 +0000 Subject: [PATCH] [CMAKE] - Add importlib for dplayx, ksuser, wined3d - link dplay to dplayx svn path=/branches/cmake-bringup/; revision=49900 --- dll/directx/dplay/CMakeLists.txt | 9 +++++++-- dll/directx/dplayx/CMakeLists.txt | 6 +++--- dll/directx/ksuser/CMakeLists.txt | 1 + dll/directx/wine/wined3d/CMakeLists.txt | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/dll/directx/dplay/CMakeLists.txt b/dll/directx/dplay/CMakeLists.txt index 9d62624e8d4..bbe94994771 100644 --- a/dll/directx/dplay/CMakeLists.txt +++ b/dll/directx/dplay/CMakeLists.txt @@ -5,7 +5,10 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) spec2def(dplay.dll dplay.spec) -add_library(dplay SHARED dplay_main.c version.rc ${CMAKE_CURRENT_BINARY_DIR}/dplay.def) +add_library(dplay SHARED + dplay_main.c + version.rc + ${CMAKE_CURRENT_BINARY_DIR}/dplay.def) set_entrypoint(dplay 0) @@ -19,8 +22,10 @@ add_importlibs(dplay ole32 winmm dinput + dplayx ntdll) add_dependencies(dplay psdk buildno_header) -add_cab_target(dplay 1) \ No newline at end of file +add_cab_target(dplay 1) +add_importlib_target(dplay.spec libdplayx) diff --git a/dll/directx/dplayx/CMakeLists.txt b/dll/directx/dplayx/CMakeLists.txt index b551fcda48c..0e291125b75 100644 --- a/dll/directx/dplayx/CMakeLists.txt +++ b/dll/directx/dplayx/CMakeLists.txt @@ -14,7 +14,7 @@ list(APPEND SOURCE name_server.c regsvr.c version.rc - dplayx.def) + ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def) include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine) @@ -22,7 +22,6 @@ add_library(dplayx SHARED ${SOURCE}) set_module_type(dplayx win32dll) target_link_libraries(dplayx - ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def wine uuid dxguid) @@ -36,4 +35,5 @@ add_importlibs(dplayx kernel32 ntdll) -add_cab_target(dplayx 1) \ No newline at end of file +add_cab_target(dplayx 1) +add_importlib_target(dplayx.spec) diff --git a/dll/directx/ksuser/CMakeLists.txt b/dll/directx/ksuser/CMakeLists.txt index 2645e315ab3..b892fac8ddb 100644 --- a/dll/directx/ksuser/CMakeLists.txt +++ b/dll/directx/ksuser/CMakeLists.txt @@ -8,3 +8,4 @@ set_module_type(ksuser win32dll) add_importlibs(ksuser advapi32 msvcrt kernel32 ntdll) add_dependencies(ksuser psdk bugcodes) add_cab_target(ksuser 1) +add_importlib_target(ksuser.spec) diff --git a/dll/directx/wine/wined3d/CMakeLists.txt b/dll/directx/wine/wined3d/CMakeLists.txt index 023ec894662..64bb85d63f7 100644 --- a/dll/directx/wine/wined3d/CMakeLists.txt +++ b/dll/directx/wine/wined3d/CMakeLists.txt @@ -68,4 +68,4 @@ add_importlibs(wined3d add_dependencies(wined3d wineheaders) add_cab_target(wined3d 1) -add_importlib_target(wined3d.spec) \ No newline at end of file +add_importlib_target(wined3d.spec)