[CMAKE]
[reactos.git] / dll / win32 / aclui / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-DSUPPORT_UXTHEME)
5
6 list(APPEND SOURCE
7 aclui.c
8 checklist.c
9 guid.c
10 misc.c
11 sidcache.c
12 aclui.rc)
13
14 spec2def(aclui ${CMAKE_CURRENT_SOURCE_DIR}/aclui.spec ${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
15
16 add_library(aclui SHARED
17 ${CMAKE_CURRENT_BINARY_DIR}/aclui_precomp.h.gch
18 ${SOURCE})
19
20 set_module_type(aclui win32dll)
21
22 target_link_libraries(aclui ${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
23 add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme kernel32 ntdll)
24
25 add_pch(aclui ${CMAKE_CURRENT_SOURCE_DIR}/precomp.h ${SOURCE})
26 add_dependencies(aclui aclui_def)
27 add_livecd_target(aclui reactos/system32)