[CMAKE] Fix few copy-paste typos in add_pch() calls (#3508)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Sat, 6 Mar 2021 18:11:56 +0000 (19:11 +0100)
committerGitHub <noreply@github.com>
Sat, 6 Mar 2021 18:11:56 +0000 (19:11 +0100)
Follow-up to e898c9e.

dll/win32/fusion/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/ntos_cc/CMakeLists.txt
modules/rostests/kmtests/tcpip/CMakeLists.txt

index 5a19f11..b180daf 100644 (file)
@@ -14,6 +14,7 @@ list(APPEND COMMON_SOURCE
 
 add_library(fusion_common STATIC ${COMMON_SOURCE})
 add_dependencies(fusion_common psdk)
+add_pch(fusion_common precomp.h COMMON_SOURCE)
 
 add_library(fusion MODULE
     version.rc
@@ -22,7 +23,6 @@ add_library(fusion MODULE
 set_module_type(fusion win32dll)
 target_link_libraries(fusion fusion_common uuid wine)
 add_importlibs(fusion bcrypt advapi32 dbghelp shlwapi user32 msvcrt kernel32 ntdll)
-add_pch(fusion_common precomp.h COMMON_SOURCE)
 add_cd_file(TARGET fusion DESTINATION reactos/Microsoft.NET/Framework/v1.0.3705 FOR all)
 add_cd_file(TARGET fusion DESTINATION reactos/system32 FOR all)
 
index 8d244b2..6c22086 100644 (file)
@@ -10,5 +10,5 @@ set_module_type(fltmgr_create kernelmodedriver)
 target_link_libraries(fltmgr_create kmtest_printf ${PSEH_LIB})
 add_importlibs(fltmgr_create fltmgr ntoskrnl hal)
 target_compile_definitions(fltmgr_create PRIVATE KMT_STANDALONE_DRIVER KMT_FILTER_DRIVER NTDDI_VERSION=NTDDI_WS03SP1)
-#add_pch(example_drv ../include/kmt_test.h)
+#add_pch(fltmgr_create ../include/kmt_test.h)
 add_rostests_file(TARGET fltmgr_create)
index 2095a38..707083f 100644 (file)
@@ -10,5 +10,5 @@ set_module_type(FltMgrLoad_drv kernelmodedriver)
 target_link_libraries(FltMgrLoad_drv kmtest_printf ${PSEH_LIB})
 add_importlibs(FltMgrLoad_drv fltmgr ntoskrnl hal)
 target_compile_definitions(FltMgrLoad_drv PRIVATE KMT_STANDALONE_DRIVER KMT_FILTER_DRIVER NTDDI_VERSION=NTDDI_WS03SP1)
-#add_pch(example_drv ../include/kmt_test.h)
+#add_pch(FltMgrLoad_drv ../include/kmt_test.h)
 add_rostests_file(TARGET FltMgrLoad_drv)
index 3c1c4a5..f136598 100644 (file)
@@ -11,5 +11,5 @@ set_module_type(fltmgrreg_drv kernelmodedriver)
 target_link_libraries(fltmgrreg_drv kmtest_printf ${PSEH_LIB})
 add_importlibs(fltmgrreg_drv fltmgr ntoskrnl hal)
 target_compile_definitions(fltmgrreg_drv PRIVATE KMT_STANDALONE_DRIVER KMT_FILTER_DRIVER NTDDI_VERSION=NTDDI_WS03SP1)
-#add_pch(example_drv ../include/kmt_test.h)
+#add_pch(fltmgrreg_drv ../include/kmt_test.h)
 add_rostests_file(TARGET fltmgrreg_drv)
index 600e010..3bc63f7 100644 (file)
@@ -28,7 +28,7 @@ set_module_type(cccopywrite_drv kernelmodedriver)
 target_link_libraries(cccopywrite_drv kmtest_printf ${PSEH_LIB})
 add_importlibs(cccopywrite_drv ntoskrnl hal)
 target_compile_definitions(cccopywrite_drv PRIVATE KMT_STANDALONE_DRIVER)
-#add_pch(cccopyread_drv ../include/kmt_test.h)
+#add_pch(cccopywrite_drv ../include/kmt_test.h)
 add_rostests_file(TARGET cccopywrite_drv)
 
 #
@@ -73,7 +73,7 @@ set_module_type(ccpinread_drv kernelmodedriver)
 target_link_libraries(ccpinread_drv kmtest_printf ${PSEH_LIB})
 add_importlibs(ccpinread_drv ntoskrnl hal)
 target_compile_definitions(ccpinread_drv PRIVATE KMT_STANDALONE_DRIVER)
-#add_pch(ccmapdata_drv ../include/kmt_test.h)
+#add_pch(ccpinread_drv ../include/kmt_test.h)
 add_rostests_file(TARGET ccpinread_drv)
 
 #
index 94691d5..d8a229c 100644 (file)
@@ -12,5 +12,5 @@ set_module_type(tcpip_drv kernelmodedriver)
 target_link_libraries(tcpip_drv kmtest_printf ${PSEH_LIB})
 add_importlibs(tcpip_drv ntoskrnl hal)
 target_compile_definitions(tcpip_drv PRIVATE KMT_STANDALONE_DRIVER)
-#add_pch(example_drv ../include/kmt_test.h)
+#add_pch(tcpip_drv ../include/kmt_test.h)
 add_rostests_file(TARGET tcpip_drv)