reactos/dll/shellext/netplwiz/CMakeLists.txt
Serge Gautherie e133817811 [CMAKE] Use modules instead of shared libraries
Follow-up to 23373acbb9.
2 missed cases: apisets, lunar.msstyles.
4 new cases: w32time, netplwiz, msxml3r, mizu.msstyles.
2019-10-27 09:51:28 +01:00

18 lines
476 B
CMake

spec2def(netplwiz.dll netplwiz.spec)
list(APPEND SOURCE
netplwiz.c
SHDisconnectNetDrives.c)
add_library(netplwiz MODULE
${SOURCE}
netplwiz.rc
${CMAKE_CURRENT_BINARY_DIR}/netplwiz_stubs.c
${CMAKE_CURRENT_BINARY_DIR}/netplwiz.def)
set_module_type(netplwiz win32dll UNICODE)
target_link_libraries(netplwiz wine)
add_importlibs(netplwiz comctl32 mpr ole32 user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET netplwiz DESTINATION reactos/system32 FOR all)