reactos/dll/win32/aclui/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
532 B
CMake

set_unicode()
add_definitions(-DSUPPORT_UXTHEME)
list(APPEND SOURCE
aclui.c
checklist.c
guid.c
misc.c
sidcache.c
aclui.rc
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
spec2def(aclui.dll aclui.spec)
add_library(aclui SHARED
${CMAKE_CURRENT_BINARY_DIR}/aclui_precomp.h.gch
${SOURCE})
set_module_type(aclui win32dll)
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme kernel32 ntdll)
add_pch(aclui ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
add_cab_target(aclui 1)