mirror of
https://github.com/reactos/reactos.git
synced 2024-12-18 16:43:27 +08:00
23373acbb9
There is no need to compile our DLLs as shared libraries since we are managing symbols exports and imports through spec files. On my system, this reduces the configure-time by a factor of two.
22 lines
497 B
CMake
22 lines
497 B
CMake
|
|
spec2def(aclui.dll aclui.spec)
|
|
add_definitions(-DSUPPORT_UXTHEME)
|
|
|
|
list(APPEND SOURCE
|
|
aclui.c
|
|
checklist.c
|
|
misc.c
|
|
sidcache.c
|
|
precomp.h)
|
|
|
|
add_library(aclui MODULE
|
|
${SOURCE}
|
|
guid.c
|
|
aclui.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/aclui.def)
|
|
|
|
set_module_type(aclui win32dll UNICODE)
|
|
add_importlibs(aclui user32 gdi32 comctl32 ole32 oleaut32 advapi32 uxtheme msvcrt kernel32 ntdll)
|
|
add_pch(aclui precomp.h SOURCE)
|
|
add_cd_file(TARGET aclui DESTINATION reactos/system32 FOR all)
|