reactos/base/applications/regedit/clb/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

11 lines
211 B
CMake

spec2def(clb.dll clb.spec)
add_library(clb MODULE
clb.c
clb.rc
${CMAKE_CURRENT_BINARY_DIR}/clb.def)
set_module_type(clb win32dll UNICODE)
add_importlibs(clb user32 comctl32 msvcrt kernel32 ntdll)