[CMAKE] Use modules instead of shared libraries
authorJérôme Gardou <jerome.gardou@reactos.org>
Wed, 20 Mar 2019 13:19:48 +0000 (14:19 +0100)
committerJérôme Gardou <zefklop@users.noreply.github.com>
Sat, 6 Apr 2019 15:43:38 +0000 (17:43 +0200)
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.

544 files changed:
CMakeLists.txt
base/applications/charmap_new/CMakeLists.txt
base/applications/kbswitch/kbsdll/CMakeLists.txt
base/applications/regedit/clb/CMakeLists.txt
base/services/dcomlaunch/CMakeLists.txt
base/services/dhcpcsvc/CMakeLists.txt
base/services/schedsvc/CMakeLists.txt
base/services/shsvcs/CMakeLists.txt
base/services/srvsvc/CMakeLists.txt
base/services/umpnpmgr/CMakeLists.txt
base/services/wkssvc/CMakeLists.txt
base/services/wmisvc/CMakeLists.txt
base/services/wuauserv/CMakeLists.txt
base/shell/rshell/CMakeLists.txt
dll/3rdparty/dxtn/CMakeLists.txt
dll/3rdparty/libjpeg/CMakeLists.txt
dll/3rdparty/libpng/CMakeLists.txt
dll/3rdparty/libtiff/CMakeLists.txt
dll/3rdparty/libtirpc/CMakeLists.txt
dll/3rdparty/libxslt/CMakeLists.txt
dll/3rdparty/mbedtls/CMakeLists.txt
dll/apisets/CMakeLists.txt
dll/appcompat/apphelp/CMakeLists.txt
dll/appcompat/shims/genral/CMakeLists.txt
dll/appcompat/shims/layer/CMakeLists.txt
dll/cpl/access/CMakeLists.txt
dll/cpl/appwiz/CMakeLists.txt
dll/cpl/console/CMakeLists.txt
dll/cpl/desk/CMakeLists.txt
dll/cpl/hdwwiz/CMakeLists.txt
dll/cpl/hotplug/CMakeLists.txt
dll/cpl/inetcpl/CMakeLists.txt
dll/cpl/input/CMakeLists.txt
dll/cpl/intl/CMakeLists.txt
dll/cpl/joy/CMakeLists.txt
dll/cpl/liccpa/CMakeLists.txt
dll/cpl/main/CMakeLists.txt
dll/cpl/mmsys/CMakeLists.txt
dll/cpl/ncpa/CMakeLists.txt
dll/cpl/odbccp32/CMakeLists.txt
dll/cpl/openglcfg/CMakeLists.txt
dll/cpl/powercfg/CMakeLists.txt
dll/cpl/sysdm/CMakeLists.txt
dll/cpl/telephon/CMakeLists.txt
dll/cpl/timedate/CMakeLists.txt
dll/cpl/usrmgr/CMakeLists.txt
dll/cpl/wined3dcfg/CMakeLists.txt
dll/directx/d3d8thk/CMakeLists.txt
dll/directx/ddraw/CMakeLists.txt
dll/directx/ksproxy/CMakeLists.txt
dll/directx/ksuser/CMakeLists.txt
dll/directx/wine/amstream/CMakeLists.txt
dll/directx/wine/d3d8/CMakeLists.txt
dll/directx/wine/d3d9/CMakeLists.txt
dll/directx/wine/d3dcompiler_43/CMakeLists.txt
dll/directx/wine/d3drm/CMakeLists.txt
dll/directx/wine/d3dx9_24/CMakeLists.txt
dll/directx/wine/d3dx9_25/CMakeLists.txt
dll/directx/wine/d3dx9_26/CMakeLists.txt
dll/directx/wine/d3dx9_27/CMakeLists.txt
dll/directx/wine/d3dx9_28/CMakeLists.txt
dll/directx/wine/d3dx9_29/CMakeLists.txt
dll/directx/wine/d3dx9_30/CMakeLists.txt
dll/directx/wine/d3dx9_31/CMakeLists.txt
dll/directx/wine/d3dx9_32/CMakeLists.txt
dll/directx/wine/d3dx9_33/CMakeLists.txt
dll/directx/wine/d3dx9_34/CMakeLists.txt
dll/directx/wine/d3dx9_35/CMakeLists.txt
dll/directx/wine/d3dx9_36/CMakeLists.txt
dll/directx/wine/d3dx9_37/CMakeLists.txt
dll/directx/wine/d3dx9_38/CMakeLists.txt
dll/directx/wine/d3dx9_39/CMakeLists.txt
dll/directx/wine/d3dx9_40/CMakeLists.txt
dll/directx/wine/d3dx9_41/CMakeLists.txt
dll/directx/wine/d3dx9_42/CMakeLists.txt
dll/directx/wine/d3dx9_43/CMakeLists.txt
dll/directx/wine/d3dxof/CMakeLists.txt
dll/directx/wine/ddraw/CMakeLists.txt
dll/directx/wine/devenum/CMakeLists.txt
dll/directx/wine/dinput/CMakeLists.txt
dll/directx/wine/dinput8/CMakeLists.txt
dll/directx/wine/dmusic/CMakeLists.txt
dll/directx/wine/dplay/CMakeLists.txt
dll/directx/wine/dplayx/CMakeLists.txt
dll/directx/wine/dsound/CMakeLists.txt
dll/directx/wine/dxdiagn/CMakeLists.txt
dll/directx/wine/msdmo/CMakeLists.txt
dll/directx/wine/qedit/CMakeLists.txt
dll/directx/wine/quartz/CMakeLists.txt
dll/directx/wine/wined3d/CMakeLists.txt
dll/keyboard/CMakeLists.txt
dll/nls/idndl/CMakeLists.txt
dll/nls/normaliz/CMakeLists.txt
dll/np/nfs/CMakeLists.txt
dll/ntdll/CMakeLists.txt
dll/opengl/glu32/CMakeLists.txt
dll/opengl/opengl32/CMakeLists.txt
dll/shellext/acppage/CMakeLists.txt
dll/shellext/cryptext/CMakeLists.txt
dll/shellext/deskadp/CMakeLists.txt
dll/shellext/deskmon/CMakeLists.txt
dll/shellext/devcpux/CMakeLists.txt
dll/shellext/fontext/CMakeLists.txt
dll/shellext/netshell/CMakeLists.txt
dll/shellext/ntobjshex/CMakeLists.txt
dll/shellext/shellbtrfs/CMakeLists.txt
dll/shellext/stobject/CMakeLists.txt
dll/shellext/zipfldr/CMakeLists.txt
dll/win32/acledit/CMakeLists.txt
dll/win32/aclui/CMakeLists.txt
dll/win32/activeds/CMakeLists.txt
dll/win32/actxprxy/CMakeLists.txt
dll/win32/advapi32/CMakeLists.txt
dll/win32/advapi32_vista/CMakeLists.txt
dll/win32/advpack/CMakeLists.txt
dll/win32/atl/CMakeLists.txt
dll/win32/atl100/CMakeLists.txt
dll/win32/atl80/CMakeLists.txt
dll/win32/authz/CMakeLists.txt
dll/win32/avicap32/CMakeLists.txt
dll/win32/avifil32/CMakeLists.txt
dll/win32/batt/CMakeLists.txt
dll/win32/bcrypt/CMakeLists.txt
dll/win32/beepmidi/CMakeLists.txt
dll/win32/browseui/CMakeLists.txt
dll/win32/bthci/CMakeLists.txt
dll/win32/cabinet/CMakeLists.txt
dll/win32/cards/CMakeLists.txt
dll/win32/cfgmgr32/CMakeLists.txt
dll/win32/clusapi/CMakeLists.txt
dll/win32/comcat/CMakeLists.txt
dll/win32/comctl32/CMakeLists.txt
dll/win32/comdlg32/CMakeLists.txt
dll/win32/compstui/CMakeLists.txt
dll/win32/credui/CMakeLists.txt
dll/win32/crtdll/CMakeLists.txt
dll/win32/crypt32/CMakeLists.txt
dll/win32/cryptdlg/CMakeLists.txt
dll/win32/cryptdll/CMakeLists.txt
dll/win32/cryptnet/CMakeLists.txt
dll/win32/cryptui/CMakeLists.txt
dll/win32/dbghelp/CMakeLists.txt
dll/win32/dciman32/CMakeLists.txt
dll/win32/devmgr/CMakeLists.txt
dll/win32/dnsapi/CMakeLists.txt
dll/win32/esent/CMakeLists.txt
dll/win32/faultrep/CMakeLists.txt
dll/win32/fltlib/CMakeLists.txt
dll/win32/fmifs/CMakeLists.txt
dll/win32/fontsub/CMakeLists.txt
dll/win32/framedyn/CMakeLists.txt
dll/win32/fusion/CMakeLists.txt
dll/win32/fusion/fusion_1_1/CMakeLists.txt
dll/win32/fusion/fusion_2_0/CMakeLists.txt
dll/win32/gdiplus/CMakeLists.txt
dll/win32/getuname/CMakeLists.txt
dll/win32/hhctrl.ocx/CMakeLists.txt
dll/win32/hid/CMakeLists.txt
dll/win32/hlink/CMakeLists.txt
dll/win32/hnetcfg/CMakeLists.txt
dll/win32/httpapi/CMakeLists.txt
dll/win32/iccvid/CMakeLists.txt
dll/win32/icmp/CMakeLists.txt
dll/win32/ieframe/CMakeLists.txt
dll/win32/iernonce/CMakeLists.txt
dll/win32/imaadp32.acm/CMakeLists.txt
dll/win32/imagehlp/CMakeLists.txt
dll/win32/imm32/CMakeLists.txt
dll/win32/inetcomm/CMakeLists.txt
dll/win32/inetmib1/CMakeLists.txt
dll/win32/initpki/CMakeLists.txt
dll/win32/inseng/CMakeLists.txt
dll/win32/iologmsg/CMakeLists.txt
dll/win32/iphlpapi/CMakeLists.txt
dll/win32/itircl/CMakeLists.txt
dll/win32/itss/CMakeLists.txt
dll/win32/jscript/CMakeLists.txt
dll/win32/jsproxy/CMakeLists.txt
dll/win32/kernel32/CMakeLists.txt
dll/win32/kernel32_vista/CMakeLists.txt
dll/win32/loadperf/CMakeLists.txt
dll/win32/lpk/CMakeLists.txt
dll/win32/lsasrv/CMakeLists.txt
dll/win32/lz32/CMakeLists.txt
dll/win32/mapi32/CMakeLists.txt
dll/win32/mciavi32/CMakeLists.txt
dll/win32/mcicda/CMakeLists.txt
dll/win32/mciqtz32/CMakeLists.txt
dll/win32/mciseq/CMakeLists.txt
dll/win32/mciwave/CMakeLists.txt
dll/win32/mgmtapi/CMakeLists.txt
dll/win32/mlang/CMakeLists.txt
dll/win32/mmdevapi/CMakeLists.txt
dll/win32/mmdrv/CMakeLists.txt
dll/win32/modemui/CMakeLists.txt
dll/win32/mpr/CMakeLists.txt
dll/win32/mprapi/CMakeLists.txt
dll/win32/msacm32.drv/CMakeLists.txt
dll/win32/msacm32/CMakeLists.txt
dll/win32/msadp32.acm/CMakeLists.txt
dll/win32/msafd/CMakeLists.txt
dll/win32/mscat32/CMakeLists.txt
dll/win32/mscms/CMakeLists.txt
dll/win32/mscoree/CMakeLists.txt
dll/win32/msctf/CMakeLists.txt
dll/win32/msftedit/CMakeLists.txt
dll/win32/msg711.acm/CMakeLists.txt
dll/win32/msgina/CMakeLists.txt
dll/win32/msgsm32.acm/CMakeLists.txt
dll/win32/mshtml.tlb/CMakeLists.txt
dll/win32/mshtml/CMakeLists.txt
dll/win32/msi/CMakeLists.txt
dll/win32/msimg32/CMakeLists.txt
dll/win32/msimtf/CMakeLists.txt
dll/win32/msisip/CMakeLists.txt
dll/win32/msisys.ocx/CMakeLists.txt
dll/win32/msnet32/CMakeLists.txt
dll/win32/mspatcha/CMakeLists.txt
dll/win32/msports/CMakeLists.txt
dll/win32/msrle32/CMakeLists.txt
dll/win32/mssign32/CMakeLists.txt
dll/win32/mssip32/CMakeLists.txt
dll/win32/mstask/CMakeLists.txt
dll/win32/msv1_0/CMakeLists.txt
dll/win32/msvcrt/CMakeLists.txt
dll/win32/msvcrt20/CMakeLists.txt
dll/win32/msvcrt40/CMakeLists.txt
dll/win32/msvfw32/CMakeLists.txt
dll/win32/msvidc32/CMakeLists.txt
dll/win32/mswsock/CMakeLists.txt
dll/win32/msxml/CMakeLists.txt
dll/win32/msxml2/CMakeLists.txt
dll/win32/msxml3/CMakeLists.txt
dll/win32/msxml4/CMakeLists.txt
dll/win32/msxml6/CMakeLists.txt
dll/win32/mycomput/CMakeLists.txt
dll/win32/nddeapi/CMakeLists.txt
dll/win32/netapi32/CMakeLists.txt
dll/win32/netcfgx/CMakeLists.txt
dll/win32/netevent/CMakeLists.txt
dll/win32/netid/CMakeLists.txt
dll/win32/netmsg/CMakeLists.txt
dll/win32/newdev/CMakeLists.txt
dll/win32/npptools/CMakeLists.txt
dll/win32/ntdll_vista/CMakeLists.txt
dll/win32/ntdsapi/CMakeLists.txt
dll/win32/ntlanman/CMakeLists.txt
dll/win32/ntmarta/CMakeLists.txt
dll/win32/objsel/CMakeLists.txt
dll/win32/odbc32/CMakeLists.txt
dll/win32/odbccp32/CMakeLists.txt
dll/win32/ole32/CMakeLists.txt
dll/win32/oleacc/CMakeLists.txt
dll/win32/oleaut32/CMakeLists.txt
dll/win32/olecli32/CMakeLists.txt
dll/win32/oledlg/CMakeLists.txt
dll/win32/olepro32/CMakeLists.txt
dll/win32/olesvr32/CMakeLists.txt
dll/win32/olethk32/CMakeLists.txt
dll/win32/pdh/CMakeLists.txt
dll/win32/pidgen/CMakeLists.txt
dll/win32/powrprof/CMakeLists.txt
dll/win32/printui/CMakeLists.txt
dll/win32/propsys/CMakeLists.txt
dll/win32/psapi/CMakeLists.txt
dll/win32/pstorec/CMakeLists.txt
dll/win32/qmgr/CMakeLists.txt
dll/win32/qmgrprxy/CMakeLists.txt
dll/win32/query/CMakeLists.txt
dll/win32/rasadhlp/CMakeLists.txt
dll/win32/rasapi32/CMakeLists.txt
dll/win32/rasdlg/CMakeLists.txt
dll/win32/rasman/CMakeLists.txt
dll/win32/resutils/CMakeLists.txt
dll/win32/riched20/CMakeLists.txt
dll/win32/riched32/CMakeLists.txt
dll/win32/rpcrt4/CMakeLists.txt
dll/win32/rsabase/CMakeLists.txt
dll/win32/rsaenh/CMakeLists.txt
dll/win32/samlib/CMakeLists.txt
dll/win32/samsrv/CMakeLists.txt
dll/win32/sccbase/CMakeLists.txt
dll/win32/schannel/CMakeLists.txt
dll/win32/scrrun/CMakeLists.txt
dll/win32/secur32/CMakeLists.txt
dll/win32/security/CMakeLists.txt
dll/win32/sensapi/CMakeLists.txt
dll/win32/serialui/CMakeLists.txt
dll/win32/setupapi/CMakeLists.txt
dll/win32/sfc/CMakeLists.txt
dll/win32/sfc_os/CMakeLists.txt
dll/win32/shdoclc/CMakeLists.txt
dll/win32/shdocvw/CMakeLists.txt
dll/win32/shell32/CMakeLists.txt
dll/win32/shfolder/CMakeLists.txt
dll/win32/shimgvw/CMakeLists.txt
dll/win32/shlwapi/CMakeLists.txt
dll/win32/slbcsp/CMakeLists.txt
dll/win32/smdll/CMakeLists.txt
dll/win32/sndblst/CMakeLists.txt
dll/win32/snmpapi/CMakeLists.txt
dll/win32/softpub/CMakeLists.txt
dll/win32/srclient/CMakeLists.txt
dll/win32/stdole2.tlb/CMakeLists.txt
dll/win32/stdole32.tlb/CMakeLists.txt
dll/win32/sti/CMakeLists.txt
dll/win32/streamci/CMakeLists.txt
dll/win32/sxs/CMakeLists.txt
dll/win32/syssetup/CMakeLists.txt
dll/win32/t2embed/CMakeLists.txt
dll/win32/tapi32/CMakeLists.txt
dll/win32/tapiui/CMakeLists.txt
dll/win32/themeui/CMakeLists.txt
dll/win32/traffic/CMakeLists.txt
dll/win32/twain_32/CMakeLists.txt
dll/win32/ubtrfs/CMakeLists.txt
dll/win32/ucdfs/CMakeLists.txt
dll/win32/uext2/CMakeLists.txt
dll/win32/ufat/CMakeLists.txt
dll/win32/ufatx/CMakeLists.txt
dll/win32/uffs/CMakeLists.txt
dll/win32/untfs/CMakeLists.txt
dll/win32/updspapi/CMakeLists.txt
dll/win32/ureiserfs/CMakeLists.txt
dll/win32/url/CMakeLists.txt
dll/win32/urlmon/CMakeLists.txt
dll/win32/userenv/CMakeLists.txt
dll/win32/usp10/CMakeLists.txt
dll/win32/uxtheme/CMakeLists.txt
dll/win32/vbscript/CMakeLists.txt
dll/win32/verifier/CMakeLists.txt
dll/win32/version/CMakeLists.txt
dll/win32/vssapi/CMakeLists.txt
dll/win32/wbemdisp/CMakeLists.txt
dll/win32/wbemprox/CMakeLists.txt
dll/win32/wdmaud.drv/CMakeLists.txt
dll/win32/windowscodecs/CMakeLists.txt
dll/win32/windowscodecsext/CMakeLists.txt
dll/win32/winemp3.acm/CMakeLists.txt
dll/win32/winfax/CMakeLists.txt
dll/win32/wing32/CMakeLists.txt
dll/win32/winhttp/CMakeLists.txt
dll/win32/wininet/CMakeLists.txt
dll/win32/winmm/CMakeLists.txt
dll/win32/winmm/midimap/CMakeLists.txt
dll/win32/winscard/CMakeLists.txt
dll/win32/winsta/CMakeLists.txt
dll/win32/wintrust/CMakeLists.txt
dll/win32/wlanapi/CMakeLists.txt
dll/win32/wldap32/CMakeLists.txt
dll/win32/wlnotify/CMakeLists.txt
dll/win32/wmi/CMakeLists.txt
dll/win32/wmiutils/CMakeLists.txt
dll/win32/wmvcore/CMakeLists.txt
dll/win32/ws2_32/CMakeLists.txt
dll/win32/ws2help/CMakeLists.txt
dll/win32/wshirda/CMakeLists.txt
dll/win32/wshom.ocx/CMakeLists.txt
dll/win32/wshtcpip/CMakeLists.txt
dll/win32/wsock32/CMakeLists.txt
dll/win32/wtsapi32/CMakeLists.txt
dll/win32/wuapi/CMakeLists.txt
dll/win32/xinput1_1/CMakeLists.txt
dll/win32/xinput1_2/CMakeLists.txt
dll/win32/xinput1_3/CMakeLists.txt
dll/win32/xinput9_1_0/CMakeLists.txt
dll/win32/xmllite/CMakeLists.txt
dll/win32/xolehlp/CMakeLists.txt
drivers/base/beep/CMakeLists.txt
drivers/base/bootvid/CMakeLists.txt
drivers/base/condrv/CMakeLists.txt
drivers/base/kdcom/CMakeLists.txt
drivers/base/kdgdb/CMakeLists.txt
drivers/base/kdrosdbg/CMakeLists.txt
drivers/base/kdvm/CMakeLists.txt
drivers/base/nmidebug/CMakeLists.txt
drivers/base/null/CMakeLists.txt
drivers/battery/battc/CMakeLists.txt
drivers/bluetooth/fbtusb/CMakeLists.txt
drivers/bus/acpi/CMakeLists.txt
drivers/bus/acpi/cmbatt/CMakeLists.txt
drivers/bus/acpi/compbatt/CMakeLists.txt
drivers/bus/isapnp/CMakeLists.txt
drivers/bus/pci/CMakeLists.txt
drivers/bus/pcix/CMakeLists.txt
drivers/bus/pcmcia/CMakeLists.txt
drivers/crypto/ksecdd/CMakeLists.txt
drivers/filesystems/btrfs/CMakeLists.txt
drivers/filesystems/cdfs/CMakeLists.txt
drivers/filesystems/ext2/CMakeLists.txt
drivers/filesystems/fastfat/CMakeLists.txt
drivers/filesystems/fastfat_new/CMakeLists.txt
drivers/filesystems/ffs/CMakeLists.txt
drivers/filesystems/fs_rec/CMakeLists.txt
drivers/filesystems/msfs/CMakeLists.txt
drivers/filesystems/mup/CMakeLists.txt
drivers/filesystems/nfs/CMakeLists.txt
drivers/filesystems/npfs/CMakeLists.txt
drivers/filesystems/ntfs/CMakeLists.txt
drivers/filesystems/reiserfs/CMakeLists.txt
drivers/filesystems/udfs/CMakeLists.txt
drivers/filters/fltmgr/CMakeLists.txt
drivers/filters/mountmgr/CMakeLists.txt
drivers/hid/hidclass/CMakeLists.txt
drivers/hid/hidparse/CMakeLists.txt
drivers/hid/hidusb/CMakeLists.txt
drivers/hid/kbdhid/CMakeLists.txt
drivers/hid/mouhid/CMakeLists.txt
drivers/input/i8042prt/CMakeLists.txt
drivers/input/kbdclass/CMakeLists.txt
drivers/input/mouclass/CMakeLists.txt
drivers/input/sermouse/CMakeLists.txt
drivers/ksfilter/ks/CMakeLists.txt
drivers/ksfilter/swenum/CMakeLists.txt
drivers/multimedia/bdasup/CMakeLists.txt
drivers/network/afd/CMakeLists.txt
drivers/network/dd/e1000/CMakeLists.txt
drivers/network/dd/ne2000/CMakeLists.txt
drivers/network/dd/pcnet/CMakeLists.txt
drivers/network/dd/rtl8139/CMakeLists.txt
drivers/network/ndis/CMakeLists.txt
drivers/network/ndisuio/CMakeLists.txt
drivers/network/tcpip/CMakeLists.txt
drivers/network/tdi/CMakeLists.txt
drivers/parallel/parallel/CMakeLists.txt
drivers/parallel/parport/CMakeLists.txt
drivers/processor/processr/CMakeLists.txt
drivers/sac/driver/CMakeLists.txt
drivers/serial/serenum/CMakeLists.txt
drivers/serial/serial/CMakeLists.txt
drivers/setup/blue/CMakeLists.txt
drivers/storage/class/cdrom/CMakeLists.txt
drivers/storage/class/cdrom_new/CMakeLists.txt
drivers/storage/class/class2/CMakeLists.txt
drivers/storage/class/disk/CMakeLists.txt
drivers/storage/class/disk_new/CMakeLists.txt
drivers/storage/class/ramdisk/CMakeLists.txt
drivers/storage/classpnp/CMakeLists.txt
drivers/storage/fdc/fdc/CMakeLists.txt
drivers/storage/floppy/CMakeLists.txt
drivers/storage/floppy_new/CMakeLists.txt
drivers/storage/ide/atapi/CMakeLists.txt
drivers/storage/ide/pciide/CMakeLists.txt
drivers/storage/ide/pciidex/CMakeLists.txt
drivers/storage/ide/uniata/CMakeLists.txt
drivers/storage/port/buslogic/CMakeLists.txt
drivers/storage/port/storport/CMakeLists.txt
drivers/storage/scsiport/CMakeLists.txt
drivers/storage/storahci/CMakeLists.txt
drivers/usb/usbaudio/CMakeLists.txt
drivers/usb/usbccgp/CMakeLists.txt
drivers/usb/usbd/CMakeLists.txt
drivers/usb/usbehci/CMakeLists.txt
drivers/usb/usbehci_new/CMakeLists.txt
drivers/usb/usbhub/CMakeLists.txt
drivers/usb/usbhub_new/CMakeLists.txt
drivers/usb/usbohci/CMakeLists.txt
drivers/usb/usbohci_new/CMakeLists.txt
drivers/usb/usbport/CMakeLists.txt
drivers/usb/usbstor/CMakeLists.txt
drivers/usb/usbstor_new/CMakeLists.txt
drivers/usb/usbuhci/CMakeLists.txt
drivers/usb/usbuhci_new/CMakeLists.txt
drivers/wdm/audio/backpln/portcls/CMakeLists.txt
drivers/wdm/audio/drivers/CMIDriver/CMakeLists.txt
drivers/wdm/audio/drivers/CMIDriver/cpl/CMakeLists.txt
drivers/wdm/audio/drm/drmk/CMakeLists.txt
drivers/wdm/audio/filters/kmixer/CMakeLists.txt
drivers/wdm/audio/hdaudbus/CMakeLists.txt
drivers/wdm/audio/legacy/wdmaud/CMakeLists.txt
drivers/wdm/audio/sysaudio/CMakeLists.txt
drivers/wmi/CMakeLists.txt
hal/halarm/CMakeLists.txt
hal/halx86/CMakeLists.txt
media/themes/blackshade.msstyles/CMakeLists.txt
media/themes/lautus.msstyles/CMakeLists.txt
media/themes/modern.msstyles/CMakeLists.txt
modules/rosapps/applications/explorer-old/notifyhook/CMakeLists.txt
modules/rosapps/drivers/green/CMakeLists.txt
modules/rosapps/drivers/vcdrom/CMakeLists.txt
modules/rosapps/drivers/vfd/CMakeLists.txt
modules/rosapps/lib/vfdlib/CMakeLists.txt
modules/rostests/apitests/crt/msvcrt_crt_apitest.cmake
modules/rostests/apitests/kernel32/redirptest/CMakeLists.txt
modules/rostests/apitests/localspl/dll/CMakeLists.txt
modules/rostests/apitests/ntdll/load_notifications/CMakeLists.txt
modules/rostests/apitests/win32u/win32u_2k3sp2/CMakeLists.txt
modules/rostests/apitests/win32u/win32u_2ksp4/CMakeLists.txt
modules/rostests/apitests/win32u/win32u_ros/CMakeLists.txt
modules/rostests/apitests/win32u/win32u_vista/CMakeLists.txt
modules/rostests/apitests/win32u/win32u_xpsp2/CMakeLists.txt
modules/rostests/kmtests/CMakeLists.txt
modules/rostests/kmtests/example/CMakeLists.txt
modules/rostests/kmtests/fltmgr/fltmgr_create/CMakeLists.txt
modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt
modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt
modules/rostests/kmtests/hidparse/CMakeLists.txt
modules/rostests/kmtests/kernel32/CMakeLists.txt
modules/rostests/kmtests/ntos_cc/CMakeLists.txt
modules/rostests/kmtests/ntos_io/CMakeLists.txt
modules/rostests/kmtests/ntos_mm/CMakeLists.txt
modules/rostests/kmtests/ntos_po/CMakeLists.txt
modules/rostests/kmtests/tcpip/CMakeLists.txt
modules/rostests/tests/dllexport/CMakeLists.txt
modules/rostests/win32/advapi32/eventlog/CMakeLists.txt
modules/rostests/winetests/msi/CMakeLists.txt
sdk/cmake/CMakeMacros.cmake
sdk/cmake/gcc.cmake
sdk/cmake/msvc.cmake
sdk/include/asm/CMakeLists.txt
sdk/lib/3rdparty/bzip2/CMakeLists.txt
subsystems/mvdm/pifmgr/CMakeLists.txt
subsystems/mvdm/samples/testvdd/CMakeLists.txt
subsystems/mvdm/vdmdbg/CMakeLists.txt
subsystems/win/basesrv/CMakeLists.txt
subsystems/win32/csrsrv/CMakeLists.txt
toolchain-clang.cmake
toolchain-gcc.cmake
win32ss/CMakeLists.txt
win32ss/drivers/displays/framebuf/CMakeLists.txt
win32ss/drivers/displays/framebuf_new/CMakeLists.txt
win32ss/drivers/displays/vga/CMakeLists.txt
win32ss/drivers/displays/vga_new/CMakeLists.txt
win32ss/drivers/font/bmfd/CMakeLists.txt
win32ss/drivers/font/ftfd/CMakeLists.txt
win32ss/drivers/miniport/vbe/CMakeLists.txt
win32ss/drivers/miniport/vga/CMakeLists.txt
win32ss/drivers/miniport/vga_new/CMakeLists.txt
win32ss/drivers/miniport/vmx_svga/CMakeLists.txt
win32ss/drivers/miniport/xboxvmp/CMakeLists.txt
win32ss/drivers/videoprt/CMakeLists.txt
win32ss/drivers/watchdog/CMakeLists.txt
win32ss/gdi/gdi32/CMakeLists.txt
win32ss/printing/base/spoolss/CMakeLists.txt
win32ss/printing/base/winspool/CMakeLists.txt
win32ss/printing/monitors/localmon/CMakeLists.txt
win32ss/printing/monitors/localmon/ui/CMakeLists.txt
win32ss/printing/processors/winprint/CMakeLists.txt
win32ss/printing/providers/localspl/CMakeLists.txt
win32ss/reactx/dxapi/CMakeLists.txt
win32ss/reactx/dxg/CMakeLists.txt
win32ss/reactx/dxgthk/CMakeLists.txt
win32ss/user/user32/CMakeLists.txt
win32ss/user/winsrv/CMakeLists.txt

