reactos/dll/win32/msv1_0/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

17 lines
495 B
CMake

spec2def(msv1_0.dll msv1_0.spec)
list(APPEND SOURCE
msv1_0.c
msv1_0.rc
${CMAKE_CURRENT_BINARY_DIR}/msv1_0_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/msv1_0.def)
add_library(msv1_0 MODULE ${SOURCE})
set_module_type(msv1_0 win32dll UNICODE ENTRYPOINT 0)
target_link_libraries(msv1_0 wine ${PSEH_LIB})
add_delay_importlibs(msv1_0 samsrv lsasrv)
add_importlibs(msv1_0 advapi32 kernel32 ntdll)
add_dependencies(msv1_0 psdk)
add_cd_file(TARGET msv1_0 DESTINATION reactos/system32 FOR all)