Commit 76c9c5e
committed
new file: GenericMakefile/.gitignore
new file: GenericMakefile/LICENSE
new file: GenericMakefile/README.md
new file: GenericMakefile/c/hello.c
new file: GenericMakefile/cpp/hello.cpp
new file: example/.gitignore
new file: example/.travis.yml
new file: example/01-basic/A-hello-cmake/CMakeLists.txt
new file: example/01-basic/A-hello-cmake/README.adoc
new file: example/01-basic/A-hello-cmake/main.cpp
new file: example/01-basic/B-hello-headers/CMakeLists.txt
new file: example/01-basic/B-hello-headers/README.adoc
new file: example/01-basic/B-hello-headers/include/Hello.h
new file: example/01-basic/B-hello-headers/src/Hello.cpp
new file: example/01-basic/B-hello-headers/src/main.cpp
new file: example/01-basic/C-static-library/CMakeLists.txt
new file: example/01-basic/C-static-library/README.adoc
new file: example/01-basic/C-static-library/include/static/Hello.h
new file: example/01-basic/C-static-library/src/Hello.cpp
new file: example/01-basic/C-static-library/src/main.cpp
new file: example/01-basic/D-shared-library/CMakeLists.txt
new file: example/01-basic/D-shared-library/README.adoc
new file: example/01-basic/D-shared-library/include/shared/Hello.h
new file: example/01-basic/D-shared-library/src/Hello.cpp
new file: example/01-basic/D-shared-library/src/main.cpp
new file: example/01-basic/E-installing/CMakeLists.txt
new file: example/01-basic/E-installing/README.adoc
new file: example/01-basic/E-installing/cmake-examples.conf
new file: example/01-basic/E-installing/include/installing/Hello.h
new file: example/01-basic/E-installing/src/Hello.cpp
new file: example/01-basic/E-installing/src/main.cpp
new file: example/01-basic/F-build-type/CMakeLists.txt
new file: example/01-basic/F-build-type/README.adoc
new file: example/01-basic/F-build-type/cmake-gui-build-type.png
new file: example/01-basic/F-build-type/main.cpp
new file: example/01-basic/G-compile-flags/CMakeLists.txt
new file: example/01-basic/G-compile-flags/README.adoc
new file: example/01-basic/G-compile-flags/main.cpp
new file: example/01-basic/H-third-party-library/CMakeLists.txt
new file: example/01-basic/H-third-party-library/README.adoc
new file: example/01-basic/H-third-party-library/main.cpp
new file: example/01-basic/I-compiling-with-clang/CMakeLists.txt
new file: example/01-basic/I-compiling-with-clang/README.adoc
new file: example/01-basic/I-compiling-with-clang/main.cpp
new file: example/01-basic/I-compiling-with-clang/pre_test.sh
new file: example/01-basic/I-compiling-with-clang/run_test.sh
new file: example/01-basic/J-building-with-ninja/CMakeLists.txt
new file: example/01-basic/J-building-with-ninja/README.adoc
new file: example/01-basic/J-building-with-ninja/main.cpp
new file: example/01-basic/J-building-with-ninja/pre_test.sh
new file: example/01-basic/J-building-with-ninja/run_test.sh
new file: example/01-basic/K-imported-targets/CMakeLists.txt
new file: example/01-basic/K-imported-targets/README.adoc
new file: example/01-basic/K-imported-targets/main.cpp
new file: example/01-basic/K-imported-targets/run_test.sh
new file: example/01-basic/L-cpp-standard/README.adoc
new file: example/01-basic/L-cpp-standard/i-common-method/CMakeLists.txt
new file: example/01-basic/L-cpp-standard/i-common-method/README.adoc
new file: example/01-basic/L-cpp-standard/i-common-method/main.cpp
new file: example/01-basic/L-cpp-standard/ii-cxx-standard/CMakeLists.txt
new file: example/01-basic/L-cpp-standard/ii-cxx-standard/README.adoc
new file: example/01-basic/L-cpp-standard/ii-cxx-standard/main.cpp
new file: example/01-basic/L-cpp-standard/iii-compile-features/CMakeLists.txt
new file: example/01-basic/L-cpp-standard/iii-compile-features/README.adoc
new file: example/01-basic/L-cpp-standard/iii-compile-features/main.cpp
new file: example/01-basic/README.adoc
new file: example/02-sub-projects/A-basic/CMakeLists.txt
new file: example/02-sub-projects/A-basic/README.adoc
new file: example/02-sub-projects/A-basic/subbinary/CMakeLists.txt
new file: example/02-sub-projects/A-basic/subbinary/main.cpp
new file: example/02-sub-projects/A-basic/sublibrary1/CMakeLists.txt
new file: example/02-sub-projects/A-basic/sublibrary1/include/sublib1/sublib1.h
new file: example/02-sub-projects/A-basic/sublibrary1/src/sublib1.cpp
new file: example/02-sub-projects/A-basic/sublibrary2/CMakeLists.txt
new file: example/02-sub-projects/A-basic/sublibrary2/include/sublib2/sublib2.h
new file: example/02-sub-projects/README.adoc
new file: example/03-code-generation/README.adoc
new file: example/03-code-generation/configure-files/CMakeLists.txt
new file: example/03-code-generation/configure-files/README.adoc
new file: example/03-code-generation/configure-files/main.cpp
new file: example/03-code-generation/configure-files/path.h.in
new file: example/03-code-generation/configure-files/ver.h.in
new file: example/03-code-generation/protobuf/AddressBook.proto
new file: example/03-code-generation/protobuf/CMakeLists.txt
new file: example/03-code-generation/protobuf/README.adoc
new file: example/03-code-generation/protobuf/main.cpp
new file: example/04-static-analysis/README.adoc
new file: example/04-static-analysis/clang-analyzer/CMakeLists.txt
new file: example/04-static-analysis/clang-analyzer/README.adoc
new file: example/04-static-analysis/clang-analyzer/run_test.sh
new file: example/04-static-analysis/clang-analyzer/subproject1/CMakeLists.txt
new file: example/04-static-analysis/clang-analyzer/subproject1/main1.cpp
new file: example/04-static-analysis/clang-analyzer/subproject2/CMakeLists.txt
new file: example/04-static-analysis/clang-analyzer/subproject2/main2.cpp
new file: example/04-static-analysis/clang-format/.clang-format
new file: example/04-static-analysis/clang-format/CMakeLists.txt
new file: example/04-static-analysis/clang-format/README.adoc
new file: example/04-static-analysis/clang-format/cmake/modules/FindClangFormat.cmake
new file: example/04-static-analysis/clang-format/cmake/modules/clang-format.cmake
new file: example/04-static-analysis/clang-format/cmake/scripts/clang-format-check-changed
new file: example/04-static-analysis/clang-format/cmake/scripts/clang-format-check-changed.py
new file: example/04-static-analysis/clang-format/run_test.sh
new file: example/04-static-analysis/clang-format/subproject1/CMakeLists.txt
new file: example/04-static-analysis/clang-format/subproject1/main1.cpp
new file: example/04-static-analysis/clang-format/subproject2/CMakeLists.txt
new file: example/04-static-analysis/clang-format/subproject2/main2.cpp
new file: example/04-static-analysis/cppcheck-compile-commands/.cppcheck_suppressions
new file: example/04-static-analysis/cppcheck-compile-commands/CMakeLists.txt
new file: example/04-static-analysis/cppcheck-compile-commands/README.adoc
new file: example/04-static-analysis/cppcheck-compile-commands/cmake/modules/FindCppCheck.cmake
new file: example/04-static-analysis/cppcheck-compile-commands/run_test.sh
new file: example/04-static-analysis/cppcheck-compile-commands/subproject1/CMakeLists.txt
new file: example/04-static-analysis/cppcheck-compile-commands/subproject1/main1.cpp
new file: example/04-static-analysis/cppcheck-compile-commands/subproject2/CMakeLists.txt
new file: example/04-static-analysis/cppcheck-compile-commands/subproject2/main2.cpp
new file: example/04-static-analysis/cppcheck/CMakeLists.txt
new file: example/04-static-analysis/cppcheck/README.adoc
new file: example/04-static-analysis/cppcheck/cmake/analysis.cmake
new file: example/04-static-analysis/cppcheck/cmake/modules/FindCppCheck.cmake
new file: example/04-static-analysis/cppcheck/run_test.sh
new file: example/04-static-analysis/cppcheck/subproject1/CMakeLists.txt
new file: example/04-static-analysis/cppcheck/subproject1/main1.cpp
new file: example/04-static-analysis/cppcheck/subproject2/CMakeLists.txt
new file: example/04-static-analysis/cppcheck/subproject2/main2.cpp
new file: example/05-unit-testing/README.adoc
new file: example/05-unit-testing/boost/CMakeLists.txt
new file: example/05-unit-testing/boost/Palindrome.cpp
new file: example/05-unit-testing/boost/Palindrome.h
new file: example/05-unit-testing/boost/README.adoc
new file: example/05-unit-testing/boost/Reverse.cpp
new file: example/05-unit-testing/boost/Reverse.h
new file: example/05-unit-testing/boost/main.cpp
new file: example/05-unit-testing/boost/post_test.sh
new file: example/05-unit-testing/boost/unit_tests.cpp
new file: example/05-unit-testing/catch2-vendored/3rd_party/catch2/CMakeLists.txt
new file: example/05-unit-testing/catch2-vendored/3rd_party/catch2/catch2/catch.hpp
new file: example/05-unit-testing/catch2-vendored/CMakeLists.txt
new file: example/05-unit-testing/catch2-vendored/Palindrome.cpp
new file: example/05-unit-testing/catch2-vendored/Palindrome.h
new file: example/05-unit-testing/catch2-vendored/README.adoc
new file: example/05-unit-testing/catch2-vendored/Reverse.cpp
new file: example/05-unit-testing/catch2-vendored/Reverse.h
new file: example/05-unit-testing/catch2-vendored/main.cpp
new file: example/05-unit-testing/catch2-vendored/post_test.sh
new file: example/05-unit-testing/catch2-vendored/unit_tests.cpp
new file: example/05-unit-testing/google-test-download/3rd_party/google-test/CMakeLists.txt
new file: example/05-unit-testing/google-test-download/3rd_party/google-test/CMakeLists.txt.in
new file: example/05-unit-testing/google-test-download/CMakeLists.txt
new file: example/05-unit-testing/google-test-download/Palindrome.cpp
new file: example/05-unit-testing/google-test-download/Palindrome.h
new file: example/05-unit-testing/google-test-download/README.adoc
new file: example/05-unit-testing/google-test-download/Reverse.cpp
new file: example/05-unit-testing/google-test-download/Reverse.h
new file: example/05-unit-testing/google-test-download/main.cpp
new file: example/05-unit-testing/google-test-download/post_test.sh
new file: example/05-unit-testing/google-test-download/run_test.sh
new file: example/05-unit-testing/google-test-download/unit_tests.cpp
new file: example/06-installer/README.adoc
new file: example/06-installer/deb/CMakeLists.txt
new file: example/06-installer/deb/README.adoc
new file: example/06-installer/deb/cmake-examples.conf
new file: example/06-installer/deb/include/Hello.h
new file: example/06-installer/deb/post_test.sh
new file: example/06-installer/deb/src/Hello.cpp
new file: example/06-installer/deb/src/main.cpp
new file: example/07-package-management/A-using-system-provide-packages/README.adoc
new file: example/07-package-management/B-vendoring-code/README.adoc
new file: example/07-package-management/C-external-project-add/README.adoc
new file: example/07-package-management/D-conan/README.adoc
new file: example/07-package-management/D-conan/i-basic/CMakeLists.txt
new file: example/07-package-management/D-conan/i-basic/README.adoc
new file: example/07-package-management/D-conan/i-basic/conanfile.txt
new file: example/07-package-management/D-conan/i-basic/main.cpp
new file: example/07-package-management/D-conan/i-basic/run_test.sh
new file: example/07-package-management/D-conan/ii-basic-targets/CMakeLists.txt
new file: example/07-package-management/D-conan/ii-basic-targets/README.adoc
new file: example/07-package-management/D-conan/ii-basic-targets/conanfile.txt
new file: example/07-package-management/D-conan/ii-basic-targets/main.cpp
new file: example/07-package-management/D-conan/ii-basic-targets/run_test.sh
new file: example/07-package-management/README.adoc
new file: example/LICENSE
new file: example/README.adoc
new file: example/cmake-examples.sublime-project
new file: example/dockerfiles/README.adoc
new file: example/dockerfiles/setup.sh
new file: example/dockerfiles/ubuntu14.04-cmake-3.4.3
new file: example/dockerfiles/ubuntu14.04-default-2.8.12.2
new file: example/dockerfiles/ubuntu16.04-cmake-3.10.3
new file: example/dockerfiles/ubuntu16.04-default-cmake-3.5.1
new file: example/test.sh
new file: examples1 parent 85c9f00 commit 76c9c5e
File tree
191 files changed
+22536
-0
lines changed- cmake
- GenericMakefile
- cpp
- c
- example
- 01-basic
- A-hello-cmake
- B-hello-headers
- include
- src
- C-static-library
- include/static
- src
- E-installing
- include/installing
- src
- F-build-type
- G-compile-flags
- H-third-party-library
- I-compiling-with-clang
- J-building-with-ninja
- K-imported-targets
- L-cpp-standard
- i-common-method
- ii-cxx-standard
- iii-compile-features
- 02-sub-projects
- A-basic
- subbinary
- sublibrary1
- include/sublib1
- src
- sublibrary2
- include/sublib2
- 03-code-generation
- configure-files
- protobuf
- 04-static-analysis
- clang-analyzer
- subproject1
- subproject2
- clang-format
- cmake
- modules
- scripts
- subproject1
- subproject2
- cppcheck-compile-commands
- cmake/modules
- subproject1
- subproject2
- cppcheck
- cmake
- modules
- subproject1
- subproject2
- 05-unit-testing
- boost
- catch2-vendored
- 3rd_party/catch2
- catch2
- google-test-download
- 3rd_party/google-test
- 06-installer
- deb
- include
- src
- 07-package-management
- A-using-system-provide-packages
- B-vendoring-code
- C-external-project-add
- D-conan
- i-basic
- ii-basic-targets
- dockerfiles
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
191 files changed
+22536
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments