Author: akhaldi
Date: Fri Dec 17 13:54:13 2010
New Revision: 50051
URL:
http://svn.reactos.org/svn/reactos?rev=50051&view=rev
Log:
[CMAKE]
- Improve mciwave.
Modified:
branches/cmake-bringup/dll/win32/mciwave/CMakeLists.txt
Modified: branches/cmake-bringup/dll/win32/mciwave/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/dll/win32/mciwave…
==============================================================================
--- branches/cmake-bringup/dll/win32/mciwave/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/dll/win32/mciwave/CMakeLists.txt [iso-8859-1] Fri Dec 17
13:54:13 2010
@@ -8,16 +8,14 @@
spec2def(mciwave.dll mciwave.spec)
-add_library(mciwave SHARED mciwave.c mciwave.def)
-
-if(NOT MSVC)
- set_source_files_properties(mciwave.def PROPERTIES EXTERNAL_OBJECT TRUE)
-endif()
+add_library(mciwave SHARED
+ mciwave.c
+ ${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
set_entrypoint(mciwave 0)
target_link_libraries(mciwave wine)
+add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
-add_importlibs(mciwave winmm user32 msvcrt kernel32 ntdll)
add_dependencies(mciwave psdk buildno_header)
add_cab_target(mciwave 1)