reactos/dll/shellext/deskadp/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

29 lines
506 B
CMake

set_unicode()
spec2def(deskadp.dll deskadp.spec)
list(APPEND SOURCE
deskadp.c
shxiface.c
deskadp.rc
${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
add_library(deskadp SHARED ${CMAKE_CURRENT_BINARY_DIR}/deskadp_precomp.h.gch ${SOURCE})
set_module_type(deskadp win32dll)
target_link_libraries(deskadp uuid)
add_importlibs(deskadp
user32
gdi32
comctl32
ole32
kernel32
ntdll)
add_pch(deskadp ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(deskadp 1)