https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8c18617fa71dbf18e53614...
commit 8c18617fa71dbf18e5361432b49c936be7b4a3a6 Author: Serge Gautherie 32623169+SergeGautherie@users.noreply.github.com AuthorDate: Sat Mar 6 19:11:56 2021 +0100 Commit: GitHub noreply@github.com CommitDate: Sat Mar 6 19:11:56 2021 +0100
[CMAKE] Fix few copy-paste typos in add_pch() calls (#3508)
Follow-up to e898c9e. --- dll/win32/fusion/CMakeLists.txt | 2 +- modules/rostests/kmtests/fltmgr/fltmgr_create/CMakeLists.txt | 2 +- modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt | 2 +- modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt | 2 +- modules/rostests/kmtests/ntos_cc/CMakeLists.txt | 4 ++-- modules/rostests/kmtests/tcpip/CMakeLists.txt | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/dll/win32/fusion/CMakeLists.txt b/dll/win32/fusion/CMakeLists.txt index 5a19f11ac93..b180daf21f9 100644 --- a/dll/win32/fusion/CMakeLists.txt +++ b/dll/win32/fusion/CMakeLists.txt @@ -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)
diff --git a/modules/rostests/kmtests/fltmgr/fltmgr_create/CMakeLists.txt b/modules/rostests/kmtests/fltmgr/fltmgr_create/CMakeLists.txt index 8d244b28323..6c22086ec75 100644 --- a/modules/rostests/kmtests/fltmgr/fltmgr_create/CMakeLists.txt +++ b/modules/rostests/kmtests/fltmgr/fltmgr_create/CMakeLists.txt @@ -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) diff --git a/modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt b/modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt index 2095a385b4d..707083fe38e 100644 --- a/modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt +++ b/modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt @@ -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) diff --git a/modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt b/modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt index 3c1c4a54d57..f1365981290 100644 --- a/modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt +++ b/modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt @@ -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) diff --git a/modules/rostests/kmtests/ntos_cc/CMakeLists.txt b/modules/rostests/kmtests/ntos_cc/CMakeLists.txt index 600e0106dd5..3bc63f700e1 100644 --- a/modules/rostests/kmtests/ntos_cc/CMakeLists.txt +++ b/modules/rostests/kmtests/ntos_cc/CMakeLists.txt @@ -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)
# diff --git a/modules/rostests/kmtests/tcpip/CMakeLists.txt b/modules/rostests/kmtests/tcpip/CMakeLists.txt index 94691d5f38b..d8a229ce3ef 100644 --- a/modules/rostests/kmtests/tcpip/CMakeLists.txt +++ b/modules/rostests/kmtests/tcpip/CMakeLists.txt @@ -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)