mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +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.
22 lines
532 B
CMake
22 lines
532 B
CMake
|
|
spec2def(wlnotify.dll wlnotify.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
scard.c
|
|
schedsvc.c
|
|
senssvc.c
|
|
termserv.c
|
|
wlballoon.c
|
|
wlnotify.c
|
|
precomp.h)
|
|
|
|
add_library(wlnotify MODULE
|
|
${SOURCE}
|
|
wlnotify.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/wlnotify.def)
|
|
|
|
set_module_type(wlnotify win32dll UNICODE ENTRYPOINT DllMain 12)
|
|
target_link_libraries(wlnotify wine)
|
|
add_importlibs(wlnotify advapi32 kernel32 ntdll)
|
|
add_pch(wlnotify precomp.h SOURCE)
|
|
add_cd_file(TARGET wlnotify DESTINATION reactos/system32 FOR all)
|