mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 07:08:19 +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.
19 lines
463 B
CMake
19 lines
463 B
CMake
|
|
spec2def(cryptext.dll cryptext.spec)
|
|
|
|
list(APPEND SOURCE
|
|
cryptext.c
|
|
precomp.h)
|
|
|
|
add_library(cryptext MODULE
|
|
${SOURCE}
|
|
cryptext.spec
|
|
cryptext.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/cryptext.def)
|
|
|
|
set_module_type(cryptext win32dll UNICODE)
|
|
target_link_libraries(cryptext uuid)
|
|
add_importlibs(cryptext cryptui crypt32 user32 msvcrt kernel32 ntdll)
|
|
add_pch(cryptext precomp.h SOURCE)
|
|
add_cd_file(TARGET cryptext DESTINATION reactos/system32 FOR all)
|