reactos/dll/win32/aclui/CMakeLists.txt
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
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.
2019-04-06 17:43:38 +02:00

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)