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