reactos/dll/win32/aclui/CMakeLists.txt
Timo Kreuzer 390cf6bc5f [CMAKE]
Add a new macro set_export_spec(), that replaces the use of spec2def + adding the generated def file to the sources
Remove EXTERNAL_OBJECT TRUE property for the generated def files.

svn path=/branches/cmake-bringup/; revision=49629
2010-11-19 14:21:18 +00:00

29 lines
563 B
CMake

set_unicode()
add_definitions(-DSUPPORT_UXTHEME)
list(APPEND SOURCE
aclui.c
checklist.c
guid.c
misc.c
sidcache.c
aclui.rc)
add_library(aclui SHARED
${CMAKE_CURRENT_BINARY_DIR}/aclui_precomp.h.gch
${SOURCE})
set_module_type(aclui win32dll)
set_export_spec(aclui aclui.spec aclui.dll)
add_importlib_target(${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
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)