From b3e932a47c1e9c587b015a74796f642b4c5baa7b Mon Sep 17 00:00:00 2001 From: henrytine Date: Thu, 23 Apr 2020 22:56:55 +0800 Subject: [PATCH 1/3] Update README.adoc doc linking error --- 04-static-analysis/clang-format/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04-static-analysis/clang-format/README.adoc b/04-static-analysis/clang-format/README.adoc index 90f665c..66034cb 100644 --- a/04-static-analysis/clang-format/README.adoc +++ b/04-static-analysis/clang-format/README.adoc @@ -38,7 +38,7 @@ $ tree * link:cmake/scripts/clang-format-check-changed.py[] - A helper script to check against changed files in git * link:cmake/scripts/clang-format-check-changed.py[] - An old simplified version of the above helper script * link:subproject1/CMakeLists.txt[] - CMake commands for subproject 1 - * link:subproject1/main.cpp[] - source for a subproject with no style errors + * link:subproject1/main1.cpp[] - source for a subproject with no style errors * link:subproject2/CMakeLists.txt[] - CMake commands for subproject 2 * link:subproject2/main2.cpp[] - source for a subproject that includes style errors From 7bcfd685001ff2a581f0baebcc4eca8fe1282073 Mon Sep 17 00:00:00 2001 From: henrytine Date: Thu, 23 Apr 2020 23:13:29 +0800 Subject: [PATCH 2/3] fix linking --- 04-static-analysis/cppcheck-compile-commands/README.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/04-static-analysis/cppcheck-compile-commands/README.adoc b/04-static-analysis/cppcheck-compile-commands/README.adoc index ea2cdb2..246822c 100644 --- a/04-static-analysis/cppcheck-compile-commands/README.adoc +++ b/04-static-analysis/cppcheck-compile-commands/README.adoc @@ -37,7 +37,7 @@ $ tree * link:CMakeLists.txt[] - Top level CMakeLists.txt * link:cmake/modules/FindCppCheck.cmake[] - A custom package module to find CppCheck * link:subproject1/CMakeLists.txt[] - CMake commands for subproject 1 - * link:subproject1/main.cpp[] - source for a subproject with no errors + * link:subproject1/main1.cpp[] - source for a subproject with no errors * link:subproject2/CMakeLists.txt[] - CMake commands for subproject 2 * link:subproject2/main2.cpp[] - source for a subproject that includes errors From d6adbdfd32177088c881bdc6a025e7cb48ea4030 Mon Sep 17 00:00:00 2001 From: henrytine Date: Fri, 24 Apr 2020 11:57:24 +0800 Subject: [PATCH 3/3] remove duplicate --- 05-unit-testing/boost/README.adoc | 9 --------- 1 file changed, 9 deletions(-) diff --git a/05-unit-testing/boost/README.adoc b/05-unit-testing/boost/README.adoc index 93fbd0c..c9d77fc 100644 --- a/05-unit-testing/boost/README.adoc +++ b/05-unit-testing/boost/README.adoc @@ -129,15 +129,6 @@ Test project /home/matrim/workspace/cmake-examples/05-unit-testing/boost/build 100% tests passed, 0 tests failed out of 1 -Total Test time (real) = 0.01 sec -$ make test -Running tests... -Test project /home/matrim/workspace/cmake-examples/05-unit-testing/boost/build - Start 1: test_all -1/1 Test #1: test_all ......................... Passed 0.00 sec - -100% tests passed, 0 tests failed out of 1 - Total Test time (real) = 0.01 sec ----