mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
29 lines
682 B
CMake
29 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)
|