reactos/dll/win32/aclui/CMakeLists.txt
2013-06-16 22:01:41 +00:00

26 lines
655 B
CMake

spec2def(aclui.dll aclui.spec)
add_definitions(-DSUPPORT_UXTHEME)
list(APPEND SOURCE
aclui.c
checklist.c
guid.c
misc.c
sidcache.c
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
add_library(aclui SHARED ${SOURCE} aclui.rc)
if(NOT MSVC)
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
#allow_warnings(aclui)
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error")
endif()
set_module_type(aclui win32dll UNICODE)
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
add_pch(aclui precomp.h)
add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)