reactos/dll/win32/mciwave/CMakeLists.txt
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

26 lines
545 B
CMake

add_definitions(
-D__WINESRC__
-D_WINE)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(mciwave.dll mciwave.spec)
list(APPEND SOURCE
mciwave.c
${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
add_library(mciwave SHARED ${SOURCE})
set_module_type(mciwave win32dll)
target_link_libraries(mciwave wine)
add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
add_dependencies(mciwave psdk)
add_cd_file(TARGET mciwave DESTINATION reactos/system32 FOR all)
if(NOT MSVC)
allow_warnings(mciwave)
endif()