reactos/dll/directx/devenum/CMakeLists.txt
Jérôme Gardou 4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00

38 lines
622 B
CMake

set_unicode()
remove_definitions(-D_WIN32_WINNT=0x502)
add_definitions(-D_WIN32_WINNT=0x600)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(devenum.dll devenum.spec)
add_library(devenum SHARED
createdevenum.c
devenum_main.c
factory.c
mediacatenum.c
parsedisplayname.c
devenum.rc
${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
set_module_type(devenum win32dll)
target_link_libraries(devenum
strmiids
uuid
wine)
add_importlibs(devenum
advapi32
ole32
oleaut32
winmm
user32
avicap32
kernel32
ntdll)
add_cab_target(devenum 1)