index 84b900c..3b66140 100644 (file)
@@ -30,6 +30,7 @@ include(sdk/include/reactos/version.cmake)
 set(CMAKE_INCLUDE_CURRENT_DIR ON)
 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON)
 set(CMAKE_SHARED_LIBRARY_PREFIX "")
+set(CMAKE_SHARED_MODULE_PREFIX "")
 set(CMAKE_SKIP_PREPROCESSED_SOURCE_RULES TRUE)
 set(CMAKE_SKIP_ASSEMBLY_SOURCE_RULES TRUE)
 set(CMAKE_COLOR_MAKEFILE OFF)
index 005eff5..657a5cb 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     MainWindow.cpp
        )
 
-add_library(charmap SHARED
+add_library(charmap MODULE
     ${SOURCE}
     charmap.rc)
 
index b192592..65766c8 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     kbsdll.rc
     ${CMAKE_CURRENT_BINARY_DIR}/kbsdll.def)
 
-add_library(kbsdll SHARED ${SOURCE})
+add_library(kbsdll MODULE ${SOURCE})
 set_module_type(kbsdll win32dll UNICODE)
 add_importlibs(kbsdll user32 comctl32 msvcrt kernel32)
 add_cd_file(TARGET kbsdll DESTINATION reactos/system32 FOR all)
