reactos/dll/win32/aclui/CMakeLists.txt
Hermès Bélusca-Maïto 65ce146169 Create a branch for working on csrss and co.
svn path=/branches/ros-csrss/; revision=57561
2012-10-14 13:04:31 +00:00

30 lines
682 B
CMake

spec2def(aclui.dll aclui.spec)
set_rc_compiler()
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)