2011-05-16 13:12:07 +00:00
|
|
|
|
2011-06-26 21:29:55 +00:00
|
|
|
spec2def(aclui.dll aclui.spec)
|
2011-05-16 13:12:07 +00:00
|
|
|
|
|
|
|
add_definitions(-DSUPPORT_UXTHEME)
|
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
aclui.c
|
|
|
|
checklist.c
|
|
|
|
guid.c
|
|
|
|
misc.c
|
|
|
|
sidcache.c
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
|
|
|
|
2012-12-22 10:47:06 +00:00
|
|
|
add_library(aclui SHARED ${SOURCE} aclui.rc)
|
2012-03-12 12:39:51 +00:00
|
|
|
|
|
|
|
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()
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(aclui win32dll UNICODE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
|
2011-06-02 12:18:22 +00:00
|
|
|
add_pch(aclui precomp.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
|