index e42653e..ae01afc 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(clb.dll clb.spec)
 
-add_library(clb SHARED
+add_library(clb MODULE
     clb.c
     clb.rc
     ${CMAKE_CURRENT_BINARY_DIR}/clb.def)
index 6759d02..3a736d2 100644 (file)
@@ -1,6 +1,6 @@
 spec2def(dcomlaunch.dll dcomlaunch.spec ADD_IMPORTLIB)
 
-add_library(dcomlaunch SHARED
+add_library(dcomlaunch MODULE
     dcomlaunch.c
     network.c
     dcomlaunch.rc
index 517582e..e559f15 100644 (file)
@@ -19,7 +19,7 @@ list(APPEND SOURCE
     dhcpcsvc.c
     include/rosdhcp.h)
 
-add_library(dhcpcsvc SHARED
+add_library(dhcpcsvc MODULE
     ${SOURCE}
     dhcpcsvc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/dhcpcsvc_stubs.c
index aef862d..df44946 100644 (file)
@@ -3,7 +3,7 @@ include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/atsvc.idl)
 spec2def(schedsvc.dll schedsvc.spec ADD_IMPORTLIB)
 
-add_library(schedsvc SHARED
+add_library(schedsvc MODULE
     job.c
     rpcserver.c
     schedsvc.c
index 1de1b26..2c754db 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(shsvcs.dll shsvcs.spec ADD_IMPORTLIB)
 
-add_library(shsvcs SHARED
+add_library(shsvcs MODULE
     shsvcs.c
     thmsvc.c
     thmserver.c
index b72e9f9..d66f7ab 100644 (file)
@@ -3,7 +3,7 @@ include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/srvsvc.idl)
 spec2def(srvsvc.dll srvsvc.spec ADD_IMPORTLIB)
 
-add_library(srvsvc SHARED
+add_library(srvsvc MODULE
     rpcserver.c
     srvsvc.c
     srvsvc.rc
index c361e5e..4248d0e 100644 (file)
@@ -3,7 +3,7 @@ include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/pnp.idl)
 spec2def(umpnpmgr.dll umpnpmgr.spec ADD_IMPORTLIB)
 
-add_library(umpnpmgr SHARED
+add_library(umpnpmgr MODULE
     umpnpmgr.c
     umpnpmgr.rc
     ${CMAKE_CURRENT_BINARY_DIR}/pnp_s.c
index 2d2edea..d7404cd 100644 (file)
@@ -3,7 +3,7 @@ include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl)
 add_rpc_files(server ${REACTOS_SOURCE_DIR}/sdk/include/reactos/idl/wkssvc.idl)
 spec2def(wkssvc.dll wkssvc.spec ADD_IMPORTLIB)
 
-add_library(wkssvc SHARED
+add_library(wkssvc MODULE
     rpcserver.c
     wkssvc.c
     wkssvc.rc
index 3c8b8f9..27bfeb0 100644 (file)
@@ -1,6 +1,6 @@
 spec2def(wmisvc.dll wmisvc.spec ADD_IMPORTLIB)
 
-add_library(wmisvc SHARED
+add_library(wmisvc MODULE
     wmisvc.c
     wmisvc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/wmisvc.def)
index 841d836..14ffee8 100644 (file)
@@ -1,4 +1,4 @@
-add_library(wuauserv SHARED
+add_library(wuauserv MODULE
     wuauserv.c
     wuauserv.rc)
 
index 39a2b19..4297edb 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     misc.cpp
     ${CMAKE_CURRENT_BINARY_DIR}/rshell.def)
 
-add_library(rshell SHARED ${SOURCE})
+add_library(rshell MODULE ${SOURCE})
 
 set_module_type(rshell win32dll UNICODE)
 
index 6a9c643..c615500 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(dxtn.dll dxtn.spec)
 
-add_library(dxtn SHARED
+add_library(dxtn MODULE
     txc_compress_dxtn.c
     txc_fetch_dxtn.c
     ${CMAKE_CURRENT_BINARY_DIR}/dxtn.def)
index 41a142d..fefc3da 100644 (file)
@@ -59,7 +59,7 @@ list(APPEND SOURCE
     jmemnobs.c
     precomp.h)
 
-add_library(libjpeg SHARED ${SOURCE})
+add_library(libjpeg MODULE ${SOURCE})
 set_module_type(libjpeg win32dll)
 add_importlibs(libjpeg msvcrt kernel32)
 add_pch(libjpeg precomp.h SOURCE)
index cf4b0b4..2e293d3 100644 (file)
@@ -27,7 +27,7 @@ list(APPEND SOURCE
     pngwutil.c
     pngpriv.h)
 
-add_library(libpng SHARED ${SOURCE})
+add_library(libpng MODULE ${SOURCE})
 set_module_type(libpng win32dll)
 target_link_libraries(libpng zlib)
 add_importlibs(libpng msvcrt kernel32 ntdll)
index 476e2b1..10fd5e3 100644 (file)
@@ -54,7 +54,7 @@ list(APPEND SOURCE
     #tif_zstd.c
     precomp.h)
 
-add_library(libtiff SHARED ${SOURCE} libtiff.def)
+add_library(libtiff MODULE ${SOURCE} libtiff.def)
 set_module_type(libtiff win32dll)
 target_link_libraries(libtiff zlib getopt)
 add_importlibs(libtiff user32 msvcrt kernel32 ntdll)
index 46714d6..a48db75 100644 (file)
@@ -87,7 +87,7 @@ list(APPEND SOURCE
     src/xdr_stdio.c
     precomp.h)
 
-add_library(libtirpc SHARED
+add_library(libtirpc MODULE
     ${SOURCE}
 #    libtirpc/libtirpc.rc
     libtirpc/libtirpc_ros.rc
index e708913..336b1df 100644 (file)
@@ -34,7 +34,7 @@ list(APPEND SOURCE
     xsltutils.c
     precomp.h)
 
-add_library(libxslt SHARED ${SOURCE})
+add_library(libxslt MODULE ${SOURCE})
 set_module_type(libxslt win32dll)
 target_link_libraries(libxslt libxml2 iconv-static zlib)
 add_importlibs(libxslt msvcrt ws2_32 kernel32)
index 7a5210b..dcc0a7c 100644 (file)
@@ -79,7 +79,7 @@ list(APPEND SOURCE
     #xtea.c
     )
 
-add_library(mbedtls SHARED
+add_library(mbedtls MODULE
     ${SOURCE}
     mbedtls.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mbedtls.def)
index 645a2fc..778af7f 100644 (file)
@@ -17,7 +17,7 @@ function (add_apiset apiset_name baseaddress)
         -D_WCTYPE_DEFINED
         -D_CRT_ERRNO_DEFINED)
 
-    add_library(${apiset_name} SHARED
+    add_library(${apiset_name} MODULE
         ${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}_stubs.c
         ${CMAKE_CURRENT_BINARY_DIR}/${apiset_name}.def)
 
index 71cb783..2031216 100644 (file)
@@ -30,7 +30,7 @@ list(APPEND HEADERS
     sdbwrite.h
     shimeng.h)
 
-add_library(apphelp SHARED
+add_library(apphelp MODULE
     ${SOURCE}
     ${HEADERS}
     apphelp.rc
index b0e98ed..da6a55d 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     themes.c
     genral.spec)
 
-add_library(acgenral SHARED
+add_library(acgenral MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/acgenral.def)
 
index d2b70b2..74c7fb0 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     main.c
     layer.spec)
 
-add_library(aclayers SHARED
+add_library(aclayers MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/aclayers.def)
 
index 1e07328..3e606af 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
 
 add_rc_deps(access.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
 
-add_library(access SHARED
+add_library(access MODULE
     ${SOURCE}
     access.rc
     ${CMAKE_CURRENT_BINARY_DIR}/access.def)
index 1a7e4a0..5afee76 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
 file(GLOB appwiz_rc_deps resources/*.*)
 add_rc_deps(appwiz.rc ${appwiz_rc_deps})
 
-add_library(appwiz SHARED
+add_library(appwiz MODULE
     ${SOURCE}
     appwiz.rc
     ${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
index bbbb684..c62ffca 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
 
 add_rc_deps(console.rc ${CMAKE_CURRENT_SOURCE_DIR}/res/terminal.ico)
 
-add_library(console SHARED
+add_library(console MODULE
     ${SOURCE}
     console.rc
     ${CMAKE_CURRENT_BINARY_DIR}/console.def)
index ae7fb83..597679b 100644 (file)
@@ -26,7 +26,7 @@ list(APPEND SOURCE
 file(GLOB desk_rc_deps resources/*.*)
 add_rc_deps(desk.rc ${desk_rc_deps})
 
-add_library(desk SHARED
+add_library(desk MODULE
     ${SOURCE}
     guid.c
     desk.rc
index 205e462..2c6c949 100644 (file)
@@ -3,7 +3,7 @@ spec2def(hdwwiz.cpl hdwwiz.spec)
 file(GLOB hdwwiz_rc_deps resources/*.*)
 add_rc_deps(hdwwiz.rc ${hdwwiz_rc_deps})
 
-add_library(hdwwiz SHARED
+add_library(hdwwiz MODULE
     hdwwiz.c
     hdwwiz.rc
     ${CMAKE_CURRENT_BINARY_DIR}/hdwwiz.def)
index 46c8d3d..65bd523 100644 (file)
@@ -5,7 +5,7 @@ list(APPEND SOURCE
     hotplug.c
     enum.c)
 
-add_library(hotplug SHARED
+add_library(hotplug MODULE
     ${SOURCE}
     hotplug.rc
     ${CMAKE_CURRENT_BINARY_DIR}/hotplug.def)
index 28acde0..09293f3 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
 file(GLOB inetcpl_rc_deps resources/*.*)
 add_rc_deps(inetcpl.rc ${inetcpl_rc_deps})
 
-add_library(inetcpl SHARED
+add_library(inetcpl MODULE
     ${SOURCE}
     inetcpl.rc
     ${CMAKE_CURRENT_BINARY_DIR}/inetcpl_stubs.c
index b9cecb1..77363d5 100644 (file)
@@ -19,7 +19,7 @@ list(APPEND SOURCE
 
 add_rc_deps(input.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/keyboard-shortcuts.ico)
 
-add_library(input SHARED
+add_library(input MODULE
     ${SOURCE}
     input.rc
     ${CMAKE_CURRENT_BINARY_DIR}/input.def)
index d18db6f..a2b6723 100644 (file)
@@ -18,7 +18,7 @@ list(APPEND SOURCE
 
 add_rc_deps(intl.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
 
-add_library(intl SHARED
+add_library(intl MODULE
     ${SOURCE}
     intl.rc
     ${CMAKE_CURRENT_BINARY_DIR}/intl.def)
index 9e5bd91..70a345f 100644 (file)
@@ -2,7 +2,7 @@
 spec2def(joy.cpl joy.spec)
 add_rc_deps(joy.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
 
-add_library(joy SHARED
+add_library(joy MODULE
     joy.c
     joy.rc
     ${CMAKE_CURRENT_BINARY_DIR}/joy.def)
index c5871db..e4435d4 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
 file(GLOB liccpa_rc_deps resources/*.*)
 add_rc_deps(liccpa.rc ${liccpa_rc_deps})
 
-add_library(liccpa SHARED
+add_library(liccpa MODULE
     ${SOURCE}
     liccpa.rc
     ${CMAKE_CURRENT_BINARY_DIR}/liccpa.def)
index 7597123..9746795 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
 file(GLOB main_rc_deps resources/*.*)
 add_rc_deps(main.rc ${main_rc_deps})
 
-add_library(main SHARED
+add_library(main MODULE
     ${SOURCE}
     main.rc
     ${CMAKE_CURRENT_BINARY_DIR}/main.def)
index 885b406..3b2abc5 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
 file(GLOB mmsys_rc_deps resources/*.*)
 add_rc_deps(mmsys.rc ${mmsys_rc_deps})
 
-add_library(mmsys SHARED
+add_library(mmsys MODULE
     ${SOURCE}
     mmsys.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mmsys.def)
index 2d92f48..82a2b30 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(ncpa.cpl ncpa.spec)
 
-add_library(ncpa SHARED
+add_library(ncpa MODULE
     ncpa.c
     ${CMAKE_CURRENT_BINARY_DIR}/ncpa.def)
 
index 950940e..9337f1f 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(odbccp32i.cpl odbccp32.spec)
 
-add_library(odbccp32i SHARED
+add_library(odbccp32i MODULE
     odbccp32.c
     odbccp32.rc
     ${CMAKE_CURRENT_BINARY_DIR}/odbccp32i.def)
index 2018e5b..1799826 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
 
 add_rc_deps(openglcfg.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/openglcfg.ico)
 
-add_library(openglcfg SHARED
+add_library(openglcfg MODULE
     ${SOURCE}
     openglcfg.rc
     ${CMAKE_CURRENT_BINARY_DIR}/openglcfg.def)
index fadd507..9de4c55 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
 file(GLOB powercfg_rc_deps resources/*.*)
 add_rc_deps(powercfg.rc ${powercfg_rc_deps})
 
-add_library(powercfg SHARED
+add_library(powercfg MODULE
     ${SOURCE}
     powercfg.rc
     ${CMAKE_CURRENT_BINARY_DIR}/powercfg.def)
index 865d5e7..4643a45 100644 (file)
@@ -21,7 +21,7 @@ list(APPEND SOURCE
 file(GLOB sysdm_rc_deps resources/*.*)
 add_rc_deps(sysdm.rc ${sysdm_rc_deps})
 
-add_library(sysdm SHARED
+add_library(sysdm MODULE
     ${SOURCE}
     sysdm.rc
     ${CMAKE_CURRENT_BINARY_DIR}/sysdm.def)
index 222d577..6258722 100644 (file)
@@ -2,7 +2,7 @@
 spec2def(telephon.cpl telephon.spec)
 add_rc_deps(telephon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/applet.ico)
 
-add_library(telephon SHARED
+add_library(telephon MODULE
     telephon.c
     telephon.rc
     ${CMAKE_CURRENT_BINARY_DIR}/telephon.def)
index ce5907d..d1ad1db 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
 file(GLOB timedate_rc_deps resources/*.*)
 add_rc_deps(timedate.rc ${timedate_rc_deps})
 
-add_library(timedate SHARED
+add_library(timedate MODULE
     ${SOURCE}
     timedate.rc
     ${CMAKE_CURRENT_BINARY_DIR}/timedate.def)
index ff4f9f7..7d5ce65 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
 file(GLOB usrmgr_rc_deps resources/*.*)
 add_rc_deps(usrmgr.rc ${usrmgr_rc_deps})
 
-add_library(usrmgr SHARED
+add_library(usrmgr MODULE
     ${SOURCE}
     usrmgr.rc
     ${CMAKE_CURRENT_BINARY_DIR}/usrmgr.def)
index f7e5b96..9121b99 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
 
 add_rc_deps(wined3dcfg.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/wined3dcfg.ico)
 
-add_library(wined3dcfg SHARED
+add_library(wined3dcfg MODULE
     ${SOURCE}
     wined3dcfg.rc
     ${CMAKE_CURRENT_BINARY_DIR}/wined3dcfg.def)
index a17a115..a6fc668 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(d3d8thk.dll d3d8thk.spec)
 
-add_library(d3d8thk SHARED
+add_library(d3d8thk MODULE
     d3d8thk.rc
     ${CMAKE_CURRENT_BINARY_DIR}/d3d8thk.def)
 
index 73518df..e86062f 100644 (file)
@@ -39,7 +39,7 @@ list(APPEND SOURCE
     Vtable/DirectDrawSurface4_Vtable.c
     Vtable/DirectDrawSurface7_Vtable.c)
 
-add_library(ddraw SHARED ${SOURCE})
+add_library(ddraw MODULE ${SOURCE})
 set_module_type(ddraw win32dll)
 target_link_libraries(ddraw uuid dxguid ${PSEH_LIB})
 add_importlibs(ddraw advapi32 gdi32 user32 msvcrt kernel32 ntdll)
index 122623b..15d7ebc 100644 (file)
@@ -22,7 +22,7 @@ list(APPEND SOURCE
     qualityforward.cpp
     ${CMAKE_CURRENT_BINARY_DIR}/ksproxy.def)
 
-add_library(ksproxy SHARED ${SOURCE} ksproxy.rc)
+add_library(ksproxy MODULE ${SOURCE} ksproxy.rc)
 set_module_type(ksproxy win32dll)
 set_target_properties(ksproxy PROPERTIES SUFFIX ".ax")
 target_link_libraries(ksproxy strmiids)
index d113df9..f6c0c75 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(ksuser.dll ksuser.spec ADD_IMPORTLIB)
 
-add_library(ksuser SHARED
+add_library(ksuser MODULE
     ksuser.c
     ksuser.rc
     ${CMAKE_CURRENT_BINARY_DIR}/ksuser.def)
index 85ee1a4..45fd90c 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     mediastreamfilter.c
     precomp.h)
 
-add_library(amstream SHARED
+add_library(amstream MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/amstream.def)
index 09d7a6c..d3d49e2 100644 (file)
@@ -19,7 +19,7 @@ list(APPEND SOURCE
     volume.c
     precomp.h)
 
-add_library(d3d8 SHARED
+add_library(d3d8 MODULE
     ${SOURCE}
     guid.c
     version.rc
index 223606b..14dd3e6 100644 (file)
@@ -21,7 +21,7 @@ list(APPEND SOURCE
     volume.c
     precomp.h)
 
-add_library(d3d9 SHARED
+add_library(d3d9 MODULE
     ${SOURCE}
     guid.c
     version.rc
index d00c1b6..49d18b0 100644 (file)
@@ -21,7 +21,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43_stubs.c)
 
-add_library(d3dcompiler_43 SHARED
+add_library(d3dcompiler_43 MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/d3dcompiler_43.def)
index f2ff1f2..cd1eaad 100644 (file)
@@ -17,7 +17,7 @@ list(APPEND SOURCE
     viewport.c
     precomp.h)
 
-add_library(d3drm SHARED
+add_library(d3drm MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/d3drm_stubs.c
index 9381b38..44e2229 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_24.def)
 
-add_library(d3dx9_24 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_24 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_24 win32dll)
 target_link_libraries(d3dx9_24 wine)
 add_importlibs(d3dx9_24 d3dx9_30 msvcrt kernel32 ntdll)
index 24d296d..bc71d7d 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_25.def)
 
-add_library(d3dx9_25 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_25 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_25 win32dll)
 target_link_libraries(d3dx9_25 wine)
 add_importlibs(d3dx9_25 d3dx9_30 msvcrt kernel32 ntdll)
index f9264ff..3a95d89 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_26_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_26.def)
 
-add_library(d3dx9_26 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_26 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_26 win32dll)
 target_link_libraries(d3dx9_26 wine)
 add_importlibs(d3dx9_26 d3dx9_30 msvcrt kernel32 ntdll)
index a75b008..35f95fb 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_27.def)
 
-add_library(d3dx9_27 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_27 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_27 win32dll)
 target_link_libraries(d3dx9_27 wine)
 add_importlibs(d3dx9_27 d3dx9_30 msvcrt kernel32 ntdll)
index 9bd5e8e..2573902 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_28_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_28.def)
 
-add_library(d3dx9_28 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_28 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_28 win32dll)
 target_link_libraries(d3dx9_28 wine)
 add_importlibs(d3dx9_28 d3dx9_30 msvcrt kernel32 ntdll)
index 83d408f..07f454a 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_29.def)
 
-add_library(d3dx9_29 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_29 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_29 win32dll)
 target_link_libraries(d3dx9_29 wine)
 add_importlibs(d3dx9_29 d3dx9_30 msvcrt kernel32 ntdll)
index 696605f..f6613cf 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_30_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_30.def)
 
-add_library(d3dx9_30 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_30 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_30 win32dll)
 target_link_libraries(d3dx9_30 wine)
 add_importlibs(d3dx9_30 d3dx9_36 msvcrt kernel32 ntdll)
index be20ad2..d6f23b9 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_31.def)
 
-add_library(d3dx9_31 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_31 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_31 win32dll)
 target_link_libraries(d3dx9_31 wine)
 add_importlibs(d3dx9_31 d3dx9_36 msvcrt kernel32 ntdll)
index 28d1402..fae73ec 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_32.def)
 
-add_library(d3dx9_32 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_32 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_32 win32dll)
 target_link_libraries(d3dx9_32 wine)
 add_importlibs(d3dx9_32 d3dx9_36 msvcrt kernel32 ntdll)
index 9940769..c17d9a8 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_33_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_33.def)
 
-add_library(d3dx9_33 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_33 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_33 win32dll)
 target_link_libraries(d3dx9_33 wine)
 add_importlibs(d3dx9_33 d3dx9_36 msvcrt kernel32 ntdll)
index 4902df6..fbc11f5 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_34_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_34.def)
 
-add_library(d3dx9_34 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_34 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_34 win32dll)
 target_link_libraries(d3dx9_34 wine)
 add_importlibs(d3dx9_34 d3dx9_36 msvcrt kernel32 ntdll)
index 50884be..93e0ff5 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_35_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_35.def)
 
-add_library(d3dx9_35 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_35 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_35 win32dll)
 target_link_libraries(d3dx9_35 wine)
 add_importlibs(d3dx9_35 d3dx9_36 msvcrt kernel32 ntdll)
index 836ee9c..0740c46 100644 (file)
@@ -24,7 +24,7 @@ list(APPEND SOURCE
     xfile.c
     precomp.h)
 
-add_library(d3dx9_36 SHARED
+add_library(d3dx9_36 MODULE
     ${SOURCE}
     guid.c
     version.rc
index f248a5c..798c304 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_37_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_37.def)
 
-add_library(d3dx9_37 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_37 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_37 win32dll)
 target_link_libraries(d3dx9_37 wine)
 add_importlibs(d3dx9_37 d3dx9_36 msvcrt kernel32 ntdll)
index 2397cc5..556b43e 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_38_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_38.def)
 
-add_library(d3dx9_38 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_38 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_38 win32dll)
 target_link_libraries(d3dx9_38 wine)
 add_importlibs(d3dx9_38 d3dx9_36 msvcrt kernel32 ntdll)
index 58ed406..9a4e1fc 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_39_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_39.def)
 
-add_library(d3dx9_39 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_39 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_39 win32dll)
 target_link_libraries(d3dx9_39 wine)
 add_importlibs(d3dx9_39 d3dx9_36 msvcrt kernel32 ntdll)
index 97373a5..2037e9c 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_40_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_40.def)
 
-add_library(d3dx9_40 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_40 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_40 win32dll)
 target_link_libraries(d3dx9_40 wine)
 add_importlibs(d3dx9_40 d3dx9_36 msvcrt kernel32 ntdll)
index 3476a43..fdbe082 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_41_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_41.def)
 
-add_library(d3dx9_41 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_41 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_41 win32dll)
 target_link_libraries(d3dx9_41 wine)
 add_importlibs(d3dx9_41 d3dx9_36 msvcrt kernel32 ntdll)
index 436b695..d6b6dfb 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_42_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_42.def)
 
-add_library(d3dx9_42 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_42 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_42 win32dll)
 target_link_libraries(d3dx9_42 wine)
 add_importlibs(d3dx9_42 d3dx9_36 msvcrt kernel32 ntdll)
index 547285b..2361819 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     d3dx9_43_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/d3dx9_43.def)
 
-add_library(d3dx9_43 SHARED ${SOURCE} version.rc)
+add_library(d3dx9_43 MODULE ${SOURCE} version.rc)
 set_module_type(d3dx9_43 win32dll)
 add_importlibs(d3dx9_43 d3dx9_36 msvcrt kernel32)
 add_cd_file(TARGET d3dx9_43 DESTINATION reactos/system32 FOR all)
index a4fff47..21b97cd 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     parsing.c
     precomp.h)
 
-add_library(d3dxof SHARED
+add_library(d3dxof MODULE
     ${SOURCE}
     mszip.c
     version.rc
index 6141d63..03029bd 100644 (file)
@@ -29,7 +29,7 @@ if(MSVC)
     set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "/FIwine/typeof.h")
 endif()
 
-add_library(ddraw SHARED
+add_library(ddraw MODULE
     ${SOURCE}
     ddraw.rc
     ${CMAKE_CURRENT_BINARY_DIR}/ddraw.def)
index 1f5e7eb..6719217 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     parsedisplayname.c
     precomp.h)
 
-add_library(devenum SHARED
+add_library(devenum MODULE
     ${SOURCE}
     devenum.rc
     ${CMAKE_CURRENT_BINARY_DIR}/devenum.def)
index d964e74..7244903 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     mouse.c
     precomp.h)
 
-add_library(dinput SHARED
+add_library(dinput MODULE
     ${SOURCE}
     data_formats.c
     dinput.rc
index 28d1142..fb114aa 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     dinput8_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/dinput8.def)
 
-add_library(dinput8 SHARED ${SOURCE} version.rc)
+add_library(dinput8 MODULE ${SOURCE} version.rc)
 set_module_type(dinput8 win32dll)
 target_link_libraries(dinput8 dxguid uuid wine)
 add_importlibs(dinput8 ole32 msvcrt kernel32 ntdll)
index fe4c270..88abed3 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     port.c
     precomp.h)
 
-add_library(dmusic SHARED
+add_library(dmusic MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/dmusic.def)
index 2c3f394..fe71c25 100644 (file)
@@ -2,7 +2,7 @@
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(dplay.dll dplay.spec)
 
-add_library(dplay SHARED
+add_library(dplay MODULE
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/dplay_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/dplay.def)
index 867ba69..6104952 100644 (file)
@@ -18,7 +18,7 @@ list(APPEND SOURCE
     name_server.c
     precomp.h)
 
-add_library(dplayx SHARED
+add_library(dplayx MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/dplayx.def)
index 82ef465..145453b 100644 (file)
@@ -7,7 +7,7 @@ add_definitions(
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(dsound.dll dsound.spec ADD_IMPORTLIB)
 
-add_library(dsound SHARED
+add_library(dsound MODULE
     buffer.c
     capture.c
     dsound.c
index 7e16a5a..34c3b63 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     provider.c
     precomp.h)
 
-add_library(dxdiagn SHARED
+add_library(dxdiagn MODULE
     ${SOURCE}
     guid.c
     dxdiagn.rc
index 43b7a80..d8d1d34 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     dmort.c
     precomp.h)
 
-add_library(msdmo SHARED
+add_library(msdmo MODULE
     ${SOURCE}
     stubs.c
     rsrc.rc
index 7ee22ff..50cca28 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     timeline.c
     precomp.h)
 
-add_library(qedit SHARED
+add_library(qedit MODULE
     ${SOURCE}
     qedit.rc
     ${CMAKE_CURRENT_BINARY_DIR}/qedit.def)
index 8c12e38..e0996b8 100644 (file)
@@ -37,7 +37,7 @@ list(APPEND SOURCE
     waveparser.c
     precomp.h)
 
-add_library(quartz SHARED
+add_library(quartz MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
     ${CMAKE_CURRENT_BINARY_DIR}/quartz_strmif_p.c
index 235adab..29b337e 100644 (file)
@@ -41,7 +41,7 @@ list(APPEND SOURCE
     wined3d_main.c
     precomp.h)
 
-add_library(d3dwine SHARED
+add_library(d3dwine MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/d3dwine.def)
index 76edef5..406e314 100644 (file)
@@ -86,7 +86,7 @@ list(APPEND _keyboard_layouts
 foreach(_keyboard_layout ${_keyboard_layouts})
     spec2def(${_keyboard_layout}.dll ${_keyboard_layout}/${_keyboard_layout}.spec)
 
-    add_library(${_keyboard_layout} SHARED
+    add_library(${_keyboard_layout} MODULE
         ${_keyboard_layout}/${_keyboard_layout}.c
         ${_keyboard_layout}/${_keyboard_layout}.rc
         ${CMAKE_CURRENT_BINARY_DIR}/${_keyboard_layout}.def)
index 590ceec..efbd71e 100644 (file)
@@ -4,7 +4,7 @@ add_definitions(-DWINVER=0x600)
 
 spec2def(idndl.dll idndl.spec)
 
-add_library(idndl SHARED
+add_library(idndl MODULE
     idndl.cpp
     ${CMAKE_CURRENT_BINARY_DIR}/idndl.def)
 
index 95a41e5..ee51a44 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     normalize.c
     ${CMAKE_CURRENT_BINARY_DIR}/normaliz.def)
     
-add_library(normaliz SHARED ${SOURCE})
+add_library(normaliz MODULE ${SOURCE})
 set_module_type(normaliz win32dll ENTRYPOINT 0)
 add_importlibs(normaliz msvcrt kernel32 ntdll)
 add_cd_file(TARGET normaliz DESTINATION reactos/system32 FOR all)
index b3d32f3..acb8c29 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
 include_directories(
     ${REACTOS_SOURCE_DIR}/drivers/filesystems/nfs)
 
-add_library(nfs41_np SHARED
+add_library(nfs41_np MODULE
     ${SOURCE}
     nfsnp.rc
     ${CMAKE_CURRENT_BINARY_DIR}/nfs41_np.def)
index e94db5c..5ea6ca5 100644 (file)
@@ -38,7 +38,7 @@ endif()
 
 add_asm_files(ntdll_asm ${ASM_SOURCE})
 
-add_library(ntdll SHARED
+add_library(ntdll MODULE
     ${SOURCE}
     ${ntdll_asm}
     def/ntdll.rc
index df3a5bb..791cf2d 100644 (file)
@@ -110,7 +110,7 @@ list(APPEND LIBNURBS_SOURCE
     src/libnurbs/nurbtess/searchTree.cc
     precomp.h)
 
-add_library(glu32 SHARED
+add_library(glu32 MODULE
     ${LIBNURBS_SOURCE}
     src/libnurbs/nurbtess/polyDBG.cc
     ${SOURCE}
index 9e3b054..86e7800 100644 (file)
@@ -32,7 +32,7 @@ if(ARCH STREQUAL "i386")
     )
 endif()
 
-add_library(opengl32 SHARED
+add_library(opengl32 MODULE
     ${SOURCE}
     ${opengl32_asm}
     ${CMAKE_CURRENT_BINARY_DIR}/opengl32.def)
index 0f16701..9303c23 100644 (file)
@@ -22,7 +22,7 @@ list(APPEND SOURCE
     CLayerUIPropPage.cpp
     precomp.h)
 
-add_library(acppage SHARED
+add_library(acppage MODULE
     ${SOURCE}
     acppage.spec
     ACPPage.rc
index 8cd10f4..3aca737 100644 (file)
@@ -5,7 +5,7 @@ list(APPEND SOURCE
     cryptext.c
     precomp.h)
 
-add_library(cryptext SHARED
+add_library(cryptext MODULE
     ${SOURCE}
     cryptext.spec
     cryptext.rc
index 8333fa0..e0e0181 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
 
 add_rc_deps(deskadp.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/adapter.ico)
 
-add_library(deskadp SHARED
+add_library(deskadp MODULE
     ${SOURCE}
     deskadp.rc
     ${CMAKE_CURRENT_BINARY_DIR}/deskadp.def)
index 93264f1..d01e2e0 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
 
 add_rc_deps(deskmon.rc ${CMAKE_CURRENT_SOURCE_DIR}/resources/monitor.ico)
 
-add_library(deskmon SHARED
+add_library(deskmon MODULE
     ${SOURCE}
     deskmon.rc
     ${CMAKE_CURRENT_BINARY_DIR}/deskmon.def)
index 08624da..149d9c5 100644 (file)
@@ -1,6 +1,6 @@
 
 spec2def(devcpux.dll devcpux.spec)
-add_library(devcpux SHARED processor.c processor.rc ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
+add_library(devcpux MODULE processor.c processor.rc ${CMAKE_CURRENT_BINARY_DIR}/devcpux.def)
 set_module_type(devcpux win32dll UNICODE)
 add_importlibs(devcpux user32 powrprof comctl32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET devcpux DESTINATION reactos/system32 FOR all)
index a31e78d..b50844e 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     regsvr.c
     fontext.h)
 
-add_library(fontext SHARED
+add_library(fontext MODULE
     ${SOURCE}
     fontext.rc
     ${CMAKE_CURRENT_BINARY_DIR}/fontext.def)
index cff3ce2..0a2c0fa 100644 (file)
@@ -32,7 +32,7 @@ list(APPEND SOURCE
 file(GLOB netshell_rc_deps res/*.*)
 add_rc_deps(netshell.rc ${netshell_rc_deps})
 
-add_library(netshell SHARED
+add_library(netshell MODULE
     ${SOURCE}
     netshell.rc
     ${CMAKE_CURRENT_BINARY_DIR}/netshell_stubs.c
index 9d2c76e..f8a6e73 100644 (file)
@@ -24,7 +24,7 @@ list(APPEND SOURCE
     regfolder.cpp
     precomp.h)
 
-add_library(ntobjshex SHARED
+add_library(ntobjshex MODULE
     ${SOURCE}
     ntobjshex.rc
     ${CMAKE_CURRENT_BINARY_DIR}/ntobjshex.def)
index 5b239ca..660699c 100644 (file)
@@ -26,7 +26,7 @@ list(APPEND SOURCE
     volpropsheet.cpp
     precomp.h)
 
-add_library(shellbtrfs SHARED
+add_library(shellbtrfs MODULE
     ${SOURCE}
     guid.c
     shellbtrfs.rc
index e25e433..093303f 100644 (file)
@@ -28,7 +28,7 @@ list(APPEND SOURCE
     volume.cpp
     precomp.h)
 
-add_library(stobject SHARED
+add_library(stobject MODULE
     ${SOURCE}
     stobject.rc
     ${CMAKE_CURRENT_BINARY_DIR}/stobject.def)
index f527665..9ad72cb 100644 (file)
@@ -37,7 +37,7 @@ list(APPEND SOURCE
     precomp.h
     resource.h)
 
-add_library(zipfldr SHARED
+add_library(zipfldr MODULE
     ${SOURCE}
     ${ZLIB_SOURCE}
     zipfldr.rc
index fb2222b..db13727 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     stubs.c
     acleditint.h)
 
-add_library(acledit SHARED
+add_library(acledit MODULE
     ${SOURCE}
     acledit.rc
     ${CMAKE_CURRENT_BINARY_DIR}/acledit.def)
index de7a6b1..24d43d5 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     sidcache.c
     precomp.h)
 
-add_library(aclui SHARED
+add_library(aclui MODULE
     ${SOURCE}
     guid.c
     aclui.rc
index 19ddb86..58225f1 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     stubs.c
     precomp.h)
 
-add_library(activeds SHARED
+add_library(activeds MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/activeds.def)
 
index 44672c9..22442e7 100644 (file)
@@ -35,7 +35,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
     precomp.h)
 
-add_library(actxprxy SHARED
+add_library(actxprxy MODULE
     ${SOURCE}
     actxprxy.rc
     ${CMAKE_CURRENT_BINARY_DIR}/actxprxy.def)
index 744dc09..4a366ba 100644 (file)
@@ -46,7 +46,7 @@ list(APPEND SOURCE
     wine/security.c
     advapi32.h)
 
-add_library(advapi32 SHARED
+add_library(advapi32 MODULE
     ${SOURCE}
     advapi32.rc
     ${CMAKE_CURRENT_BINARY_DIR}/advapi32_stubs.c
index 34fc459..ab6e406 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     RegLoadMUIString.c
     ${CMAKE_CURRENT_BINARY_DIR}/advapi32_vista.def)
 
-add_library(advapi32_vista SHARED ${SOURCE})
+add_library(advapi32_vista MODULE ${SOURCE})
 set_module_type(advapi32_vista win32dll ENTRYPOINT DllMain 12)
 target_link_libraries(advapi32_vista wine)
 add_importlibs(advapi32_vista advapi32 kernel32 ntdll)
index 5859274..5df9b29 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     reg.c
     precomp.h)
 
-add_library(advpack SHARED
+add_library(advpack MODULE
     ${SOURCE}
     advpack.rc
     ${CMAKE_CURRENT_BINARY_DIR}/advpack.def)
index 9697e5c..475ebab 100644 (file)
@@ -25,7 +25,7 @@ list(APPEND atl_rc_deps
 
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${atl_rc_deps}")
 
-add_library(atl SHARED
+add_library(atl MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/atl.def)
index 85fb948..73c7843 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/atl100_stubs.c)
 
-add_library(atl100 SHARED
+add_library(atl100 MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/atl100.def)
 
index 6283b49..50bb954 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/atl80_stubs.c
     precomp.h)
 
-add_library(atl80 SHARED
+add_library(atl80 MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/atl80.def)
 
index 5d57622..88174a4 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/authz_stubs.c)
 
-add_library(authz SHARED
+add_library(authz MODULE
     ${SOURCE}
     authz.rc
     ${CMAKE_CURRENT_BINARY_DIR}/authz.def)
index 6972b43..75720e4 100644 (file)
@@ -3,7 +3,7 @@ spec2def(avicap32.dll avicap32.spec ADD_IMPORTLIB)
 
 include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 
-add_library(avicap32 SHARED
+add_library(avicap32 MODULE
     avicap32.c
     avicap32.rc
     ${CMAKE_CURRENT_BINARY_DIR}/avicap32.def)
index c686301..62daabf 100644 (file)
@@ -21,7 +21,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
     precomp.h)
 
-add_library(avifil32 SHARED
+add_library(avifil32 MODULE
     ${SOURCE}
     guid.c
     rsrc.rc
index cfd7f25..cf77518 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(batt.dll batt.spec)
 
-add_library(batt SHARED
+add_library(batt MODULE
     batt.c
     batt.rc
     ${CMAKE_CURRENT_BINARY_DIR}/batt.def)
index bcac2af..eee62d3 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/bcrypt_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/bcrypt.def)
 
-add_library(bcrypt SHARED ${SOURCE})
+add_library(bcrypt MODULE ${SOURCE})
 set_module_type(bcrypt win32dll)
 target_link_libraries(bcrypt wine)
 add_importlibs(bcrypt mbedtls advapi32 msvcrt kernel32 ntdll)
index d760fec..d19032b 100644 (file)
@@ -5,7 +5,7 @@ list(APPEND SOURCE
     beepmidi.c
     ${CMAKE_CURRENT_BINARY_DIR}/beepmidi.def)
 
-add_library(beepmidi SHARED ${SOURCE})
+add_library(beepmidi MODULE ${SOURCE})
 set_module_type(beepmidi win32dll UNICODE)
 add_importlibs(beepmidi winmm msvcrt kernel32 ntdll)
 add_cd_file(TARGET beepmidi DESTINATION reactos/system32 FOR all)
index 8c0de76..0c68a37 100644 (file)
@@ -39,7 +39,7 @@ list(APPEND SOURCE
     CProgressDialog.cpp
     precomp.h)
 
-add_library(browseui SHARED
+add_library(browseui MODULE
     ${SOURCE}
     dllinstall.c
     browseui.rc
index f8de46d..3e96448 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(bthci.dll bthci.spec)
 
-add_library(bthci SHARED
+add_library(bthci MODULE
     bthci.c
     bthci.rc
     ${CMAKE_CURRENT_BINARY_DIR}/bthci.def)
index 20eb368..f770a50 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     fdi.c
     precomp.h)
 
-add_library(cabinet SHARED
+add_library(cabinet MODULE
     ${SOURCE}
     stubs.c
     cabinet.rc
index b254867..822ea96 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     cards.rc
     ${CMAKE_CURRENT_BINARY_DIR}/cards.def)
 
-add_library(cards SHARED ${SOURCE})
+add_library(cards MODULE ${SOURCE})
 set_module_type(cards win32dll UNICODE)
 add_importlibs(cards user32 gdi32 msvcrt kernel32)
 add_cd_file(TARGET cards DESTINATION reactos/system32 FOR all)
index 2e63093..5a40af5 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/cfgmgr32.def)
 
-add_library(cfgmgr32 SHARED ${SOURCE})
+add_library(cfgmgr32 MODULE ${SOURCE})
 
 set_module_type(cfgmgr32 win32dll)
 add_importlibs(cfgmgr32 setupapi msvcrt kernel32 ntdll)
index cb86fe4..6d47465 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/clusapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/clusapi.def)
 
-add_library(clusapi SHARED ${SOURCE})
+add_library(clusapi MODULE ${SOURCE})
 set_module_type(clusapi win32dll)
 target_link_libraries(clusapi wine)
 add_importlibs(clusapi msvcrt kernel32 ntdll)
index bff7fab..0e5d681 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     comcat_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/comcat.def)
 
-add_library(comcat SHARED ${SOURCE} version.rc)
+add_library(comcat MODULE ${SOURCE} version.rc)
 set_module_type(comcat win32dll)
 add_importlibs(comcat ole32 msvcrt kernel32)
 add_cd_file(TARGET comcat DESTINATION reactos/system32 FOR all)
index 4a1151b..8c05f33 100644 (file)
@@ -51,7 +51,7 @@ list(APPEND SOURCE
     updown.c
     precomp.h)
 
-add_library(comctl32 SHARED
+add_library(comctl32 MODULE
     ${SOURCE}
     stubs.c
     rsrc.rc
index 37e1d7c..bb87894 100644 (file)
@@ -19,7 +19,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/comdlg32_stubs.c)
 
-add_library(comdlg32 SHARED
+add_library(comdlg32 MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/comdlg32.def)
index 58d4f31..bb56142 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     compstui_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/compstui.def)
 
-add_library(compstui SHARED ${SOURCE})
+add_library(compstui MODULE ${SOURCE})
 set_module_type(compstui win32dll)
 target_link_libraries(compstui wine)
 add_importlibs(compstui msvcrt kernel32 ntdll)
index e6a9d1b..ab1fa0c 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/credui_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/credui.def)
 
-add_library(credui SHARED ${SOURCE} credui.rc)
+add_library(credui MODULE ${SOURCE} credui.rc)
 set_module_type(credui win32dll)
 target_link_libraries(credui wine)
 add_importlibs(credui advapi32 user32 comctl32 msvcrt kernel32 ntdll)
index 7562398..c40dda2 100644 (file)
@@ -17,7 +17,7 @@ list(APPEND SOURCE
     crtdll.rc
     ${CMAKE_CURRENT_BINARY_DIR}/crtdll.def)
 
-add_library(crtdll SHARED ${SOURCE})
+add_library(crtdll MODULE ${SOURCE})
 set_module_type(crtdll win32dll ENTRYPOINT DllMain 12)
 target_link_libraries(crtdll crt wine)
 
index 6bef4c7..e53c2f9 100644 (file)
@@ -37,7 +37,7 @@ list(APPEND SOURCE
     str.c
     precomp.h)
 
-add_library(crypt32 SHARED
+add_library(crypt32 MODULE
     ${SOURCE}
     crypt32.rc
     ${CMAKE_CURRENT_BINARY_DIR}/crypt32_stubs.c
index a7de252..0ce5533 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/cryptdlg.def)
 
-add_library(cryptdlg SHARED ${SOURCE} cryptdlg.rc)
+add_library(cryptdlg MODULE ${SOURCE} cryptdlg.rc)
 set_module_type(cryptdlg win32dll)
 target_link_libraries(cryptdlg wine)
 add_importlibs(cryptdlg advapi32 user32 crypt32 cryptui wintrust msvcrt kernel32 ntdll)
index ce14114..8d64df8 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/cryptdll.def)
 
-add_library(cryptdll SHARED ${SOURCE})
+add_library(cryptdll MODULE ${SOURCE})
 set_module_type(cryptdll win32dll)
 target_link_libraries(cryptdll wine)
 add_importlibs(cryptdll advapi32 msvcrt kernel32 ntdll)
index 52695eb..9bbb47e 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/cryptnet_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/cryptnet.def)
 
-add_library(cryptnet SHARED ${SOURCE})
+add_library(cryptnet MODULE ${SOURCE})
 set_module_type(cryptnet win32dll)
 target_link_libraries(cryptnet wine)
 add_delay_importlibs(cryptnet wininet)
index f271151..d639871 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/cryptui_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/cryptui.def)
 
-add_library(cryptui SHARED ${SOURCE} cryptui.rc)
+add_library(cryptui MODULE ${SOURCE} cryptui.rc)
 set_module_type(cryptui win32dll)
 target_link_libraries(cryptui uuid wine)
 add_delay_importlibs(cryptui urlmon wintrust)
index ed64611..27b44e3 100644 (file)
@@ -72,7 +72,7 @@ else()
         type.c
         precomp.h)
 
-    add_library(dbghelp SHARED
+    add_library(dbghelp MODULE
         ${SOURCE}
         version.rc
         ${CMAKE_CURRENT_BINARY_DIR}/dbghelp_stubs.c
index 9c49ebc..5cd47db 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/dciman32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/dciman32.def)
 
-add_library(dciman32 SHARED ${SOURCE})
+add_library(dciman32 MODULE ${SOURCE})
 set_module_type(dciman32 win32dll)
 target_link_libraries(dciman32 wine)
 add_importlibs(dciman32 msvcrt kernel32 ntdll)
index ae68d9d..44ba6f4 100644 (file)
@@ -29,7 +29,7 @@ list(APPEND SOURCE
     devmgmt/Node.cpp
     devmgmt/RootNode.cpp)
 
-add_library(devmgr SHARED
+add_library(devmgr MODULE
     ${SOURCE}
     devmgr.rc
     ${CMAKE_CURRENT_BINARY_DIR}/devmgr.def)
index 62aaceb..89b47e3 100644 (file)
@@ -17,7 +17,7 @@ list(APPEND SOURCE
     dnsapi/stubs.c
     dnsapi/precomp.h)
 
-add_library(dnsapi SHARED
+add_library(dnsapi MODULE
     ${SOURCE}
     dnsapi.rc
     ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
index 67ca4be..aab373f 100644 (file)
@@ -4,7 +4,7 @@ spec2def(esent.dll esent.spec)
 list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/esent_stubs.c)
 
-add_library(esent SHARED
+add_library(esent MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/esent.def)
 
index ea1a149..a517210 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/faultrep_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/faultrep.def)
 
-add_library(faultrep SHARED ${SOURCE})
+add_library(faultrep MODULE ${SOURCE})
 set_module_type(faultrep win32dll)
 target_link_libraries(faultrep wine)
 add_importlibs(faultrep advapi32 msvcrt kernel32 ntdll)
index 1cb7300..7b4320a 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
     stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/fltlib.def)
 
-add_library(fltlib SHARED ${SOURCE} rsrc.rc)
+add_library(fltlib MODULE ${SOURCE} rsrc.rc)
 set_module_type(fltlib win32dll)
 target_link_libraries(fltlib wine)
 add_target_compile_definitions(fltlib NTDDI_VERSION=NTDDI_WS03SP1)
index 5289094..41cac28 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     query.c
     precomp.h)
 
-add_library(fmifs SHARED
+add_library(fmifs MODULE
     ${SOURCE}
     fmifs.rc
     ${CMAKE_CURRENT_BINARY_DIR}/fmifs_stubs.c
index 3adf7c4..1e801ff 100644 (file)
@@ -3,7 +3,7 @@ add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(fontsub.dll fontsub.spec)
 
-add_library(fontsub SHARED
+add_library(fontsub MODULE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/fontsub_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/fontsub.def)
index 74a083d..edc6ab7 100644 (file)
@@ -12,7 +12,7 @@ if(MSVC)
     add_compile_flags("/Zc:wchar_t-")
 endif()
 
-add_library(framedyn SHARED ${SOURCE})
+add_library(framedyn MODULE ${SOURCE})
 set_module_type(framedyn win32dll UNICODE)
 add_importlibs(framedyn oleaut32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET framedyn DESTINATION reactos/system32/wbem FOR all)
index fcaa5c2..7e151d9 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND COMMON_SOURCE
 add_library(fusion_common STATIC ${COMMON_SOURCE})
 add_dependencies(fusion_common psdk)
 
-add_library(fusion SHARED
+add_library(fusion MODULE
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
 
index 5027b0a..802fecf 100644 (file)
@@ -2,7 +2,7 @@
 set(fusion_folder "${CMAKE_CURRENT_SOURCE_DIR}/..")
 spec2def(fusion.dll fusion.spec)
 
-add_library(fusion_1_1 SHARED
+add_library(fusion_1_1 MODULE
     ${fusion_folder}/version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
 
index c86f192..035da8e 100644 (file)
@@ -2,7 +2,7 @@
 set(fusion_folder "${CMAKE_CURRENT_SOURCE_DIR}/..")
 spec2def(fusion.dll fusion.spec)
 
-add_library(fusion_2_0 SHARED
+add_library(fusion_2_0 MODULE
     ${fusion_folder}/version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/fusion.def)
 
index 58ef713..1720891 100644 (file)
@@ -23,7 +23,7 @@ list(APPEND SOURCE
     stringformat.c
     precomp.h)
 
-add_library(gdiplus SHARED
+add_library(gdiplus MODULE
     ${SOURCE}
     guid.c
     gdiplus.rc
index b97e7ab..121c5d0 100644 (file)
@@ -2,7 +2,7 @@
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(getuname.dll getuname.spec ADD_IMPORTLIB)
 
-add_library(getuname SHARED
+add_library(getuname MODULE
     getuname.c
     getuname.rc
     ${CMAKE_CURRENT_BINARY_DIR}/getuname.def)
index 80b7975..103e58e 100644 (file)
@@ -17,7 +17,7 @@ list(APPEND SOURCE
     webbrowser.c
     precomp.h)
 
-add_library(hhctrl SHARED
+add_library(hhctrl MODULE
     ${SOURCE}
     guid.c
     hhctrl.rc
index 9e966ec..edc3463 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     stubs.c
     precomp.h)
 
-add_library(hid SHARED
+add_library(hid MODULE
     ${SOURCE}
     hid.rc
     ${CMAKE_CURRENT_BINARY_DIR}/hid.def)
index 7ce9922..29ae5f9 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     link.c
     precomp.h)
 
-add_library(hlink SHARED
+add_library(hlink MODULE
     ${SOURCE}
     hlink.rc
     ${CMAKE_CURRENT_BINARY_DIR}/hlink_stubs.c
index fd3ab10..4e75ba6 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
     service.c
     precomp.h)
 
-add_library(hnetcfg SHARED
+add_library(hnetcfg MODULE
     ${SOURCE}
     hnetcfg.rc
     ${CMAKE_CURRENT_BINARY_DIR}/hnetcfg.def)
index 96b40b1..5836ccc 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/httpapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/httpapi.def)
 
-add_library(httpapi SHARED ${SOURCE})
+add_library(httpapi MODULE ${SOURCE})
 set_module_type(httpapi win32dll)
 target_link_libraries(httpapi wine)
 add_importlibs(httpapi msvcrt kernel32 ntdll)
index cfcfd6b..68dc705 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     iccvid.c
     ${CMAKE_CURRENT_BINARY_DIR}/iccvid.def)
 
-add_library(iccvid SHARED ${SOURCE} rsrc.rc)
+add_library(iccvid MODULE ${SOURCE} rsrc.rc)
 set_module_type(iccvid win32dll)
 target_link_libraries(iccvid wine)
 add_importlibs(iccvid user32 msvcrt kernel32 ntdll)
index d36a089..18c7a3a 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/icmp_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/icmp.def)
 
-add_library(icmp SHARED ${SOURCE})
+add_library(icmp MODULE ${SOURCE})
 set_module_type(icmp win32dll)
 add_importlibs(icmp iphlpapi msvcrt kernel32 ntdll)
 add_cd_file(TARGET icmp DESTINATION reactos/system32 FOR all)
index bf7b603..cdd58ef 100644 (file)
@@ -25,7 +25,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/ieframe_stubs.c)
 
-add_library(ieframe SHARED
+add_library(ieframe MODULE
     ${SOURCE}
     ieframe.rc
     ${CMAKE_CURRENT_BINARY_DIR}/ieframe.def)
index 7308f9a..85b73cd 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(iernonce.dll iernonce.spec)
 
-add_library(iernonce SHARED
+add_library(iernonce MODULE
     iernonce.c
     iernonce.rc
     ${CMAKE_CURRENT_BINARY_DIR}/iernonce.def)
index 01d7d55..fa6e30a 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     imaadp32.c
     ${CMAKE_CURRENT_BINARY_DIR}/imaadp32.def)
 
-add_library(imaadp32.acm SHARED ${SOURCE})
+add_library(imaadp32.acm MODULE ${SOURCE})
 set_module_type(imaadp32.acm win32dll)
 set_target_properties(imaadp32.acm PROPERTIES SUFFIX "")
 target_link_libraries(imaadp32.acm wine)
index 5284f85..d39f1b4 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     modify.c
     precomp.h)
 
-add_library(imagehlp SHARED
+add_library(imagehlp MODULE
     ${SOURCE}
     imagehlp.rc
     ${CMAKE_CURRENT_BINARY_DIR}/imagehlp_stubs.c
index 91368f8..01eec2a 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/imm32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/imm32.def)
 
-add_library(imm32 SHARED ${SOURCE} version.rc)
+add_library(imm32 MODULE ${SOURCE} version.rc)
 set_module_type(imm32 win32dll)
 target_link_libraries(imm32 wine)
 add_importlibs(imm32 advapi32 user32 msvcrt kernel32 ntdll)
index c995faf..3e60b99 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
     smtptransport.c
     precomp.h)
 
-add_library(inetcomm SHARED
+add_library(inetcomm MODULE
     ${SOURCE}
     guid.c
     inetcomm.rc
index 0883fc3..08c1b0a 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/inetmib1_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
 
-add_library(inetmib1 SHARED ${SOURCE})
+add_library(inetmib1 MODULE ${SOURCE})
 set_module_type(inetmib1 win32dll)
 target_link_libraries(inetmib1 wine)
 add_delay_importlibs(inetmib1 iphlpapi)
index a811010..406ece9 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/initpki_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/initpki.def)
 
-add_library(initpki SHARED ${SOURCE})
+add_library(initpki MODULE ${SOURCE})
 set_module_type(initpki win32dll)
 target_link_libraries(initpki wine)
 add_importlibs(initpki msvcrt kernel32 ntdll)
index 20f27df..1ee71e5 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/inseng_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/inseng.def)
 
-add_library(inseng SHARED ${SOURCE} guid.c inseng.rc)
+add_library(inseng MODULE ${SOURCE} guid.c inseng.rc)
 set_module_type(inseng win32dll)
 target_link_libraries(inseng uuid wine)
 add_importlibs(inseng ole32 urlmon kernel32_vista msvcrt kernel32 ntdll)
index 1a9b2de..0e1f230 100644 (file)
@@ -1,5 +1,5 @@
 
-add_library(iologmsg SHARED iologmsg.rc)
+add_library(iologmsg MODULE iologmsg.rc)
 set_module_type(iologmsg module UNICODE)
 add_dependencies(iologmsg ntiologc)
 add_cd_file(TARGET iologmsg DESTINATION reactos/system32 FOR all)
index 3bdcb1f..61f9112 100644 (file)
@@ -22,7 +22,7 @@ list(APPEND SOURCE
     iphlpapi_private.h
     ${CMAKE_CURRENT_BINARY_DIR}/iphlpapi_stubs.c)
 
-add_library(iphlpapi SHARED
+add_library(iphlpapi MODULE
     ${SOURCE}
     iphlpapi.rc
     iphlpapi_fakestubs.c
index bb246c1..e6b3f6a 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/itircl_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/itircl.def)
 
-add_library(itircl SHARED ${SOURCE})
+add_library(itircl MODULE ${SOURCE})
 set_module_type(itircl win32dll)
 target_link_libraries(itircl wine)
 add_importlibs(itircl msvcrt kernel32 ntdll)
index 0dbf580..63cefe6 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     storage.c
     precomp.h)
 
-add_library(itss SHARED
+add_library(itss MODULE
     ${SOURCE}
     guid.c
     rsrc.rc
index 5551ee7..40a48d5 100644 (file)
@@ -43,7 +43,7 @@ list(APPEND jscript_rc_deps
 
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS "${jscript_rc_deps}")
 
-add_library(jscript SHARED
+add_library(jscript MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/jscript.def)
index cec9a19..46ae1b7 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/jsproxy_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/jsproxy.def)
 
-add_library(jsproxy SHARED ${SOURCE} rsrc.rc)
+add_library(jsproxy MODULE ${SOURCE} rsrc.rc)
 set_module_type(jsproxy win32dll)
 target_link_libraries(jsproxy uuid wine)
 add_importlibs(jsproxy oleaut32 ole32 ws2_32 msvcrt kernel32 ntdll)
index 21a2182..22409a7 100644 (file)
@@ -98,7 +98,7 @@ elseif(ARCH STREQUAL "arm")
 endif()
 
 add_asm_files(kernel32_asm ${ASM_SOURCE})
-add_library(kernel32 SHARED
+add_library(kernel32 MODULE
     ${SOURCE}
     ${kernel32_asm}
     kernel32.rc
index 4f1f09f..068297a 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
     sync.c
     ${CMAKE_CURRENT_BINARY_DIR}/kernel32_vista.def)
 
-add_library(kernel32_vista SHARED ${SOURCE})
+add_library(kernel32_vista MODULE ${SOURCE})
 set_module_type(kernel32_vista win32dll ENTRYPOINT DllMain 12)
 add_importlibs(kernel32_vista kernel32 ntdll)
 add_delay_importlibs(kernel32_vista ntdll_vista)
index 21af689..770b188 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/loadperf.def)
 
-add_library(loadperf SHARED ${SOURCE})
+add_library(loadperf MODULE ${SOURCE})
 set_module_type(loadperf win32dll)
 target_link_libraries(loadperf wine)
 add_importlibs(loadperf msvcrt kernel32 ntdll)
index 9f4c504..5a21c6c 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     stub.c
     ros_lpk.h)
 
-add_library(lpk SHARED
+add_library(lpk MODULE
     ${SOURCE}
     lpk.rc
     ${CMAKE_CURRENT_BINARY_DIR}/lpk.def)
index 13d3ab4..8ea8fe5 100644 (file)
@@ -31,7 +31,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/lsa_s.c
     ${CMAKE_CURRENT_BINARY_DIR}/lsasrv_stubs.c)
 
-add_library(lsasrv SHARED
+add_library(lsasrv MODULE
     ${SOURCE}
     lsasrv.rc
     ${CMAKE_CURRENT_BINARY_DIR}/lsasrv.def)
index c3b45fc..cbad018 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/lz32.def)
 
-add_library(lz32 SHARED ${SOURCE})
+add_library(lz32 MODULE ${SOURCE})
 set_module_type(lz32 win32dll ENTRYPOINT 0 )
 target_link_libraries(lz32 wine)
 add_importlibs(lz32 kernel32 ntdll)
index 34677e5..18da64d 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     util.c
     precomp.h)
 
-add_library(mapi32 SHARED
+add_library(mapi32 MODULE
     ${SOURCE}
     guid.c
     version.rc
index bc62510..3f49fc1 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     wnd.c
     precomp.h)
 
-add_library(mciavi32 SHARED
+add_library(mciavi32 MODULE
     ${SOURCE}
     mciavi_res.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mciavi32.def)
index 76e10c6..17db5b8 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     mcicda.c
     ${CMAKE_CURRENT_BINARY_DIR}/mcicda.def)
 
-add_library(mcicda SHARED ${SOURCE})
+add_library(mcicda MODULE ${SOURCE})
 set_module_type(mcicda win32dll)
 target_link_libraries(mcicda wine)
 add_importlibs(mcicda winmm user32 msvcrt kernel32 ntdll)
index a7e4d51..88e92f6 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     mciqtz.c
     ${CMAKE_CURRENT_BINARY_DIR}/mciqtz32.def)
 
-add_library(mciqtz32 SHARED ${SOURCE} mciavi_res.rc)
+add_library(mciqtz32 MODULE ${SOURCE} mciavi_res.rc)
 set_module_type(mciqtz32 win32dll)
 target_link_libraries(mciqtz32 wine strmiids)
 add_importlibs(mciqtz32 winmm ole32 user32 gdi32 msvcrt kernel32 ntdll)
index 6630d33..62b3f54 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     mcimidi.c
     ${CMAKE_CURRENT_BINARY_DIR}/mciseq.def)
 
-add_library(mciseq SHARED ${SOURCE})
+add_library(mciseq MODULE ${SOURCE})
 set_module_type(mciseq win32dll)
 target_link_libraries(mciseq wine)
 add_importlibs(mciseq winmm user32 msvcrt kernel32 ntdll)
index 05c7791..e4b06aa 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     mciwave.c
     ${CMAKE_CURRENT_BINARY_DIR}/mciwave.def)
 
-add_library(mciwave SHARED ${SOURCE})
+add_library(mciwave MODULE ${SOURCE})
 set_module_type(mciwave win32dll)
 target_link_libraries(mciwave wine)
 add_importlibs(mciwave user32 winmm msvcrt kernel32 ntdll)
index 0659c58..c2d5ce1 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mgmtapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mgmtapi.def)
 
-add_library(mgmtapi SHARED ${SOURCE})
+add_library(mgmtapi MODULE ${SOURCE})
 set_module_type(mgmtapi win32dll)
 target_link_libraries(mgmtapi wine)
 add_importlibs(mgmtapi msvcrt kernel32 ntdll)
index 5592c23..0afca92 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mlang_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
 
-add_library(mlang SHARED ${SOURCE} mlang.rc)
+add_library(mlang MODULE ${SOURCE} mlang.rc)
 set_module_type(mlang win32dll UNICODE)
 target_link_libraries(mlang uuid wine)
 add_delay_importlibs(mlang oleaut32)
index 5d4245c..1cda15a 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/mmdevapi_stubs.c)
 
-add_library(mmdevapi SHARED
+add_library(mmdevapi MODULE
     ${SOURCE}
     guid.c
     mmdevapi.rc
index fa6f6ce..17d7e92 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     wave_io.c
     mmdrv.h)
 
-add_library(mmdrv SHARED
+add_library(mmdrv MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/mmdrv.def)
 
index 3953a52..ead0401 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/modemui_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/modemui.def)
 
-add_library(modemui SHARED ${SOURCE})
+add_library(modemui MODULE ${SOURCE})
 set_module_type(modemui win32dll UNICODE)
 add_importlibs(modemui msvcrt kernel32 ntdll)
 add_cd_file(TARGET modemui DESTINATION reactos/system32 FOR all)
index 28c76f8..af182ae 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/mpr_stubs.c)
 
-add_library(mpr SHARED
+add_library(mpr MODULE
     ${SOURCE}
     mpr.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mpr.def)
index 607624d..17a1a1b 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mprapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mprapi.def)
 
-add_library(mprapi SHARED ${SOURCE})
+add_library(mprapi MODULE ${SOURCE})
 set_module_type(mprapi win32dll)
 target_link_libraries(mprapi wine)
 add_importlibs(mprapi msvcrt kernel32 ntdll)
index ed542d9..3964c91 100644 (file)
@@ -2,7 +2,7 @@
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(msacm32.drv msacm32.drv.spec)
 
-add_library(msacm32.drv SHARED
+add_library(msacm32.drv MODULE
     wavemap.c
     wavemap.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
index b1be7b9..822bb64 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/msacm32_stubs.c)
 
-add_library(msacm32 SHARED
+add_library(msacm32 MODULE
     ${SOURCE}
     msacm.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msacm32.def)
index 3333e41..f784c6c 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     msadp32.c
     ${CMAKE_CURRENT_BINARY_DIR}/msadp32.def)
 
-add_library(msadp32.acm SHARED ${SOURCE})
+add_library(msadp32.acm MODULE ${SOURCE})
 set_module_type(msadp32.acm win32dll)
 set_target_properties(msadp32.acm PROPERTIES SUFFIX "")
 target_link_libraries(msadp32.acm wine)
index db60e83..14f9794 100644 (file)
@@ -12,7 +12,7 @@ list(APPEND SOURCE
     misc/stubs.c
     msafd.h)
 
-add_library(msafd SHARED
+add_library(msafd MODULE
     ${SOURCE}
     msafd.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msafd.def)
index d7471d9..94788ac 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/mscat32.def)
 
-add_library(mscat32 SHARED ${SOURCE})
+add_library(mscat32 MODULE ${SOURCE})
 set_module_type(mscat32 win32dll)
 target_link_libraries(mscat32 wine)
 add_importlibs(mscat32 wintrust msvcrt kernel32 ntdll)
index 89126cd..785e1e4 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mscms_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mscms.def)
 
-add_library(mscms SHARED ${SOURCE} version.rc)
+add_library(mscms MODULE ${SOURCE} version.rc)
 set_module_type(mscms win32dll)
 target_link_libraries(mscms wine)
 add_importlibs(mscms advapi32 msvcrt kernel32 ntdll)
index f39b9bb..8cba945 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     mscoree_main.c
     mscoree_private.h)
 
-add_library(mscoree SHARED
+add_library(mscoree MODULE
     ${SOURCE}
     guid.c
     mscoree.rc
index 02e172a..d7ae222 100644 (file)
@@ -20,7 +20,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/msctf_stubs.c)
 
-add_library(msctf SHARED
+add_library(msctf MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msctf.def)
index 1b37a69..8fba4cc 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msftedit_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/msftedit.def)
 
-add_library(msftedit SHARED ${SOURCE})
+add_library(msftedit MODULE ${SOURCE})
 set_module_type(msftedit win32dll)
 target_link_libraries(msftedit uuid wine)
 add_importlibs(msftedit riched20 msvcrt kernel32 ntdll)
index 3796e5e..3dc5c79 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     msg711.c
     ${CMAKE_CURRENT_BINARY_DIR}/msg711.def)
 
-add_library(msg711.acm SHARED ${SOURCE})
+add_library(msg711.acm MODULE ${SOURCE})
 set_module_type(msg711.acm win32dll)
 set_target_properties(msg711.acm PROPERTIES SUFFIX "")
 target_link_libraries(msg711.acm wine)
index 7c6b561..1cfa45f 100644 (file)
@@ -19,7 +19,7 @@ list(APPEND C_SOURCE
 list(APPEND CPP_SOURCE
     dimmedwindow.cpp)
 
-add_library(msgina SHARED
+add_library(msgina MODULE
     ${C_SOURCE}
     ${CPP_SOURCE}
     msgina.rc
index b7683bd..5a0238c 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     msgsm32.c
     ${CMAKE_CURRENT_BINARY_DIR}/msgsm32.def)
 
-add_library(msgsm32.acm SHARED ${SOURCE})
+add_library(msgsm32.acm MODULE ${SOURCE})
 set_module_type(msgsm32.acm win32dll)
 set_target_properties(msgsm32.acm PROPERTIES SUFFIX "")
 target_link_libraries(msgsm32.acm wine)
index d928b53..c795544 100644 (file)
@@ -2,7 +2,7 @@
 add_typelib(mshtml_tlb.idl)
 add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
-add_library(mshtml.tlb SHARED rsrc.rc)
+add_library(mshtml.tlb MODULE rsrc.rc)
 
 list(APPEND mshtml_tlb_rc_deps
     ${CMAKE_CURRENT_BINARY_DIR}/mshtml_tlb.tlb
index 1b93bfa..e89b34b 100644 (file)
@@ -89,7 +89,7 @@ if(MSVC)
     add_asm_files(mshtml_asm msvc.S)
 endif()
 
-add_library(mshtml SHARED
+add_library(mshtml MODULE
     ${SOURCE}
     ${mshtml_asm}
     guid.c
index 3eaee0f..b2e6bf7 100644 (file)
@@ -51,7 +51,7 @@ list(APPEND SOURCE
     where.c
     precomp.h)
 
-add_library(msi SHARED
+add_library(msi MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/msiserver_i.c
     ${CMAKE_CURRENT_BINARY_DIR}/msi_stubs.c
index 6291b36..c55790e 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     msimg32_main.c
     ${CMAKE_CURRENT_BINARY_DIR}/msimg32.def)
 
-add_library(msimg32 SHARED ${SOURCE})
+add_library(msimg32 MODULE ${SOURCE})
 set_module_type(msimg32 win32dll)
 target_link_libraries(msimg32 wine)
 add_importlibs(msimg32 gdi32 msvcrt kernel32 ntdll)
index a1c28da..567159d 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/msimtf_stubs.c)
 
-add_library(msimtf SHARED
+add_library(msimtf MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msimtf.def)
index 76aff67..3a194e7 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msisip_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/msisip.def)
 
-add_library(msisip SHARED ${SOURCE})
+add_library(msisip MODULE ${SOURCE})
 set_module_type(msisip win32dll)
 target_link_libraries(msisip wine)
 add_importlibs(msisip crypt32 ole32 msvcrt kernel32 ntdll)
index c9e17b5..0d711a5 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     msisys.c
     ${CMAKE_CURRENT_BINARY_DIR}/msisys.def)
 
-add_library(msisys SHARED ${SOURCE})
+add_library(msisys MODULE ${SOURCE})
 set_module_type(msisys win32ocx)
 target_link_libraries(msisys wine)
 add_importlibs(msisys msvcrt kernel32 ntdll)
index 3bb0424..c8a5c5a 100644 (file)
@@ -2,7 +2,7 @@
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 add_definitions(-D__WINESRC__)
 spec2def(msnet32.dll msnet32.spec)
-add_library(msnet32 SHARED msnet_main.c ${CMAKE_CURRENT_BINARY_DIR}/msnet32.def)
+add_library(msnet32 MODULE msnet_main.c ${CMAKE_CURRENT_BINARY_DIR}/msnet32.def)
 set_module_type(msnet32 win32dll)
 target_link_libraries(msnet32 wine)
 add_importlibs(msnet32 msvcrt kernel32 ntdll)
index 3c21db6..129eebd 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mspatcha_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mspatcha.def)
 
-add_library(mspatcha SHARED ${SOURCE} version.rc)
+add_library(mspatcha MODULE ${SOURCE} version.rc)
 set_module_type(mspatcha win32dll)
 target_link_libraries(mspatcha wine)
 add_importlibs(mspatcha msvcrt kernel32 ntdll)
index b0fee51..f924e4a 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/msports_stubs.c)
 
-add_library(msports SHARED
+add_library(msports MODULE
     ${SOURCE}
     msports.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msports.def)
index 2efae9a..8db9998 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     msrle32.c
     ${CMAKE_CURRENT_BINARY_DIR}/msrle32.def)
 
-add_library(msrle32 SHARED ${SOURCE} rsrc.rc)
+add_library(msrle32 MODULE ${SOURCE} rsrc.rc)
 set_module_type(msrle32 win32dll)
 target_link_libraries(msrle32 wine)
 add_importlibs(msrle32 winmm user32 msvcrt kernel32 ntdll)
index 0a4cac1..b60527f 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mssign32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mssign32.def)
 
-add_library(mssign32 SHARED ${SOURCE})
+add_library(mssign32 MODULE ${SOURCE})
 set_module_type(mssign32 win32dll)
 target_link_libraries(mssign32 wine)
 add_importlibs(mssign32 msvcrt kernel32 ntdll)
index f4ee56f..1dcdae4 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mssip32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/mssip32.def)
 
-add_library(mssip32 SHARED ${SOURCE})
+add_library(mssip32 MODULE ${SOURCE})
 set_module_type(mssip32 win32dll)
 target_link_libraries(mssip32 wine)
 add_importlibs(mssip32 msvcrt kernel32 ntdll)
index de21074..5dec2c4 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mstask_local_i.c
     ${CMAKE_CURRENT_BINARY_DIR}/mstask_stubs.c)
 
-add_library(mstask SHARED
+add_library(mstask MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mstask.def)
index e241247..6e2e41b 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msv1_0_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/msv1_0.def)
 
-add_library(msv1_0 SHARED ${SOURCE})
+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)
index 0799e29..2b558d1 100644 (file)
@@ -19,7 +19,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt.def)
 
-add_library(msvcrt SHARED ${SOURCE})
+add_library(msvcrt MODULE ${SOURCE})
 set_module_type(msvcrt win32dll ENTRYPOINT DllMain 12)
 add_dependencies(msvcrt psdk)
 target_link_libraries(msvcrt crt wine ${PSEH_LIB})
index 7ae2240..64ff837 100644 (file)
@@ -18,7 +18,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt20_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt20.def)
 
-add_library(msvcrt20 SHARED ${SOURCE})
+add_library(msvcrt20 MODULE ${SOURCE})
 set_module_type(msvcrt20 win32dll ENTRYPOINT DllMain 12)
 add_dependencies(msvcrt20 psdk)
 target_link_libraries(msvcrt20 crt wine ${PSEH_LIB})
index 5e2f89b..e21c8d9 100644 (file)
@@ -18,7 +18,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt40_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/msvcrt40.def)
 
-add_library(msvcrt40 SHARED ${SOURCE})
+add_library(msvcrt40 MODULE ${SOURCE})
 set_module_type(msvcrt40 win32dll ENTRYPOINT DllMain 12)
 add_dependencies(msvcrt40 psdk)
 target_link_libraries(msvcrt40 crt wine ${PSEH_LIB})
index 4bf2590..8c6309f 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/msvfw32_stubs.c)
 
-add_library(msvfw32 SHARED
+add_library(msvfw32 MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/msvfw32.def)
index 947852a..ca5da72 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     msvideo1.c
     ${CMAKE_CURRENT_BINARY_DIR}/msvidc32.def)
 
-add_library(msvidc32 SHARED ${SOURCE} rsrc.rc)
+add_library(msvidc32 MODULE ${SOURCE} rsrc.rc)
 set_module_type(msvidc32 win32dll)
 target_link_libraries(msvidc32 wine)
 add_importlibs(msvidc32 user32 msvcrt kernel32 ntdll)
index 8721463..1950ca8 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     stubs.c
     precomp.h)
 
-add_library(mswsock SHARED
+add_library(mswsock MODULE
     ${SOURCE}
     mswsock.rc
     ${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
index c022422..44fc897 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/msxml.def)
 
-add_library(msxml SHARED ${SOURCE} rsrc.rc)
+add_library(msxml MODULE ${SOURCE} rsrc.rc)
 set_module_type(msxml win32dll)
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml_tlb.tlb)
 target_link_libraries(msxml wine)
index fb7541f..52deb17 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND SOURCE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/msxml2.def)
 
-add_library(msxml2 SHARED ${SOURCE} msxml2.rc)
+add_library(msxml2 MODULE ${SOURCE} msxml2.rc)
 set_module_type(msxml2 win32dll)
 set_source_files_properties(msxml2.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml2_tlb.tlb)
 target_link_libraries(msxml2 wine)
index af6af64..7abb691 100644 (file)
@@ -60,7 +60,7 @@ list(APPEND msxml3_rc_deps
 
 set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${msxml3_rc_deps}")
 
-add_library(msxml3 SHARED
+add_library(msxml3 MODULE
     ${SOURCE}
     factory.c
     uuid.c
index a7b404d..ae82583 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/msxml4.def)
 
-add_library(msxml4 SHARED ${SOURCE} rsrc.rc)
+add_library(msxml4 MODULE ${SOURCE} rsrc.rc)
 set_module_type(msxml4 win32dll)
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml4_tlb.tlb)
 target_link_libraries(msxml4 wine)
index ae20fc6..b0a95ec 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/msxml6.def)
 
-add_library(msxml6 SHARED ${SOURCE} rsrc.rc)
+add_library(msxml6 MODULE ${SOURCE} rsrc.rc)
 set_module_type(msxml6 win32dll)
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/msxml6_tlb.tlb)
 target_link_libraries(msxml6 wine)
index 2a828c7..add3ffa 100644 (file)
@@ -1,5 +1,5 @@
 
-add_library(mycomput SHARED
+add_library(mycomput MODULE
     mycomput.rc)
 
 set_module_type(mycomput win32dll UNICODE ENTRYPOINT 0)
index 7752582..b3b6568 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/nddeapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/nddeapi.def)
 
-add_library(nddeapi SHARED ${SOURCE})
+add_library(nddeapi MODULE ${SOURCE})
 set_module_type(nddeapi win32dll)
 target_link_libraries(nddeapi wine)
 add_importlibs(nddeapi msvcrt kernel32 ntdll)
index dab40b1..046e372 100644 (file)
@@ -45,7 +45,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/srvsvc_c.c
     ${CMAKE_CURRENT_BINARY_DIR}/wkssvc_c.c)
 
-add_library(netapi32 SHARED
+add_library(netapi32 MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/netapi32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/netapi32.def)
index edbc350..99313a5 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/netcfgx_stubs.c)
 
-add_library(netcfgx SHARED
+add_library(netcfgx MODULE
     ${SOURCE}
     netcfgx.rc
     ${CMAKE_CURRENT_BINARY_DIR}/netcfgx.def)
index 20a6b8b..d21c01d 100644 (file)
@@ -1,5 +1,5 @@
 
-add_library(netevent SHARED netevent.rc)
+add_library(netevent MODULE netevent.rc)
 set_module_type(netevent module UNICODE)
 add_dependencies(netevent neteventmsg)
 add_cd_file(TARGET netevent DESTINATION reactos/system32 FOR all)
index 0bdd5e9..1f3b87f 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     netid.rc
     ${CMAKE_CURRENT_BINARY_DIR}/netid.def)
 
-add_library(netid SHARED ${SOURCE})
+add_library(netid MODULE ${SOURCE})
 set_module_type(netid win32dll UNICODE)
 add_importlibs(netid user32 gdi32 comctl32 advapi32 netapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET netid DESTINATION reactos/system32 FOR all)
index 7115171..50913fc 100644 (file)
@@ -1,5 +1,5 @@
 
-add_library(netmsg SHARED netmsg.rc)
+add_library(netmsg MODULE netmsg.rc)
 set_module_type(netmsg module UNICODE ENTRYPOINT 0)
 add_dependencies(netmsg netmsgmsg)
 add_cd_file(TARGET netmsg DESTINATION reactos/system32 FOR all)
index 7e8c13e..1b4b76d 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     newdev_private.h
     ${CMAKE_CURRENT_BINARY_DIR}/newdev_stubs.c)
 
-add_library(newdev SHARED
+add_library(newdev MODULE
     ${SOURCE}
     newdev.rc
     ${CMAKE_CURRENT_BINARY_DIR}/newdev.def)
index fbb0f59..122c121 100644 (file)
@@ -3,7 +3,7 @@ add_definitions(-D__WINESRC__)
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
 spec2def(npptools.dll npptools.spec)
 
-add_library(npptools SHARED
+add_library(npptools MODULE
     main.c
     ${CMAKE_CURRENT_BINARY_DIR}/npptools_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/npptools.def)
index 3a73db8..4ec1c0a 100644 (file)
@@ -13,7 +13,7 @@ list(APPEND SOURCE
     srw.c
     ${CMAKE_CURRENT_BINARY_DIR}/ntdll_vista.def)
 
-add_library(ntdll_vista SHARED ${SOURCE})
+add_library(ntdll_vista MODULE ${SOURCE})
 set_module_type(ntdll_vista win32dll ENTRYPOINT DllMain 12)
 add_importlibs(ntdll_vista ntdll)
 add_dependencies(ntdll_vista psdk)
index 4f2db85..88a3f81 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/ntdsapi.def)
 
-add_library(ntdsapi SHARED ${SOURCE})
+add_library(ntdsapi MODULE ${SOURCE})
 set_module_type(ntdsapi win32dll)
 target_link_libraries(ntdsapi wine)
 add_importlibs(ntdsapi user32 msvcrt kernel32 ntdll)
index 21773ad..20c73ab 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/ntlanman_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/ntlanman.def)
 
-add_library(ntlanman SHARED ${SOURCE})
+add_library(ntlanman MODULE ${SOURCE})
 set_module_type(ntlanman win32dll UNICODE)
 target_link_libraries(ntlanman wine)
 add_importlibs(ntlanman netapi32 msvcrt kernel32 ntdll)
index 6255385..cecb828 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     ntmarta.rc
     ${CMAKE_CURRENT_BINARY_DIR}/ntmarta.def)
 
-add_library(ntmarta SHARED ${SOURCE})
+add_library(ntmarta MODULE ${SOURCE})
 set_module_type(ntmarta win32dll UNICODE)
 add_importlibs(ntmarta user32 advapi32 msvcrt kernel32 ntdll)
 add_cd_file(TARGET ntmarta DESTINATION reactos/system32 FOR all)
index c32bda6..4187d1d 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     objsel.c
     precomp.h)
 
-add_library(objsel SHARED
+add_library(objsel MODULE
     ${SOURCE}
     objsel.rc
     ${CMAKE_CURRENT_BINARY_DIR}/objsel.def)
index 109606c..2fd48cc 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/odbc32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/odbc32.def)
 
-add_library(odbc32 SHARED ${SOURCE})
+add_library(odbc32 MODULE ${SOURCE})
 set_module_type(odbc32 win32dll)
 target_link_libraries(odbc32 wine)
 add_importlibs(odbc32 advapi32 msvcrt kernel32 ntdll)
index b2f61e6..77949d4 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/odbccp32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/odbccp32.def)
 
-add_library(odbccp32 SHARED ${SOURCE})
+add_library(odbccp32 MODULE ${SOURCE})
 set_module_type(odbccp32 win32dll)
 target_link_libraries(odbccp32 uuid wine)
 add_importlibs(odbccp32 advapi32 msvcrt kernel32 ntdll)
index 3278122..c0b2f20 100644 (file)
@@ -66,7 +66,7 @@ if(MSVC AND (ARCH STREQUAL "i386"))
     list(APPEND SOURCE msvc-thiscall.c)
 endif()
 
-add_library(ole32 SHARED
+add_library(ole32 MODULE
     ${SOURCE}
     guid.c
     ole32res.rc
index 9f28fff..bea28fa 100644 (file)
@@ -27,7 +27,7 @@ list(APPEND oleacc_rc_deps
 
 set_source_files_properties(oleacc.rc PROPERTIES OBJECT_DEPENDS "${oleacc_rc_deps}")
 
-add_library(oleacc SHARED
+add_library(oleacc MODULE
     ${SOURCE}
     guid.c
     oleacc.rc
index 1eae81e..30a18b9 100644 (file)
@@ -36,7 +36,7 @@ if(MSVC)
     add_asm_files(oleaut32_asm msvc.S)
 endif()
 
-add_library(oleaut32 SHARED
+add_library(oleaut32 MODULE
     ${SOURCE}
     ${oleaut32_asm}
     oleaut32.rc
index ac5d2bf..5ade3f7 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/olecli32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/olecli32.def)
 
-add_library(olecli32 SHARED ${SOURCE})
+add_library(olecli32 MODULE ${SOURCE})
 set_module_type(olecli32 win32dll)
 target_link_libraries(olecli32 wine)
 add_importlibs(olecli32 ole32 gdi32 msvcrt kernel32 ntdll)
index 4d568d3..f1abe4e 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     pastespl.c
     precomp.h)
 
-add_library(oledlg SHARED
+add_library(oledlg MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/oledlg.def)
index c4a172e..0513497 100644 (file)
@@ -14,7 +14,7 @@ list(APPEND olepro32_rc_deps
 
 set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${olepro32_rc_deps}")
 
-add_library(olepro32 SHARED ${SOURCE} version.rc)
+add_library(olepro32 MODULE ${SOURCE} version.rc)
 add_dependencies(olepro32 stdole2)
 set_module_type(olepro32 win32dll)
 target_link_libraries(olepro32 wine)
index ebe0bca..1318864 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/olesvr32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/olesvr32.def)
 
-add_library(olesvr32 SHARED ${SOURCE})
+add_library(olesvr32 MODULE ${SOURCE})
 set_module_type(olesvr32 win32dll)
 target_link_libraries(olesvr32 wine)
 add_importlibs(olesvr32 msvcrt kernel32 ntdll)
index c687bcb..aa5bb2d 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/olethk32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/olethk32.def)
 
-add_library(olethk32 SHARED ${SOURCE})
+add_library(olethk32 MODULE ${SOURCE})
 set_module_type(olethk32 win32dll)
 target_link_libraries(olethk32 wine)
 add_importlibs(olethk32 msvcrt kernel32 ntdll)
index ca8c943..dc735a7 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/pdh_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/pdh.def)
 
-add_library(pdh SHARED ${SOURCE})
+add_library(pdh MODULE ${SOURCE})
 set_module_type(pdh win32dll)
 target_link_libraries(pdh wine)
 add_importlibs(pdh msvcrt kernel32_vista kernel32 ntdll)
index 8b5be19..f15cb98 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/pidgen_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/pidgen.def)
 
-add_library(pidgen SHARED ${SOURCE})
+add_library(pidgen MODULE ${SOURCE})
 set_module_type(pidgen win32dll)
 target_link_libraries(pidgen wine)
 add_importlibs(pidgen msvcrt kernel32 ntdll)
index 44146f9..cf6a219 100644 (file)
@@ -1,7 +1,7 @@
 
 spec2def(powrprof.dll powrprof.spec ADD_IMPORTLIB)
 
-add_library(powrprof SHARED
+add_library(powrprof MODULE
     powrprof.c
     powrprof.rc
     ${CMAKE_CURRENT_BINARY_DIR}/powrprof.def)
index 076fbfa..ebf9752 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/printui_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/printui.def)
 
-add_library(printui SHARED ${SOURCE} printui.rc)
+add_library(printui MODULE ${SOURCE} printui.rc)
 set_module_type(printui win32dll)
 target_link_libraries(printui wine)
 add_importlibs(printui shell32 msvcrt kernel32 ntdll)
index 7b61789..8d788ae 100644 (file)
@@ -10,7 +10,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/propsys_stubs.c)
 
-add_library(propsys SHARED
+add_library(propsys MODULE
     ${SOURCE}
     propsys.rc
     ${CMAKE_CURRENT_BINARY_DIR}/propsys.def)
index a58d732..d92b5d4 100644 (file)
@@ -6,7 +6,7 @@ list(APPEND SOURCE
     psapi.rc
     ${CMAKE_CURRENT_BINARY_DIR}/psapi.def)
 
-add_library(psapi SHARED ${SOURCE})
+add_library(psapi MODULE ${SOURCE})
 set_module_type(psapi win32dll)
 target_link_libraries(psapi ${PSEH_LIB})
 add_importlibs(psapi msvcrt kernel32 ntdll)
index e75e4e8..1f168e3 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
 
 add_typelib(pstorec_tlb.idl)
 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/pstorec_tlb.tlb)
-add_library(pstorec SHARED ${SOURCE} rsrc.rc)
+add_library(pstorec MODULE ${SOURCE} rsrc.rc)
 set_module_type(pstorec win32dll)
 target_link_libraries(pstorec uuid wine)
 add_importlibs(pstorec msvcrt kernel32 ntdll)
index 21fec58..eea7ab2 100644 (file)
@@ -16,7 +16,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/qmgr_local_i.c)
 
-add_library(qmgr SHARED
+add_library(qmgr MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
index 1ec90cd..a207e3e 100644 (file)
@@ -15,7 +15,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/proxy.dlldata.c
     ${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
 
-add_library(qmgrprxy SHARED ${SOURCE})
+add_library(qmgrprxy MODULE ${SOURCE})
 set_module_type(qmgrprxy win32dll)
 target_link_libraries(qmgrprxy ${PSEH_LIB} wine)
 add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
index cc527e4..dcceb51 100644 (file)
@@ -11,7 +11,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/query_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/query.def)
 
-add_library(query SHARED ${SOURCE})
+add_library(query MODULE ${SOURCE})
 set_module_type(query win32dll)
 target_link_libraries(query wine)
 add_importlibs(query msvcrt kernel32 ntdll)
index 891525a..9ab054d 100644 (file)
@@ -9,7 +9,7 @@ list(APPEND SOURCE
     precomp.h
     ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp_stubs.c)
 
-add_library(rasadhlp SHARED
+add_library(rasadhlp MODULE
     ${SOURCE}
     ${CMAKE_CURRENT_BINARY_DIR}/rasadhlp.def)
 
index b5eba57..41c7cca 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/rasapi32_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/rasapi32.def)
 
-add_library(rasapi32 SHARED ${SOURCE})
+add_library(rasapi32 MODULE ${SOURCE})
 set_module_type(rasapi32 win32dll)
 target_link_libraries(rasapi32 wine)
 add_importlibs(rasapi32 msvcrt kernel32 ntdll)
index 3b0cb2a..3f2e84d 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/rasdlg_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/rasdlg.def)
 
-add_library(rasdlg SHARED ${SOURCE})
+add_library(rasdlg MODULE ${SOURCE})
 set_module_type(rasdlg win32dll)
 target_link_libraries(rasdlg wine uuid)
 add_importlibs(rasdlg msvcrt kernel32 ntdll)
index ef32f9b..5ba8619 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/rasman_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/rasman.def)
 
-add_library(rasman SHARED ${SOURCE})
+add_library(rasman MODULE ${SOURCE})
 set_module_type(rasman win32dll)
 target_link_libraries(rasman wine uuid)
 add_importlibs(rasman msvcrt kernel32 ntdll)
index 0bdf8f6..111ab7e 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/resutils_stubs.c
     ${CMAKE_CURRENT_BINARY_DIR}/resutils.def)
 
-add_library(resutils SHARED ${SOURCE})
+add_library(resutils MODULE ${SOURCE})
 set_module_type(resutils win32dll)
 target_link_libraries(resutils wine)
 add_importlibs(resutils msvcrt kernel32 ntdll)
index d7ed37d..11e1859 100644 (file)
@@ -30,7 +30,7 @@ list(APPEND riched20_rc_deps
     ${CMAKE_CURRENT_BINARY_DIR}/riched_tom.tlb)
 set_source_files_properties(version.rc PROPERTIES OBJECT_DEPENDS "${riched20_rc_deps}")
 
-add_library(riched20 SHARED
+add_library(riched20 MODULE
     ${SOURCE}
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/riched20.def)
index 8db9e18..f719d7a 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     richedit.c
     ${CMAKE_CURRENT_BINARY_DIR}/riched32.def)
 
-add_library(riched32 SHARED ${SOURCE} version.rc)
+add_library(riched32 MODULE ${SOURCE} version.rc)
 set_module_type(riched32 win32dll)
 target_link_libraries(riched32 wine)
 add_importlibs(riched32 riched20 user32 msvcrt kernel32 ntdll)
index 24c5d8f..a3d6826 100644 (file)
@@ -46,7 +46,7 @@ if(MSVC AND NOT ARCH STREQUAL "arm")
     add_asm_files(rpcrt4_asm msvc.S)
 endif()
 
-add_library(rpcrt4 SHARED
+add_library(rpcrt4 MODULE
     ${SOURCE}
     ndr_typelib.c
     ${CMAKE_CURRENT_BINARY_DIR}/ndr_types_p.c
index 38d9335..4b4cd83 100644 (file)
@@ -7,7 +7,7 @@ list(APPEND SOURCE
     version.rc
     ${CMAKE_CURRENT_BINARY_DIR}/rsabase.def)
 
-add_library(rsabase SHARED ${SOURCE})
+add_library(rsabase MODULE ${SOURCE})
 set_module_type(rsabase win32dll ENTRYPOINT 0 )
 target_link_libraries(rsabase wine)
 add_importlibs(rsabase rsaenh ntdll)
index 6248ed3..700ccb8 100644 (file)
@@ -17,7 +17,7 @@ list(APPEND SOURCE
     sha2.c
     tomcrypt.h)
 
-add_library(rsaenh SHARED
+add_library(rsaenh MODULE
     ${SOURCE}
     rsrc.rc
     ${CMAKE_CURRENT_BINARY_DIR}/rsaenh.def)