mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 16:48:16 +00: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.
21 lines
497 B
CMake
21 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)
|