* Prepare the CMake scripts for PCH.
CORE-7716
svn path=/trunk/; revision=62077
56 files changed:
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
spec2def(bootvid.dll bootvid.spec ADD_IMPORTLIB)
-list(APPEND SOURCE
- bootvid.rc
- ${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
-
-if(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
-list(APPEND SOURCE
- i386/bootvid.c
- i386/bootdata.c
- i386/vga.c)
+if((ARCH STREQUAL "i386") OR (ARCH STREQUAL "amd64"))
+ list(APPEND SOURCE
+ i386/bootvid.c
+ i386/bootdata.c
+ i386/vga.c)
elseif(ARCH STREQUAL "arm")
elseif(ARCH STREQUAL "arm")
-list(APPEND SOURCE
- arm/bootvid.c
- arm/bootdata.c)
-endif(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
+ list(APPEND SOURCE
+ arm/bootvid.c
+ arm/bootdata.c)
+endif()
-add_library(bootvid SHARED ${SOURCE})
+list(APPEND SOURCE precomp.h)
+
+add_library(bootvid SHARED
+ ${SOURCE}
+ bootvid.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/bootvid.def)
set_entrypoint(bootvid 0)
set_subsystem(bootvid native)
set_image_base(bootvid 0x00010000)
add_importlibs(bootvid ntoskrnl hal)
set_entrypoint(bootvid 0)
set_subsystem(bootvid native)
set_image_base(bootvid 0x00010000)
add_importlibs(bootvid ntoskrnl hal)
-add_pch(bootvid precomp.h)
+add_pch(bootvid precomp.h SOURCE)
add_dependencies(bootvid psdk bugcodes)
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
add_dependencies(bootvid psdk bugcodes)
add_cd_file(TARGET bootvid DESTINATION reactos/system32 NO_CAB FOR all)
## spec2def(condrv.sys condrv.spec ADD_IMPORTLIB)
## spec2def(condrv.sys condrv.spec ADD_IMPORTLIB)
-add_library(condrv SHARED
+ condrv.h)
+
+add_library(condrv SHARED
+ ${SOURCE}
condrv.rc)
# ${CMAKE_CURRENT_BINARY_DIR}/condrv.def)
condrv.rc)
# ${CMAKE_CURRENT_BINARY_DIR}/condrv.def)
-add_pch(condrv condrv.h)
+add_pch(condrv condrv.h SOURCE)
set_module_type(condrv kernelmodedriver)
target_link_libraries(condrv ${PSEH_LIB})
set_module_type(condrv kernelmodedriver)
target_link_libraries(condrv ${PSEH_LIB})
spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
spec2def(kdcom.dll kdcom.spec ADD_IMPORTLIB)
-add_library(kdcom SHARED
kdcom.c
kddll.c
kdserial.c
kdcom.c
kddll.c
kdserial.c
+ kddll.h)
+
+add_library(kdcom SHARED
+ ${SOURCE}
kdcom.rc
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
kdcom.rc
${CMAKE_CURRENT_BINARY_DIR}/kdcom.def)
add_importlibs(kdcom ntoskrnl hal)
target_link_libraries(kdcom cportlib)
add_dependencies(kdcom psdk bugcodes)
add_importlibs(kdcom ntoskrnl hal)
target_link_libraries(kdcom cportlib)
add_dependencies(kdcom psdk bugcodes)
+add_pch(kdcom kddll.h SOURCE)
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
add_cd_file(TARGET kdcom DESTINATION reactos/system32 NO_CAB FOR all)
add_definitions(-DWIN64)
endif()
add_definitions(-DWIN64)
endif()
+list(APPEND ACPICA_SOURCE
acpica/dispatcher/dsargs.c
acpica/dispatcher/dscontrol.c
acpica/dispatcher/dsfield.c
acpica/dispatcher/dsargs.c
acpica/dispatcher/dscontrol.c
acpica/dispatcher/dsfield.c
acpica/utilities/utdecode.c
acpica/utilities/utdelete.c
acpica/utilities/uteval.c
acpica/utilities/utdecode.c
acpica/utilities/utdelete.c
acpica/utilities/uteval.c
- acpica/utilities/utglobal.c
acpica/utilities/utids.c
acpica/utilities/utinit.c
acpica/utilities/utlock.c
acpica/utilities/utids.c
acpica/utilities/utinit.c
acpica/utilities/utlock.c
acpica/utilities/utstate.c
acpica/utilities/uttrack.c
acpica/utilities/utxface.c
acpica/utilities/utstate.c
acpica/utilities/uttrack.c
acpica/utilities/utxface.c
- acpica/utilities/utxferror.c)
+ acpica/utilities/utxferror.c
+ acpica/include/acpi.h)
+
+add_library(acpica
+ ${ACPICA_SOURCE}
+ acpica/utilities/utglobal.c)
+add_pch(acpica acpica/include/acpi.h ACPICA_SOURCE)
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE")
add_dependencies(acpica bugcodes)
set_target_properties(acpica PROPERTIES COMPILE_DEFINITIONS "ACPI_USE_LOCAL_CACHE")
add_dependencies(acpica bugcodes)
busmgr/bus.c
busmgr/button.c
busmgr/power.c
busmgr/bus.c
busmgr/button.c
busmgr/power.c
+add_library(acpi SHARED ${ACPI_SOURCE})
set_module_type(acpi kernelmodedriver)
target_link_libraries(acpi wdmguid acpica ${PSEH_LIB})
add_importlibs(acpi ntoskrnl hal)
set_module_type(acpi kernelmodedriver)
target_link_libraries(acpi wdmguid acpica ${PSEH_LIB})
add_importlibs(acpi ntoskrnl hal)
+add_pch(acpi precomp.h ACPI_SOURCE)
add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_subdirectory(cmbatt)
add_cd_file(TARGET acpi DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_subdirectory(cmbatt)
cmexec.c
cmbpnp.c
cmbwmi.c
cmexec.c
cmbpnp.c
cmbwmi.c
+ cmbatt.h)
+
+add_library(cmbatt SHARED
+ ${SOURCE}
-add_library(cmbatt SHARED ${SOURCE})
-
set_module_type(cmbatt kernelmodedriver)
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
set_module_type(cmbatt kernelmodedriver)
add_importlibs(cmbatt ntoskrnl hal battc wmilib)
-add_pch(cmbatt cmbatt.h)
+add_pch(cmbatt cmbatt.h SOURCE)
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET cmbatt DESTINATION reactos/system32/drivers FOR all)
compbatt.c
compmisc.c
comppnp.c
compbatt.c
compmisc.c
comppnp.c
+ compbatt.h)
+
+add_library(compbatt SHARED
+ ${SOURCE}
-add_library(compbatt SHARED ${SOURCE})
-
set_module_type(compbatt kernelmodedriver)
add_importlibs(compbatt ntoskrnl hal battc)
set_module_type(compbatt kernelmodedriver)
add_importlibs(compbatt ntoskrnl hal battc)
-add_pch(compbatt compbatt.h)
+add_pch(compbatt compbatt.h SOURCE)
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET compbatt DESTINATION reactos/system32/drivers FOR all)
-add_library(isapnp SHARED
isapnp.c
pdo.c
fdo.c
hardware.c
isapnp.c
pdo.c
fdo.c
hardware.c
+add_library(isapnp SHARED ${SOURCE} isapnp.rc)
set_module_type(isapnp kernelmodedriver)
add_importlibs(isapnp ntoskrnl hal)
set_module_type(isapnp kernelmodedriver)
add_importlibs(isapnp ntoskrnl hal)
-add_pch(isapnp isapnp.h)
+add_pch(isapnp isapnp.h SOURCE)
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET isapnp DESTINATION reactos/system32/drivers NO_CAB FOR all)
+add_library(pci SHARED ${SOURCE} pci.rc)
set_module_type(pci kernelmodedriver)
add_importlibs(pci ntoskrnl hal)
set_module_type(pci kernelmodedriver)
add_importlibs(pci ntoskrnl hal)
+add_pch(pci pci.h SOURCE)
add_cd_file(TARGET pci DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET pci DESTINATION reactos/system32/drivers NO_CAB FOR all)
hookhal.c
init.c
pcivrify.c
hookhal.c
init.c
pcivrify.c
-add_library(pcix SHARED ${SOURCE})
+add_library(pcix SHARED
+ ${SOURCE}
+ guid.c
+ pci.rc)
set_module_type(pcix kernelmodedriver)
add_importlibs(pcix ntoskrnl hal)
set_module_type(pcix kernelmodedriver)
add_importlibs(pcix ntoskrnl hal)
+add_pch(pcix pci.h SOURCE)
add_dependencies(pcix pciclass)
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_dependencies(pcix pciclass)
add_cd_file(TARGET pcix DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(pcmcia SHARED
+add_library(pcmcia SHARED ${SOURCE} pcmcia.rc)
set_module_type(pcmcia kernelmodedriver)
set_module_type(pcmcia kernelmodedriver)
-add_pch(pcmcia pcmcia.h)
+add_pch(pcmcia pcmcia.h SOURCE)
add_importlibs(pcmcia ntoskrnl hal)
add_cd_file(TARGET pcmcia DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_importlibs(pcmcia ntoskrnl hal)
add_cd_file(TARGET pcmcia DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(cdfs SHARED ${SOURCE})
+add_library(cdfs SHARED ${SOURCE} cdfs.rc)
set_module_type(cdfs kernelmodedriver)
add_importlibs(cdfs ntoskrnl hal)
set_module_type(cdfs kernelmodedriver)
add_importlibs(cdfs ntoskrnl hal)
+add_pch(cdfs cdfs.h SOURCE)
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
src/read.c
src/cleanup.c
src/misc.c
src/read.c
src/cleanup.c
src/misc.c
+ src/shutdown.c
+ inc/ext2fsd.h)
+
add_library(ext2fs SHARED ${SOURCE})
if(NOT MSVC)
add_library(ext2fs SHARED ${SOURCE})
if(NOT MSVC)
allow_warnings(ext2fs)
target_link_libraries(ext2fs ${PSEH_LIB})
allow_warnings(ext2fs)
target_link_libraries(ext2fs ${PSEH_LIB})
-add_pch(ext2fs inc/ext2fsd.h)
+add_pch(ext2fs inc/ext2fsd.h SOURCE)
set_module_type(ext2fs kernelmodedriver)
add_importlibs(ext2fs ntoskrnl hal)
add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)
set_module_type(ext2fs kernelmodedriver)
add_importlibs(ext2fs ntoskrnl hal)
add_cd_file(TARGET ext2fs DESTINATION reactos/system32/drivers NO_CAB FOR all)
shutdown.c
string.c
volume.c
shutdown.c
string.c
volume.c
-add_library(fastfat SHARED ${SOURCE})
+add_library(fastfat SHARED ${SOURCE} vfatfs.rc)
set_module_type(fastfat kernelmodedriver)
add_importlibs(fastfat ntoskrnl hal)
set_module_type(fastfat kernelmodedriver)
add_importlibs(fastfat ntoskrnl hal)
+add_pch(fastfat vfat.h SOURCE)
add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(fs_rec SHARED
+add_library(fs_rec SHARED ${SOURCE} fs_rec.rc)
set_module_type(fs_rec kernelmodedriver)
add_importlibs(fs_rec ntoskrnl hal)
set_module_type(fs_rec kernelmodedriver)
add_importlibs(fs_rec ntoskrnl hal)
-add_pch(fs_rec fs_rec.h)
+add_pch(fs_rec fs_rec.h SOURCE)
add_cd_file(TARGET fs_rec DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET fs_rec DESTINATION reactos/system32/drivers FOR all)
-add_library(msfs SHARED ${SOURCE})
+add_library(msfs SHARED ${SOURCE} msfs.rc)
set_module_type(msfs kernelmodedriver)
add_importlibs(msfs ntoskrnl hal)
set_module_type(msfs kernelmodedriver)
add_importlibs(msfs ntoskrnl hal)
+add_pch(msfs msfs.h SOURCE)
add_cd_file(TARGET msfs DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET msfs DESTINATION reactos/system32/drivers FOR all)
+add_library(mup SHARED ${SOURCE} mup.rc)
set_module_type(mup kernelmodedriver)
add_importlibs(mup ntoskrnl hal)
set_module_type(mup kernelmodedriver)
add_importlibs(mup ntoskrnl hal)
+add_pch(mup mup.h SOURCE)
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET mup DESTINATION reactos/system32/drivers FOR all)
volinfo.c
waitsup.c
write.c
volinfo.c
waitsup.c
write.c
add_library(npfs SHARED ${SOURCE})
set_module_type(npfs kernelmodedriver)
target_link_libraries(npfs ${PSEH_LIB})
add_importlibs(npfs ntoskrnl hal)
add_library(npfs SHARED ${SOURCE})
set_module_type(npfs kernelmodedriver)
target_link_libraries(npfs ${PSEH_LIB})
add_importlibs(npfs ntoskrnl hal)
+add_pch(npfs npfs.h SOURCE)
add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET npfs DESTINATION reactos/system32/drivers FOR all)
-add_library(ntfs SHARED ${SOURCE})
+add_library(ntfs SHARED ${SOURCE} ntfs.rc)
set_module_type(ntfs kernelmodedriver)
add_importlibs(ntfs ntoskrnl hal)
set_module_type(ntfs kernelmodedriver)
add_importlibs(ntfs ntoskrnl hal)
+add_pch(ntfs ntfs.h SOURCE)
add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET ntfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
point.c
symlink.c
uniqueid.c
point.c
symlink.c
uniqueid.c
-add_library(mountmgr SHARED ${SOURCE})
+add_library(mountmgr SHARED ${SOURCE} mountmgr.rc)
target_link_libraries(mountmgr wdmguid ioevent)
set_module_type(mountmgr kernelmodedriver)
add_importlibs(mountmgr ntoskrnl hal)
target_link_libraries(mountmgr wdmguid ioevent)
set_module_type(mountmgr kernelmodedriver)
add_importlibs(mountmgr ntoskrnl hal)
-add_pch(mountmgr mntmgr.h)
+add_pch(mountmgr mntmgr.h SOURCE)
add_cd_file(TARGET mountmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET mountmgr DESTINATION reactos/system32/drivers NO_CAB FOR all)
list(APPEND SOURCE
fdo.c
hidclass.c
list(APPEND SOURCE
fdo.c
hidclass.c
+ precomp.h)
+
+add_library(hidclass SHARED
+ ${SOURCE}
${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
${CMAKE_CURRENT_BINARY_DIR}/hidclass.def)
-add_library(hidclass SHARED ${SOURCE})
-
set_entrypoint(hidclass 0)
set_subsystem(hidclass native)
set_target_properties(hidclass PROPERTIES SUFFIX ".sys")
set_entrypoint(hidclass 0)
set_subsystem(hidclass native)
set_target_properties(hidclass PROPERTIES SUFFIX ".sys")
add_importlibs(hidclass ntoskrnl hidparse hal)
add_dependencies(hidclass bugcodes)
add_importlibs(hidclass ntoskrnl hidparse hal)
add_dependencies(hidclass bugcodes)
+add_pch(hidclass precomp.h SOURCE)
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET hidclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(i8042prt SHARED
createclose.c
i8042prt.c
keyboard.c
createclose.c
i8042prt.c
keyboard.c
ps2pp.c
readwrite.c
registry.c
ps2pp.c
readwrite.c
registry.c
+ i8042prt.h)
+
+add_library(i8042prt SHARED
+ ${SOURCE}
guid.c
i8042prt.rc)
set_module_type(i8042prt kernelmodedriver)
add_importlibs(i8042prt ntoskrnl hal)
guid.c
i8042prt.rc)
set_module_type(i8042prt kernelmodedriver)
add_importlibs(i8042prt ntoskrnl hal)
-add_pch(i8042prt i8042prt.h)
+add_pch(i8042prt i8042prt.h SOURCE)
add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET i8042prt DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(kbdclass SHARED
+ kbdclass.h)
+
+add_library(kbdclass SHARED
+ ${SOURCE}
guid.c
kbdclass.rc)
set_module_type(kbdclass kernelmodedriver)
guid.c
kbdclass.rc)
set_module_type(kbdclass kernelmodedriver)
-add_pch(kbdclass kbdclass.h)
+add_pch(kbdclass kbdclass.h SOURCE)
target_link_libraries(kbdclass ${PSEH_LIB})
add_importlibs(kbdclass ntoskrnl hal)
add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
target_link_libraries(kbdclass ${PSEH_LIB})
add_importlibs(kbdclass ntoskrnl hal)
add_cd_file(TARGET kbdclass DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(mouclass SHARED
+ mouclass.h)
+
+add_library(mouclass SHARED
+ ${SOURCE}
guid.c
mouclass.rc)
set_module_type(mouclass kernelmodedriver)
guid.c
mouclass.rc)
set_module_type(mouclass kernelmodedriver)
-add_pch(mouclass mouclass.h)
target_link_libraries(mouclass ${PSEH_LIB})
add_importlibs(mouclass ntoskrnl hal)
target_link_libraries(mouclass ${PSEH_LIB})
add_importlibs(mouclass ntoskrnl hal)
+add_pch(mouclass mouclass.h SOURCE)
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET mouclass DESTINATION reactos/system32/drivers FOR all)
-add_library(sermouse SHARED
createclose.c
detect.c
fdo.c
createclose.c
detect.c
fdo.c
misc.c
readmouse.c
sermouse.c
misc.c
readmouse.c
sermouse.c
+add_library(sermouse SHARED ${SOURCE} sermouse.rc)
set_module_type(sermouse kernelmodedriver)
set_module_type(sermouse kernelmodedriver)
-add_pch(sermouse sermouse.h)
+add_pch(sermouse sermouse.h SOURCE)
add_importlibs(sermouse ntoskrnl hal)
add_cd_file(TARGET sermouse DESTINATION reactos/system32/drivers FOR all)
add_importlibs(sermouse ntoskrnl hal)
add_cd_file(TARGET sermouse DESTINATION reactos/system32/drivers FOR all)
- ks.rc
- ${CMAKE_CURRENT_BINARY_DIR}/ks.def)
if(MSVC)
add_asm_files(ks_asm msvc.S)
endif()
if(MSVC)
add_asm_files(ks_asm msvc.S)
endif()
-add_library(ks SHARED ${SOURCE} ${ks_asm})
+add_library(ks SHARED
+ ${SOURCE}
+ ${ks_asm}
+ ks.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/ks.def)
set_target_properties(ks PROPERTIES SUFFIX ".sys")
set_target_properties(ks PROPERTIES SUFFIX ".sys")
set_image_base(ks 0x00010000)
target_link_libraries(ks ${PSEH_LIB})
set_image_base(ks 0x00010000)
target_link_libraries(ks ${PSEH_LIB})
+add_pch(ks precomp.h SOURCE)
add_importlibs(ks ntoskrnl hal)
add_dependencies(ks psdk bugcodes)
add_cd_file(TARGET ks DESTINATION reactos/system32/drivers FOR all)
add_importlibs(ks ntoskrnl hal)
add_dependencies(ks psdk bugcodes)
add_cd_file(TARGET ks DESTINATION reactos/system32/drivers FOR all)
afd/tdi.c
afd/tdiconn.c
afd/write.c
afd/tdi.c
afd/tdiconn.c
afd/write.c
-add_library(afd SHARED ${SOURCE})
+add_library(afd SHARED ${SOURCE} afd.rc)
target_link_libraries(afd ${PSEH_LIB})
set_module_type(afd kernelmodedriver)
add_importlibs(afd ntoskrnl hal)
target_link_libraries(afd ${PSEH_LIB})
set_module_type(afd kernelmodedriver)
add_importlibs(afd ntoskrnl hal)
-add_pch(afd include/afd.h)
+add_pch(afd include/afd.h SOURCE)
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET afd DESTINATION reactos/system32/drivers FOR all)
list(APPEND SOURCE
ne2000/8390.c
ne2000/main.c
list(APPEND SOURCE
ne2000/8390.c
ne2000/main.c
-add_library(ne2000 SHARED ${SOURCE})
-add_pch(ne2000 include/ne2000.h)
+add_library(ne2000 SHARED ${SOURCE} ne2000.rc)
+add_pch(ne2000 include/ne2000.h SOURCE)
set_module_type(ne2000 kernelmodedriver)
add_importlibs(ne2000 ndis ntoskrnl hal)
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)
set_module_type(ne2000 kernelmodedriver)
add_importlibs(ne2000 ndis ntoskrnl hal)
add_cd_file(TARGET ne2000 DESTINATION reactos/system32/drivers FOR all)
list(APPEND SOURCE
pcnet.c
requests.c
list(APPEND SOURCE
pcnet.c
requests.c
-add_library(pcnet SHARED ${SOURCE})
-add_pch(pcnet pcnet.h)
+add_library(pcnet SHARED ${SOURCE} pcnet.rc)
+add_pch(pcnet pcnet.h SOURCE)
set_module_type(pcnet kernelmodedriver)
add_importlibs(pcnet ndis ntoskrnl hal)
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
set_module_type(pcnet kernelmodedriver)
add_importlibs(pcnet ndis ntoskrnl hal)
add_cd_file(TARGET pcnet DESTINATION reactos/system32/drivers FOR all)
hardware.c
info.c
interrupt.c
hardware.c
info.c
interrupt.c
-add_library(rtl8139 SHARED ${SOURCE})
-add_pch(rtl8139 nic.h)
+add_library(rtl8139 SHARED ${SOURCE} rtl8139.rc)
+add_pch(rtl8139 nic.h SOURCE)
set_module_type(rtl8139 kernelmodedriver)
add_importlibs(rtl8139 ndis ntoskrnl hal)
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
set_module_type(rtl8139 kernelmodedriver)
add_importlibs(rtl8139 ndis ntoskrnl hal)
add_cd_file(TARGET rtl8139 DESTINATION reactos/system32/drivers FOR all)
ndis/protocol.c
ndis/string.c
ndis/time.c
ndis/protocol.c
ndis/string.c
ndis/time.c
+ include/ndissys.h)
+
+add_library(ndis SHARED
+ ${SOURCE}
ndis.rc
${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
ndis.rc
${CMAKE_CURRENT_BINARY_DIR}/ndis.def)
-add_library(ndis SHARED ${SOURCE})
-
set_module_type(ndis kernelmodedriver)
add_importlibs(ndis ntoskrnl hal)
set_module_type(ndis kernelmodedriver)
add_importlibs(ndis ntoskrnl hal)
-add_pch(ndis include/ndissys.h)
+add_pch(ndis include/ndissys.h SOURCE)
add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET ndis DESTINATION reactos/system32/drivers FOR all)
${REACTOS_SOURCE_DIR}/include/reactos/drivers/ndisuio)
list(APPEND SOURCE
${REACTOS_SOURCE_DIR}/include/reactos/drivers/ndisuio)
list(APPEND SOURCE
- createclose.c
- ioctl.c
- main.c
- misc.c
- protocol.c
- readwrite.c
- ndisuio.rc)
-
-add_library(ndisuio SHARED ${SOURCE})
+ createclose.c
+ ioctl.c
+ main.c
+ misc.c
+ protocol.c
+ readwrite.c
+ ndisuio.h)
+add_library(ndisuio SHARED ${SOURCE} ndisuio.rc)
set_module_type(ndisuio kernelmodedriver)
add_importlibs(ndisuio ndis ntoskrnl hal)
set_module_type(ndisuio kernelmodedriver)
add_importlibs(ndisuio ndis ntoskrnl hal)
-
-add_pch(ndisuio ndisuio.h)
-
+add_pch(ndisuio ndisuio.h SOURCE)
add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET ndisuio DESTINATION reactos/system32/drivers FOR all)
tcpip/proto.c
tcpip/tinfo.c
tcpip/wait.c
tcpip/proto.c
tcpip/tinfo.c
tcpip/wait.c
+ include/precomp.h)
+
+add_library(tcpip SHARED
+ ${SOURCE}
tcpip.rc
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
tcpip.rc
${CMAKE_CURRENT_BINARY_DIR}/tcpip.def)
-add_library(tcpip SHARED ${SOURCE})
-
target_link_libraries(tcpip
ip
lwip
target_link_libraries(tcpip
ip
lwip
set_module_type(tcpip kernelmodedriver)
add_importlibs(tcpip ndis ntoskrnl hal)
set_module_type(tcpip kernelmodedriver)
add_importlibs(tcpip ndis ntoskrnl hal)
-add_pch(tcpip include/precomp.h)
+add_pch(tcpip include/precomp.h SOURCE)
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET tcpip DESTINATION reactos/system32/drivers FOR all)
cte/string.c
cte/timer.c
misc/main.c
cte/string.c
cte/timer.c
misc/main.c
tdi/dereg.c
tdi/handler.c
tdi/obsolete.c
tdi/stubs.c
tdi/dereg.c
tdi/handler.c
tdi/obsolete.c
tdi/stubs.c
+ precomp.h)
+
+add_library(tdi SHARED
+ ${SOURCE}
+ misc/tdi.rc
${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
${CMAKE_CURRENT_BINARY_DIR}/tdi.def)
-add_library(tdi SHARED ${SOURCE})
-add_pch(tdi precomp.h)
+add_pch(tdi precomp.h SOURCE)
set_module_type(tdi kernelmodedriver)
add_importlibs(tdi ntoskrnl hal)
add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all)
set_module_type(tdi kernelmodedriver)
add_importlibs(tdi ntoskrnl hal)
add_cd_file(TARGET tdi DESTINATION reactos/system32/drivers FOR all)
include_directories(${REACTOS_SOURCE_DIR})
list(APPEND SOURCE
include_directories(${REACTOS_SOURCE_DIR})
list(APPEND SOURCE
- chanmgr.c
- channel.c
- cmdchan.c
- concmd.c
- conmgr.c
- data.c
- dispatch.c
- init.c
- memory.c
- rawchan.c
- util.c
- vtutf8chan.c)
+ chanmgr.c
+ channel.c
+ cmdchan.c
+ concmd.c
+ conmgr.c
+ data.c
+ dispatch.c
+ init.c
+ memory.c
+ rawchan.c
+ util.c
+ vtutf8chan.c
+ sacdrv.h)
add_library(sacdrv SHARED ${SOURCE} sacdrv.rc)
set_module_type(sacdrv kernelmodedriver)
add_importlibs(sacdrv ntoskrnl hal)
add_dependencies(sacdrv sacmsg)
add_library(sacdrv SHARED ${SOURCE} sacdrv.rc)
set_module_type(sacdrv kernelmodedriver)
add_importlibs(sacdrv ntoskrnl hal)
add_dependencies(sacdrv sacmsg)
+add_pch(sacdrv sacdrv.h SOURCE)
add_cd_file(TARGET sacdrv DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET sacdrv DESTINATION reactos/system32/drivers NO_CAB FOR all)
-add_library(serenum SHARED
detect.c
fdo.c
misc.c
pdo.c
serenum.c
detect.c
fdo.c
misc.c
pdo.c
serenum.c
+ serenum.h)
+
+add_library(serenum SHARED
+ ${SOURCE}
-add_pch(serenum serenum.h)
+add_pch(serenum serenum.h SOURCE)
set_module_type(serenum kernelmodedriver)
add_importlibs(serenum ntoskrnl hal)
add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers FOR all)
set_module_type(serenum kernelmodedriver)
add_importlibs(serenum ntoskrnl hal)
add_cd_file(TARGET serenum DESTINATION reactos/system32/drivers FOR all)
-add_library(serial SHARED
circularbuffer.c
cleanup.c
close.c
circularbuffer.c
cleanup.c
close.c
+ serial.h)
+
+add_library(serial SHARED
+ ${SOURCE}
-add_pch(serial serial.h)
set_module_type(serial kernelmodedriver)
add_importlibs(serial ntoskrnl hal)
set_module_type(serial kernelmodedriver)
add_importlibs(serial ntoskrnl hal)
+add_pch(serial serial.h SOURCE)
add_cd_file(TARGET serial DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET serial DESTINATION reactos/system32/drivers FOR all)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
-add_library(blue SHARED blue.c font.c blue.rc)
+list(APPEND SOURCE
+ blue.c
+ font.c
+ blue.h)
+add_library(blue SHARED ${SOURCE} blue.rc)
set_module_type(blue kernelmodedriver)
add_importlibs(blue ntoskrnl hal)
set_module_type(blue kernelmodedriver)
add_importlibs(blue ntoskrnl hal)
+add_pch(blue blue.h SOURCE)
add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET blue DESTINATION reactos/system32/drivers NO_CAB FOR all)
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
-add_library(cdrom SHARED cdrom.c findscsi.c cdrom.rc)
+list(APPEND SOURCE
+ cdrom.c
+ findscsi.c
+ precomp.h)
+
+add_library(cdrom SHARED ${SOURCE} cdrom.rc)
set_module_type(cdrom kernelmodedriver)
add_importlibs(cdrom
set_module_type(cdrom kernelmodedriver)
add_importlibs(cdrom
-add_pch(cdrom precomp.h)
+add_pch(cdrom precomp.h SOURCE)
add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET cdrom DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_library(cdrom_new SHARED ${SOURCE})
add_library(cdrom_new SHARED ${SOURCE})
set_module_type(cdrom_new kernelmodedriver)
add_importlibs(cdrom_new classpnp ntoskrnl hal)
set_module_type(cdrom_new kernelmodedriver)
add_importlibs(cdrom_new classpnp ntoskrnl hal)
+add_pch(cdrom_new cdrom.h SOURCE)
-add_library(disk_new SHARED
- ${SOURCE}
- disk.rc)
+add_library(disk_new SHARED ${SOURCE} disk.rc)
target_link_libraries(disk_new libcntpr wdmguid)
if(ARCH STREQUAL "i386")
target_link_libraries(disk_new libcntpr wdmguid)
if(ARCH STREQUAL "i386")
set_module_type(disk_new kernelmodedriver)
add_importlibs(disk_new classpnp ntoskrnl hal)
set_module_type(disk_new kernelmodedriver)
add_importlibs(disk_new classpnp ntoskrnl hal)
+add_pch(disk_new disk.h SOURCE)
add_cd_file(TARGET disk_new DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET disk_new DESTINATION reactos/system32/drivers NO_CAB FOR all)
retry.c
utils.c
xferpkt.c
retry.c
utils.c
xferpkt.c
- guid.c
- ${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
add_library(classpnp SHARED
${SOURCE}
add_library(classpnp SHARED
${SOURCE}
+ guid.c
+ class.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/classpnp.def)
if(ARCH STREQUAL "i386")
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
if(ARCH STREQUAL "i386")
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
-add_pch(classpnp classp.h)
+add_pch(classpnp classp.h SOURCE)
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
set_module_type(classpnp kernelmodedriver)
add_importlibs(classpnp hal ntoskrnl)
target_link_libraries(classpnp ${PSEH_LIB} libcntpr)
set_module_type(classpnp kernelmodedriver)
add_importlibs(classpnp hal ntoskrnl)
+add_library(fdc SHARED ${SOURCE} fdc.rc)
set_module_type(fdc kernelmodedriver)
add_importlibs(fdc hal ntoskrnl)
set_module_type(fdc kernelmodedriver)
add_importlibs(fdc hal ntoskrnl)
+add_pch(fdc fdc.h SOURCE)
add_cd_file(TARGET fdc DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET fdc DESTINATION reactos/system32/drivers FOR all)
-add_library(floppy SHARED
csqrtns.c
floppy.c
hardware.c
ioctl.c
readwrite.c
csqrtns.c
floppy.c
hardware.c
ioctl.c
readwrite.c
+add_library(floppy SHARED ${SOURCE} floppy.rc)
target_link_libraries(floppy csq)
target_link_libraries(floppy csq)
-add_pch(floppy precomp.h)
+add_pch(floppy precomp.h SOURCE)
set_module_type(floppy kernelmodedriver)
add_importlibs(floppy hal ntoskrnl)
add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB FOR all)
set_module_type(floppy kernelmodedriver)
add_importlibs(floppy hal ntoskrnl)
add_cd_file(TARGET floppy DESTINATION reactos/system32/drivers NO_CAB FOR all)
+ pciidex.h)
+
+add_library(pciidex SHARED
+ ${SOURCE}
pciidex.rc
${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
pciidex.rc
${CMAKE_CURRENT_BINARY_DIR}/pciidex.def)
-add_library(pciidex SHARED ${SOURCE})
-add_pch(pciidex pciidex.h)
+add_pch(pciidex pciidex.h SOURCE)
set_module_type(pciidex kernelmodedriver)
add_importlibs(pciidex ntoskrnl)
add_cd_file(TARGET pciidex DESTINATION reactos/system32/drivers NO_CAB FOR all)
set_module_type(pciidex kernelmodedriver)
add_importlibs(pciidex ntoskrnl)
add_cd_file(TARGET pciidex DESTINATION reactos/system32/drivers NO_CAB FOR all)
id_probe.cpp
id_queue.cpp
id_sata.cpp
id_probe.cpp
id_queue.cpp
id_sata.cpp
+ ros_glue/ros_glue.cpp
+ stdafx.h)
add_library(uniata SHARED ${SOURCE} idedma.rc)
add_library(uniata SHARED ${SOURCE} idedma.rc)
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-unused-but-set-variable -Wno-narrowing")
endif()
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-unused-but-set-variable -Wno-narrowing")
endif()
-add_pch(uniata stdafx.h)
+add_pch(uniata stdafx.h SOURCE)
set_module_type(uniata kernelmodedriver)
add_importlibs(uniata scsiport ntoskrnl hal)
add_cd_file(TARGET uniata DESTINATION reactos/system32/drivers NO_CAB FOR all)
set_module_type(uniata kernelmodedriver)
add_importlibs(uniata scsiport ntoskrnl hal)
add_cd_file(TARGET uniata DESTINATION reactos/system32/drivers NO_CAB FOR all)
list(APPEND SOURCE
scsiport.c
stubs.c
list(APPEND SOURCE
scsiport.c
stubs.c
+ precomp.h)
+
+add_library(scsiport SHARED
+ ${SOURCE}
scsiport.rc
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
scsiport.rc
${CMAKE_CURRENT_BINARY_DIR}/scsiport.def)
-
-add_library(scsiport SHARED ${SOURCE})
-add_pch(scsiport precomp.h)
+
+add_pch(scsiport precomp.h SOURCE)
set_module_type(scsiport kernelmodedriver)
add_importlibs(scsiport ntoskrnl hal)
set_module_type(scsiport kernelmodedriver)
add_importlibs(scsiport ntoskrnl hal)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
-add_library(usbccgp SHARED descriptor.c fdo.c function.c misc.c pdo.c usbccgp.c guid.c usbccgp.rc)
+list(APPEND SOURCE
+ descriptor.c
+ fdo.c
+ function.c
+ misc.c
+ pdo.c
+ usbccgp.c
+ usbccgp.h)
+
+add_library(usbccgp SHARED
+ ${SOURCE}
+ guid.c
+ usbccgp.rc)
target_link_libraries(usbccgp ${PSEH_LIB})
set_module_type(usbccgp kernelmodedriver)
add_importlibs(usbccgp ntoskrnl hal usbd)
target_link_libraries(usbccgp ${PSEH_LIB})
set_module_type(usbccgp kernelmodedriver)
add_importlibs(usbccgp ntoskrnl hal usbd)
+add_pch(usbccgp usbccgp.h SOURCE)
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET usbccgp DESTINATION reactos/system32/drivers NO_CAB FOR all)
usb_request.cpp
usb_queue.cpp
hardware.cpp
usb_request.cpp
usb_queue.cpp
hardware.cpp
add_library(usbehci SHARED
${SOURCE}
add_library(usbehci SHARED
${SOURCE}
usbehci.rc)
target_link_libraries(usbehci
usbehci.rc)
target_link_libraries(usbehci
set_module_type(usbehci kernelmodedriver)
add_importlibs(usbehci ntoskrnl hal usbd)
set_module_type(usbehci kernelmodedriver)
add_importlibs(usbehci ntoskrnl hal usbd)
+add_pch(usbehci usbehci.h SOURCE)
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET usbehci DESTINATION reactos/system32/drivers NO_CAB FOR all)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
-add_library(usbhub SHARED fdo.c misc.c pdo.c hub_fdo.c usbhub.c guid.c usbhub.rc)
+list(APPEND SOURCE
+ fdo.c
+ hub_fdo.c
+ misc.c
+ pdo.c
+ usbhub.c
+ usbhub.h)
+
+add_library(usbhub SHARED
+ ${SOURCE}
+ guid.c
+ usbhub.rc)
target_link_libraries(usbhub ${PSEH_LIB})
set_module_type(usbhub kernelmodedriver)
add_importlibs(usbhub ntoskrnl hal usbd)
target_link_libraries(usbhub ${PSEH_LIB})
set_module_type(usbhub kernelmodedriver)
add_importlibs(usbhub ntoskrnl hal usbd)
+add_pch(usbhub usbhub.h SOURCE)
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET usbhub DESTINATION reactos/system32/drivers NO_CAB FOR all)
usb_request.cpp
usb_queue.cpp
hardware.cpp
usb_request.cpp
usb_queue.cpp
hardware.cpp
add_library(usbohci SHARED
${SOURCE}
add_library(usbohci SHARED
${SOURCE}
usbohci.rc)
target_link_libraries(usbohci
usbohci.rc)
target_link_libraries(usbohci
set_module_type(usbohci kernelmodedriver)
add_importlibs(usbohci ntoskrnl hal usbd)
set_module_type(usbohci kernelmodedriver)
add_importlibs(usbohci ntoskrnl hal usbd)
+add_pch(usbohci usbohci.h SOURCE)
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET usbohci DESTINATION reactos/system32/drivers NO_CAB FOR all)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
include_directories(${REACTOS_SOURCE_DIR}/ntoskrnl/include)
-add_library(usbstor SHARED descriptor.c disk.c fdo.c misc.c pdo.c queue.c error.c scsi.c usbstor.c guid.c usbstor.rc)
+list(APPEND SOURCE
+ descriptor.c
+ disk.c
+ fdo.c
+ misc.c
+ pdo.c
+ queue.c
+ error.c
+ scsi.c
+ usbstor.c
+ usbstor.h)
+
+add_library(usbstor SHARED
+ ${SOURCE}
+ guid.c
+ usbstor.rc)
set_module_type(usbstor kernelmodedriver)
add_importlibs(usbstor ntoskrnl hal usbd)
set_module_type(usbstor kernelmodedriver)
add_importlibs(usbstor ntoskrnl hal usbd)
+add_pch(usbstor usbstor.h SOURCE)
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET usbstor DESTINATION reactos/system32/drivers NO_CAB FOR all)
usb_request.cpp
usb_queue.cpp
hardware.cpp
usb_request.cpp
usb_queue.cpp
hardware.cpp
add_library(usbuhci SHARED
${SOURCE}
add_library(usbuhci SHARED
${SOURCE}
usbuhci.rc)
target_link_libraries(usbuhci
usbuhci.rc)
target_link_libraries(usbuhci
set_module_type(usbuhci kernelmodedriver)
add_importlibs(usbuhci ntoskrnl hal usbd)
set_module_type(usbuhci kernelmodedriver)
add_importlibs(usbuhci ntoskrnl hal usbd)
+add_pch(usbuhci usbuhci.h SOURCE)
add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)
add_cd_file(TARGET usbuhci DESTINATION reactos/system32/drivers NO_CAB FOR all)
undoc.cpp
unregister.cpp
version.cpp
undoc.cpp
unregister.cpp
version.cpp
- guid.cpp
- ${CMAKE_CURRENT_BINARY_DIR}/portcls.def)
add_library(portcls SHARED
${SOURCE}
add_library(portcls SHARED
${SOURCE}
+ guid.cpp
+ portcls.rc
+ ${CMAKE_CURRENT_BINARY_DIR}/portcls.def)
target_link_libraries(portcls
libcntpr
${PSEH_LIB})
set_module_type(portcls kernelmodedriver ENTRYPOINT 0 )
target_link_libraries(portcls
libcntpr
${PSEH_LIB})
set_module_type(portcls kernelmodedriver ENTRYPOINT 0 )
-add_pch(portcls private.hpp)
+add_pch(portcls private.hpp SOURCE)
add_importlibs(portcls ntoskrnl ks drmk hal)
add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers FOR all)
add_importlibs(portcls ntoskrnl ks drmk hal)
add_cd_file(TARGET portcls DESTINATION reactos/system32/drivers FOR all)
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
include_directories(${REACTOS_SOURCE_DIR}/lib/3rdparty/libsamplerate)
-add_library(kmixer SHARED
+add_library(kmixer SHARED ${SOURCE})
set_module_type(kmixer kernelmodedriver)
target_link_libraries(kmixer
libcntpr
libsamplerate)
set_module_type(kmixer kernelmodedriver)
target_link_libraries(kmixer
libcntpr
libsamplerate)
-add_pch(kmixer kmixer.h)
+add_pch(kmixer kmixer.h SOURCE)
add_importlibs(kmixer ntoskrnl ks hal)
add_cd_file(TARGET kmixer DESTINATION reactos/system32/drivers FOR all)
add_importlibs(kmixer ntoskrnl ks hal)
add_cd_file(TARGET kmixer DESTINATION reactos/system32/drivers FOR all)
${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer
${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
${REACTOS_SOURCE_DIR}/lib/drivers/sound/mmixer
${REACTOS_SOURCE_DIR}/include/reactos/libs/sound)
-add_library(wdmaud SHARED
control.c
deviface.c
entry.c
mmixer.c
sup.c
control.c
deviface.c
entry.c
mmixer.c
sup.c
+add_library(wdmaud SHARED ${SOURCE} wdmaud.rc)
set_module_type(wdmaud kernelmodedriver)
target_link_libraries(wdmaud
mmixer
libcntpr)
set_module_type(wdmaud kernelmodedriver)
target_link_libraries(wdmaud
mmixer
libcntpr)
-add_pch(wdmaud wdmaud.h)
+add_pch(wdmaud wdmaud.h SOURCE)
add_importlibs(wdmaud ntoskrnl ks hal)
add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers FOR all)
add_importlibs(wdmaud ntoskrnl ks hal)
add_cd_file(TARGET wdmaud DESTINATION reactos/system32/drivers FOR all)
add_definitions(-D_COMDDK_)
add_definitions(-D_COMDDK_)
-add_library(sysaudio SHARED
control.c
deviface.c
dispatcher.c
main.c
pin.c
control.c
deviface.c
dispatcher.c
main.c
pin.c
-add_pch(sysaudio sysaudio.h)
+add_library(sysaudio SHARED ${SOURCE} sysaudio.rc)
set_module_type(sysaudio kernelmodedriver)
target_link_libraries(sysaudio libcntpr)
add_importlibs(sysaudio ntoskrnl ks hal)
set_module_type(sysaudio kernelmodedriver)
target_link_libraries(sysaudio libcntpr)
add_importlibs(sysaudio ntoskrnl ks hal)
+add_pch(sysaudio sysaudio.h SOURCE)
add_cd_file(TARGET sysaudio DESTINATION reactos/system32/drivers FOR all)
add_cd_file(TARGET sysaudio DESTINATION reactos/system32/drivers FOR all)