2010-08-21 23:25:35 +00:00
|
|
|
|
2010-10-02 16:09:32 +00:00
|
|
|
set_unicode()
|
2010-09-18 15:22:08 +00:00
|
|
|
|
2010-08-21 23:25:35 +00:00
|
|
|
add_definitions(-DSUPPORT_UXTHEME)
|
|
|
|
|
2010-10-02 19:08:06 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
aclui.c
|
|
|
|
checklist.c
|
|
|
|
guid.c
|
|
|
|
misc.c
|
|
|
|
sidcache.c
|
|
|
|
aclui.rc)
|
2010-08-21 23:25:35 +00:00
|
|
|
|
|
|
|
spec2def(aclui ${CMAKE_CURRENT_SOURCE_DIR}/aclui.spec ${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
|
|
|
|
|
|
|
add_library(aclui SHARED
|
2010-10-02 19:08:06 +00:00
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/aclui_precomp.h.gch
|
|
|
|
${SOURCE})
|
|
|
|
|
|
|
|
set_module_type(aclui win32dll)
|
|
|
|
|
|
|
|
target_link_libraries(aclui ${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
|
|
|
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme kernel32 ntdll)
|
2010-08-21 23:25:35 +00:00
|
|
|
|
|
|
|
add_pch(aclui ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
|
2010-10-02 19:08:06 +00:00
|
|
|
add_dependencies(aclui aclui_def)
|