mirror of
https://github.com/reactos/reactos.git
synced 2024-08-18 01:18:56 +00:00
![Jérôme Gardou](/assets/img/avatar_default.png)
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)
|