├── .appveyor.yml ├── .circleci └── config.yml ├── .clang-format ├── .editorconfig ├── .envrc ├── .gitattributes ├── .github ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .mailmap ├── .style.yapf ├── .travis.yml ├── AUTHORS.md ├── CHANGELOG.md ├── LICENSE ├── Pipfile ├── Pipfile.lock ├── README.md ├── STYLE_GUIDE.md ├── Software Hardware List.pdf ├── chapter-01 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── c-example │ │ ├── CMakeLists.txt │ │ └── hello-world.c │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── hello-world.cpp │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── hello-world.f90 │ │ └── menu.yml │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── c-example │ │ ├── CMakeLists.txt │ │ └── hello-world.c │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── hello-world.cpp │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── hello-world.f90 │ │ └── menu.yml │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── Message.cpp │ │ ├── Message.hpp │ │ └── hello-world.cpp │ ├── cxx-objlib-example │ │ ├── CMakeLists.txt │ │ ├── Message.cpp │ │ ├── Message.hpp │ │ └── hello-world.cpp │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── hello-world.f90 │ │ ├── menu.yml │ │ └── message.f90 │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── Message.cpp │ │ ├── Message.hpp │ │ └── hello-world.cpp │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── Message.cpp │ │ ├── Message.hpp │ │ ├── hello-world.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── example │ │ └── CMakeLists.txt │ └── title.txt ├── recipe-07 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ └── menu.yml │ └── title.txt ├── recipe-08 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── compute-areas.cpp │ │ ├── geometry_circle.cpp │ │ ├── geometry_circle.hpp │ │ ├── geometry_polygon.cpp │ │ ├── geometry_polygon.hpp │ │ ├── geometry_rhombus.cpp │ │ ├── geometry_rhombus.hpp │ │ ├── geometry_square.cpp │ │ ├── geometry_square.hpp │ │ └── menu.yml │ └── title.txt ├── recipe-09 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── Animal.cpp │ │ ├── Animal.hpp │ │ ├── CMakeLists.txt │ │ ├── Cat.cpp │ │ ├── Cat.hpp │ │ ├── Dog.cpp │ │ ├── Dog.hpp │ │ ├── Factory.hpp │ │ └── animal-farm.cpp │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── compute-areas.f90 │ │ ├── geometry_circle.f90 │ │ ├── geometry_polygon.f90 │ │ ├── geometry_rhombus.f90 │ │ ├── geometry_square.f90 │ │ └── menu.yml │ └── title.txt ├── recipe-10 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── compute-areas.cpp │ │ ├── geometry_circle.cpp │ │ ├── geometry_circle.hpp │ │ ├── geometry_polygon.cpp │ │ ├── geometry_polygon.hpp │ │ ├── geometry_rhombus.cpp │ │ ├── geometry_rhombus.hpp │ │ ├── geometry_square.cpp │ │ ├── geometry_square.hpp │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-02 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── example │ │ └── CMakeLists.txt │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── hello-world.cpp │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── hello-world.cpp │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── hello-world.F90 │ │ └── menu.yml │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── arch-dependent.cpp │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── config.h.in │ │ └── processor-info.cpp │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── linear-algebra.cpp │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-03 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── example │ │ └── CMakeLists.txt │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── hello-embedded-python.c │ │ └── menu.yml │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── Py2-pure-embedding.cpp │ │ ├── Py3-pure-embedding.cpp │ │ ├── menu.yml │ │ └── use_numpy.py │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── CxxBLAS.cpp │ │ ├── CxxBLAS.hpp │ │ ├── CxxLAPACK.cpp │ │ ├── CxxLAPACK.hpp │ │ ├── linear-algebra.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ └── menu.yml │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ └── menu.yml │ ├── fortran-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── example.f90 │ │ └── menu.yml │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── example.f90 │ │ └── menu.yml │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── c-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── hello-mpi.c │ │ └── menu.yml │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── hello-mpi.c │ │ └── menu.yml │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── hello-mpi.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-07 │ ├── README.md │ ├── abstract.md │ ├── cxx-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── linear-algebra.cpp │ │ └── menu.yml │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── linear-algebra.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-08 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── path-info.cpp │ └── title.txt ├── recipe-09 │ ├── README.md │ ├── abstract.md │ ├── c-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── hwclient.c │ │ ├── hwserver.c │ │ └── menu.yml │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── hwclient.c │ │ ├── hwserver.c │ │ └── menu.yml │ └── title.txt ├── recipe-10 │ ├── README.md │ ├── abstract.md │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── FindZeroMQ.cmake │ │ ├── hwclient.c │ │ ├── hwserver.c │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-04 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ ├── test.cpp │ │ ├── test.py │ │ └── test.sh │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── catch.hpp │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ └── test.cpp │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── fetch_at_configure_step.in │ │ ├── fetch_git_repo.cmake │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ └── test.cpp │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ └── test.cpp │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ └── test.cpp │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── leaky_implementation.cpp │ │ ├── leaky_implementation.hpp │ │ ├── menu.yml │ │ └── test.cpp │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── test.py │ └── title.txt ├── recipe-07 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── test.py │ └── title.txt ├── recipe-08 │ ├── README.md │ ├── abstract.md │ ├── title.txt │ ├── using-cost-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── test │ │ │ ├── a.py │ │ │ ├── b.py │ │ │ ├── c.py │ │ │ ├── d.py │ │ │ ├── e.py │ │ │ ├── f.py │ │ │ ├── g.py │ │ │ ├── h.py │ │ │ ├── i.py │ │ │ └── j.py │ └── without-cost-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── test │ │ ├── a.py │ │ ├── b.py │ │ ├── c.py │ │ ├── d.py │ │ ├── e.py │ │ ├── f.py │ │ ├── g.py │ │ ├── h.py │ │ ├── i.py │ │ └── j.py ├── recipe-09 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── test │ │ │ ├── benchmark-a.py │ │ │ ├── benchmark-b.py │ │ │ ├── feature-a.py │ │ │ ├── feature-b.py │ │ │ ├── feature-c.py │ │ │ └── feature-d.py │ └── title.txt ├── recipe-10 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── test │ │ │ ├── cleanup.py │ │ │ ├── feature-a.py │ │ │ ├── feature-b.py │ │ │ └── setup.py │ └── title.txt └── title.txt ├── chapter-05 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── eigen-eigen-5a0156e40feb.tar.gz │ │ ├── linear-algebra.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── example │ │ └── CMakeLists.txt │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── linear-algebra.cpp │ │ ├── menu.yml │ │ └── wrap_BLAS_LAPACK.tar.gz │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── deps │ │ │ ├── CMakeLists.txt │ │ │ └── wrap_BLAS_LAPACK.tar.gz │ │ ├── linear-algebra.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── echo-file.py │ │ ├── example.f90 │ │ ├── menu.yml │ │ └── static-size.py │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── cxx-example-3.5 │ │ ├── CMakeLists.txt │ │ └── taskloop.cpp │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── taskloop.cpp │ └── title.txt ├── recipe-07 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── asan-example.cpp │ │ ├── menu.yml │ │ ├── msan-example.cpp │ │ ├── tsan-example.cpp │ │ └── ubsan-example.cpp │ └── title.txt ├── recipe-08 │ ├── README.md │ ├── abstract.md │ ├── c-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ ├── test-uuid.c │ │ └── use-uuid.cpp │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ ├── test-uuid.c │ │ └── use-uuid.cpp │ └── title.txt ├── recipe-09 │ ├── README.md │ ├── abstract.md │ ├── cxx-example-asan │ │ ├── CMakeLists.txt │ │ ├── asan-example.cpp │ │ └── menu.yml │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-06 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── fortran-c-example │ │ ├── CMakeLists.txt │ │ ├── example.f90 │ │ ├── menu.yml │ │ └── print_info.c.in │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── fortran-c-example │ │ ├── CMakeLists.txt │ │ ├── configurator.py │ │ ├── example.f90 │ │ ├── menu.yml │ │ └── print_info.c.in │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ └── generate.py │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── example.c │ │ └── version.h.in │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── example.f90 │ │ ├── menu.yml │ │ └── version.f90.in │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── VERSION │ │ ├── example.cpp │ │ └── version.hpp.in │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ └── version.hpp.in │ └── title.txt ├── recipe-07 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ ├── git-hash.cmake │ │ └── version.hpp.in │ └── title.txt └── title.txt ├── chapter-07 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.cpp │ │ │ ├── sum_integers.cpp │ │ │ └── sum_integers.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── catch.hpp │ │ │ └── test.cpp │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ └── cmake │ │ │ └── colors.cmake │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── c-cxx-example │ │ ├── CMakeLists.txt │ │ └── set_compiler_flag.cmake │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── cmake │ │ │ └── testing.cmake │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.cpp │ │ │ ├── sum_integers.cpp │ │ │ └── sum_integers.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── catch.hpp │ │ │ └── test.cpp │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ └── cmake │ │ │ ├── custom.cmake │ │ │ └── include_guard.cmake │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── example │ │ ├── CMakeLists.txt │ │ └── cmake │ │ │ └── custom.cmake │ └── title.txt ├── recipe-07 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── external │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── conversion.cpp │ │ │ └── conversion.hpp │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── evolution │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── evolution.cpp │ │ │ │ └── evolution.hpp │ │ │ ├── initial │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── initial.cpp │ │ │ │ └── initial.hpp │ │ │ ├── io │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── io.cpp │ │ │ │ └── io.hpp │ │ │ ├── main.cpp │ │ │ └── parser │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── parser.cpp │ │ │ │ └── parser.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── catch.hpp │ │ │ └── test.cpp │ └── title.txt ├── recipe-08 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── external │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ ├── conversion.cpp │ │ │ └── conversion.hpp │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── evolution │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── evolution.cpp │ │ │ │ └── evolution.hpp │ │ │ ├── initial │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── initial.cpp │ │ │ │ └── initial.hpp │ │ │ ├── io │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── io.cpp │ │ │ │ └── io.hpp │ │ │ ├── main.cpp │ │ │ └── parser │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── parser.cpp │ │ │ │ └── parser.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── catch.hpp │ │ │ └── test.cpp │ └── title.txt ├── recipe-09 │ ├── README.md │ ├── abstract.md │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── external │ │ │ ├── CMakeLists.txt │ │ │ ├── README.md │ │ │ └── conversion.f90 │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── evolution │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── ancestors.f90 │ │ │ │ ├── empty.f90 │ │ │ │ └── evolution.f90 │ │ │ ├── initial │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── initial.f90 │ │ │ ├── io │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── io.f90 │ │ │ ├── main.f90 │ │ │ └── parser │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── parser.f90 │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ └── test.f90 │ └── title.txt └── title.txt ├── chapter-08 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ └── hello-world.cpp │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── external │ │ │ └── upstream │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── boost │ │ │ │ └── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ └── path-info.cpp │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── c-example │ │ ├── CMakeLists.txt │ │ ├── external │ │ │ └── upstream │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── fftw3 │ │ │ │ └── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ └── fftw_example.c │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── fetch_at_configure_step.in │ │ ├── fetch_git_repo.cmake │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ └── test.cpp │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── main.cpp │ │ ├── menu.yml │ │ ├── sum_integers.cpp │ │ ├── sum_integers.hpp │ │ └── test.cpp │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── external │ │ │ └── upstream │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── message │ │ │ │ └── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ └── use_message.cpp │ └── title.txt └── title.txt ├── chapter-09 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── fortran-c-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── bt-randomgen-example.f90 │ │ │ ├── interfaces │ │ │ ├── CMakeLists.txt │ │ │ ├── interface_backtrace.f90 │ │ │ ├── interface_randomgen.f90 │ │ │ └── randomgen.c │ │ │ └── utils │ │ │ ├── CMakeLists.txt │ │ │ └── util_strings.f90 │ ├── fortran-cxx-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── bt-randomgen-example.f90 │ │ │ ├── interfaces │ │ │ ├── CMakeLists.txt │ │ │ ├── interface_backtrace.f90 │ │ │ ├── interface_randomgen.f90 │ │ │ └── randomgen.cpp │ │ │ └── utils │ │ │ ├── CMakeLists.txt │ │ │ └── util_strings.f90 │ ├── fortran-uuid-example-3.5 │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── bt-uuid-example.f90 │ │ │ ├── interfaces │ │ │ ├── CMakeLists.txt │ │ │ ├── interface_backtrace.f90 │ │ │ └── interface_uuid.f90 │ │ │ └── utils │ │ │ ├── CMakeLists.txt │ │ │ └── util_strings.f90 │ ├── fortran-uuid-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── bt-uuid-example.f90 │ │ │ ├── interfaces │ │ │ ├── CMakeLists.txt │ │ │ ├── interface_backtrace.f90 │ │ │ └── interface_uuid.f90 │ │ │ └── utils │ │ │ ├── CMakeLists.txt │ │ │ └── util_strings.f90 │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── README.md │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── linear-algebra.cpp │ │ │ └── math │ │ │ ├── CMakeLists.txt │ │ │ ├── CxxBLAS.cpp │ │ │ ├── CxxBLAS.hpp │ │ │ ├── CxxLAPACK.cpp │ │ │ └── CxxLAPACK.hpp │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── account.cpp │ │ ├── account.hpp │ │ ├── account.pyx │ │ ├── cmake-cython │ │ │ ├── FindCython.cmake │ │ │ └── UseCython.cmake │ │ ├── menu.yml │ │ └── test.py │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── account.cpp │ │ ├── account.hpp │ │ ├── menu.yml │ │ └── test.py │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── account │ │ │ ├── CMakeLists.txt │ │ │ ├── account.cpp │ │ │ ├── account.hpp │ │ │ └── test.py │ │ └── menu.yml │ └── title.txt ├── recipe-06 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── account │ │ │ ├── CMakeLists.txt │ │ │ ├── __init__.py │ │ │ ├── account.h │ │ │ ├── implementation │ │ │ │ ├── c_cpp_interface.cpp │ │ │ │ ├── cpp_implementation.cpp │ │ │ │ └── cpp_implementation.hpp │ │ │ └── test.py │ │ └── menu.yml │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── account │ │ │ ├── CMakeLists.txt │ │ │ ├── __init__.py │ │ │ ├── account.h │ │ │ ├── implementation │ │ │ │ └── fortran_implementation.f90 │ │ │ └── test.py │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-10 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ │ └── tests │ │ │ └── CMakeLists.txt │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ │ └── tests │ │ │ └── CMakeLists.txt │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── cmake │ │ │ └── messageConfig.cmake.in │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ └── use_target │ │ │ ├── CMakeLists.txt │ │ │ └── use_message.cpp │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── cmake │ │ │ ├── install_hook.cmake.in │ │ │ └── print_rpath.py │ │ ├── external │ │ │ └── upstream │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── message │ │ │ │ └── CMakeLists.txt │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ └── use_message.cpp │ └── title.txt └── title.txt ├── chapter-11 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeCPack.cmake │ │ ├── CMakeLists.txt │ │ ├── INSTALL.md │ │ ├── LICENSE │ │ ├── cmake │ │ │ ├── Info.plist.in │ │ │ ├── coffee.icns │ │ │ └── messageConfig.cmake.in │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ └── use_target │ │ │ ├── CMakeLists.txt │ │ │ └── use_message.cpp │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── MANIFEST.in │ │ ├── README.rst │ │ ├── account │ │ │ ├── CMakeLists.txt │ │ │ ├── __init__.py │ │ │ ├── account.cpp │ │ │ ├── account.hpp │ │ │ ├── test.py │ │ │ └── version.py │ │ ├── custom.sh │ │ └── setup.py │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── MANIFEST.in │ │ ├── README.rst │ │ ├── account │ │ │ ├── CMakeLists.txt │ │ │ ├── __init__.py │ │ │ ├── account.h │ │ │ ├── implementation │ │ │ │ ├── c_cpp_interface.cpp │ │ │ │ ├── cpp_implementation.cpp │ │ │ │ └── cpp_implementation.hpp │ │ │ ├── interface_file_names.cfg.in │ │ │ ├── test.py │ │ │ └── version.py │ │ ├── custom.sh │ │ └── setup.py │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── MANIFEST.in │ │ ├── README.rst │ │ ├── account │ │ │ ├── CMakeLists.txt │ │ │ ├── __init__.py │ │ │ ├── account.h │ │ │ ├── implementation │ │ │ │ └── fortran_implementation.f90 │ │ │ ├── interface_file_names.cfg.in │ │ │ ├── test.py │ │ │ └── version.py │ │ ├── custom.sh │ │ ├── menu.yml │ │ └── setup.py │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── conda-recipe │ │ │ └── meta.yaml │ │ ├── custom.sh │ │ ├── example.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-05 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── conda-recipe │ │ │ └── meta.yaml │ │ ├── custom.sh │ │ ├── example.cpp │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-12 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── cmake │ │ │ └── UseDoxygenDoc.cmake │ │ ├── docs │ │ │ ├── Doxyfile.in │ │ │ └── front_page.md │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── cmake │ │ │ ├── FindSphinx.cmake │ │ │ └── UseSphinxDoc.cmake │ │ ├── docs │ │ │ ├── conf.py.in │ │ │ └── index.rst │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── cmake │ │ │ ├── FindPythonModule.cmake │ │ │ ├── FindSphinx.cmake │ │ │ └── UseBreathe.cmake │ │ ├── docs │ │ │ ├── Doxyfile.in │ │ │ ├── code-reference │ │ │ │ ├── classes-and-functions.rst │ │ │ │ └── message.rst │ │ │ ├── conf.py.in │ │ │ └── index.rst │ │ ├── menu.yml │ │ └── src │ │ │ ├── CMakeLists.txt │ │ │ ├── Message.cpp │ │ │ ├── Message.hpp │ │ │ └── hello-world.cpp │ └── title.txt └── title.txt ├── chapter-13 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── hello-world.cpp │ │ └── menu.yml │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── example.cpp │ │ └── menu.yml │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── example.f90 │ │ └── menu.yml │ └── title.txt ├── title.txt └── toolchain-travis.cmake ├── chapter-14 ├── README.md ├── recipe-01 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── CTestConfig.cmake │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.cpp │ │ │ ├── sum_integers.cpp │ │ │ └── sum_integers.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── test_long.cpp │ │ │ └── test_short.cpp │ └── title.txt ├── recipe-02 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── CTestConfig.cmake │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── main.cpp │ │ │ ├── sum_integers.cpp │ │ │ └── sum_integers.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── test_long.cpp │ │ │ └── test_short.cpp │ └── title.txt ├── recipe-03 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── CTestConfig.cmake │ │ ├── dashboard.cmake │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ ├── buggy.cpp │ │ │ └── buggy.hpp │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── leaky.cpp │ │ │ └── use_after_free.cpp │ ├── fortran-example │ │ ├── CMakeLists.txt │ │ ├── CTestConfig.cmake │ │ ├── dashboard.cmake │ │ ├── menu.yml │ │ ├── src │ │ │ ├── CMakeLists.txt │ │ │ └── buggy.f90 │ │ └── tests │ │ │ ├── CMakeLists.txt │ │ │ ├── leaky.f90 │ │ │ └── out_of_bounds.f90 │ └── title.txt ├── recipe-04 │ ├── README.md │ ├── abstract.md │ ├── cxx-example │ │ ├── CMakeLists.txt │ │ ├── CTestConfig.cmake │ │ ├── dashboard.cmake │ │ ├── example.cpp │ │ └── menu.yml │ └── title.txt └── title.txt ├── chapter-15 └── README.md ├── figures ├── chapter-12 │ ├── recipe-01.png │ ├── recipe-02.png │ └── recipe-03.png ├── chapter-13 │ ├── vs-build-step-01.png │ ├── vs-build-step-02.png │ ├── vs-cmake-settings.png │ ├── vs-configuration-step.png │ ├── vs-installation-01.png │ └── vs-installation-02.png ├── chapter-14 │ ├── recipe-01-detail.png │ ├── recipe-01-overview.png │ ├── recipe-02-detail.png │ ├── recipe-02-lines.png │ ├── recipe-02-overview.png │ ├── recipe-03-detail.png │ ├── recipe-03-overview.png │ ├── recipe-04-detail.png │ └── recipe-04-overview.png ├── cmake-times │ ├── README.md │ ├── cmake-times.jpg │ └── cmake-times.svg └── trends │ ├── README.md │ ├── plot.py │ ├── requirements.txt │ ├── trends.csv │ └── trends.png ├── requirements.txt ├── testing ├── README.md ├── collect_tests.py ├── dependencies │ ├── appveyor │ │ ├── anaconda.ps1 │ │ ├── boost.bat │ │ ├── download.ps1 │ │ ├── extract.bat │ │ ├── install-msmpi.ps1 │ │ └── install.bat │ ├── report_versions.sh │ └── travis │ │ ├── anaconda.sh │ │ ├── boost.sh │ │ ├── cmake.sh │ │ ├── eigen.sh │ │ ├── install.sh │ │ └── ninja.sh ├── env.py ├── menu.yml └── parse.py └── tools └── generate-readmes.py /.appveyor.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.appveyor.yml -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.clang-format -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.editorconfig -------------------------------------------------------------------------------- /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.envrc -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.github/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.github/CONTRIBUTING.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.gitignore -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.mailmap -------------------------------------------------------------------------------- /.style.yapf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.style.yapf -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/.travis.yml -------------------------------------------------------------------------------- /AUTHORS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/AUTHORS.md -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/Pipfile -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/Pipfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/README.md -------------------------------------------------------------------------------- /STYLE_GUIDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/STYLE_GUIDE.md -------------------------------------------------------------------------------- /Software Hardware List.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/Software Hardware List.pdf -------------------------------------------------------------------------------- /chapter-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-01/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-01/c-example/hello-world.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/c-example/hello-world.c -------------------------------------------------------------------------------- /chapter-01/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-01/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-01/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-01/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-01/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-01/title.txt -------------------------------------------------------------------------------- /chapter-01/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-02/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-02/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-02/c-example/hello-world.c: -------------------------------------------------------------------------------- 1 | ../../recipe-01/c-example/hello-world.c -------------------------------------------------------------------------------- /chapter-01/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-02/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-02/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-02/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-02/fortran-example/hello-world.f90: -------------------------------------------------------------------------------- 1 | ../../recipe-01/fortran-example/hello-world.f90 -------------------------------------------------------------------------------- /chapter-01/recipe-02/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-02/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Switching generators 2 | -------------------------------------------------------------------------------- /chapter-01/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-example/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/cxx-example/Message.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-example/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/cxx-example/Message.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-objlib-example/Message.cpp: -------------------------------------------------------------------------------- 1 | ../cxx-example/Message.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-objlib-example/Message.hpp: -------------------------------------------------------------------------------- 1 | ../cxx-example/Message.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-03/cxx-objlib-example/hello-world.cpp: -------------------------------------------------------------------------------- 1 | ../cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-03/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-03/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-03/fortran-example/message.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/fortran-example/message.f90 -------------------------------------------------------------------------------- /chapter-01/recipe-03/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-03/title.txt -------------------------------------------------------------------------------- /chapter-01/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-04/cxx-example/Message.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/Message.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-04/cxx-example/Message.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/Message.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-04/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-04/title.txt -------------------------------------------------------------------------------- /chapter-01/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-05/cxx-example/Message.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/Message.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-05/cxx-example/Message.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/Message.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-05/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-05/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-05/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Presenting options to the user 2 | -------------------------------------------------------------------------------- /chapter-01/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-06/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-06/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Specifying the compiler 2 | -------------------------------------------------------------------------------- /chapter-01/recipe-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-07/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-07/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-07/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-07/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-07/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-07/example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-07/example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-07/title.txt: -------------------------------------------------------------------------------- 1 | Switching the build type 2 | -------------------------------------------------------------------------------- /chapter-01/recipe-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-08/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-08/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-08/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-08/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-08/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-08/cxx-example/compute-areas.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-08/cxx-example/compute-areas.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-08/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-08/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-08/title.txt: -------------------------------------------------------------------------------- 1 | Controlling compiler flags 2 | -------------------------------------------------------------------------------- /chapter-01/recipe-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-09/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Animal.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Animal.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Animal.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Animal.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Cat.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Cat.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Cat.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Cat.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Dog.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Dog.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Dog.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Dog.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/Factory.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/Factory.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/cxx-example/animal-farm.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/cxx-example/animal-farm.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-09/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-09/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-09/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-09/title.txt -------------------------------------------------------------------------------- /chapter-01/recipe-10/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-10/README.md -------------------------------------------------------------------------------- /chapter-01/recipe-10/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-10/abstract.md -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-10/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/compute-areas.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/compute-areas.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_circle.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_circle.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_circle.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_circle.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_polygon.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_polygon.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_polygon.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_polygon.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_rhombus.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_rhombus.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_rhombus.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_rhombus.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_square.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_square.cpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/geometry_square.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-08/cxx-example/geometry_square.hpp -------------------------------------------------------------------------------- /chapter-01/recipe-10/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-10/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-01/recipe-10/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-01/recipe-10/title.txt -------------------------------------------------------------------------------- /chapter-01/title.txt: -------------------------------------------------------------------------------- 1 | From a Simple Executable to Libraries 2 | -------------------------------------------------------------------------------- /chapter-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-02/recipe-01/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-01/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-01/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-01/title.txt -------------------------------------------------------------------------------- /chapter-02/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-02/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-02/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-02/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-02/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Dealing with platform-dependent source code 2 | -------------------------------------------------------------------------------- /chapter-02/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-02/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-03/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-03/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-02/recipe-03/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-03/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-03/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-03/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-02/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Dealing with compiler-dependent source code 2 | -------------------------------------------------------------------------------- /chapter-02/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-02/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-04/cxx-example/arch-dependent.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-04/cxx-example/arch-dependent.cpp -------------------------------------------------------------------------------- /chapter-02/recipe-04/title.txt: -------------------------------------------------------------------------------- 1 | Discovering the host processor architecture 2 | -------------------------------------------------------------------------------- /chapter-02/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-02/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-05/cxx-example/config.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-05/cxx-example/config.h.in -------------------------------------------------------------------------------- /chapter-02/recipe-05/cxx-example/processor-info.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-05/cxx-example/processor-info.cpp -------------------------------------------------------------------------------- /chapter-02/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Discovering the host processor instruction set 2 | -------------------------------------------------------------------------------- /chapter-02/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-02/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-02/recipe-06/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-06/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-02/recipe-06/cxx-example/linear-algebra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-06/cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-02/recipe-06/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-02/recipe-06/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-02/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Enabling vectorization for the Eigen library 2 | -------------------------------------------------------------------------------- /chapter-02/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the Environment 2 | -------------------------------------------------------------------------------- /chapter-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-01/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-01/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the Python interpreter 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-02/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-02/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-02/c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-02/c-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the Python library 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-03/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-03/cxx-example/use_numpy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-03/cxx-example/use_numpy.py -------------------------------------------------------------------------------- /chapter-03/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Detecting Python modules and packages 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/CxxBLAS.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/CxxBLAS.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/CxxBLAS.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/CxxBLAS.hpp -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/CxxLAPACK.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/CxxLAPACK.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/CxxLAPACK.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/CxxLAPACK.hpp -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/linear-algebra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-04/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the BLAS and LAPACK math libraries 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-05/cxx-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/cxx-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-05/cxx-example-3.5/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/cxx-example-3.5/example.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-05/cxx-example-3.5/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/cxx-example-3.5/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-05/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-05/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-05/fortran-example-3.5/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/fortran-example-3.5/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-05/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-05/fortran-example/example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/fortran-example/example.f90 -------------------------------------------------------------------------------- /chapter-03/recipe-05/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-05/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the OpenMP parallel environment 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-06/c-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/c-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-06/c-example-3.5/hello-mpi.c: -------------------------------------------------------------------------------- 1 | ../c-example/hello-mpi.c -------------------------------------------------------------------------------- /chapter-03/recipe-06/c-example-3.5/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/c-example-3.5/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-06/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-06/c-example/hello-mpi.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/c-example/hello-mpi.c -------------------------------------------------------------------------------- /chapter-03/recipe-06/c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/c-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-06/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-06/cxx-example/hello-mpi.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/cxx-example/hello-mpi.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-06/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-06/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the MPI parallel environment 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-07/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example-3.5/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example-3.5/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example-3.5/linear-algebra.cpp: -------------------------------------------------------------------------------- 1 | ../cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example-3.5/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example-3.5/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example/linear-algebra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-07/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-07/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-07/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the Eigen library 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-08/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-08/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-08/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-08/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-08/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-08/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-08/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-08/cxx-example/path-info.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-08/cxx-example/path-info.cpp -------------------------------------------------------------------------------- /chapter-03/recipe-08/title.txt: -------------------------------------------------------------------------------- 1 | Detecting the Boost libraries 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-09/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/c-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example-3.5/hwclient.c: -------------------------------------------------------------------------------- 1 | ../c-example/hwclient.c -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example-3.5/hwserver.c: -------------------------------------------------------------------------------- 1 | ../c-example/hwserver.c -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example-3.5/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/c-example-3.5/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example/hwclient.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/c-example/hwclient.c -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example/hwserver.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/c-example/hwserver.c -------------------------------------------------------------------------------- /chapter-03/recipe-09/c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-09/c-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-09/title.txt: -------------------------------------------------------------------------------- 1 | Detecting external libraries: I. Using `pkg-config` 2 | -------------------------------------------------------------------------------- /chapter-03/recipe-10/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-10/README.md -------------------------------------------------------------------------------- /chapter-03/recipe-10/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-10/abstract.md -------------------------------------------------------------------------------- /chapter-03/recipe-10/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-10/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-03/recipe-10/c-example/FindZeroMQ.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-10/c-example/FindZeroMQ.cmake -------------------------------------------------------------------------------- /chapter-03/recipe-10/c-example/hwclient.c: -------------------------------------------------------------------------------- 1 | ../../recipe-09/c-example/hwclient.c -------------------------------------------------------------------------------- /chapter-03/recipe-10/c-example/hwserver.c: -------------------------------------------------------------------------------- 1 | ../../recipe-09/c-example/hwserver.c -------------------------------------------------------------------------------- /chapter-03/recipe-10/c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-10/c-example/menu.yml -------------------------------------------------------------------------------- /chapter-03/recipe-10/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-03/recipe-10/title.txt -------------------------------------------------------------------------------- /chapter-03/title.txt: -------------------------------------------------------------------------------- 1 | Detecting External Libraries and Programs 2 | -------------------------------------------------------------------------------- /chapter-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/main.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/sum_integers.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/sum_integers.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/sum_integers.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/sum_integers.hpp -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/test.py -------------------------------------------------------------------------------- /chapter-04/recipe-01/cxx-example/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-01/cxx-example/test.sh -------------------------------------------------------------------------------- /chapter-04/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Creating a simple unit test 2 | -------------------------------------------------------------------------------- /chapter-04/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-02/cxx-example/catch.hpp -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/main.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/main.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/sum_integers.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/sum_integers.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.hpp -------------------------------------------------------------------------------- /chapter-04/recipe-02/cxx-example/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-02/cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Defining a unit test using the Catch2 library 2 | -------------------------------------------------------------------------------- /chapter-04/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-03/cxx-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example-3.5/main.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/main.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example-3.5/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example-3.5/sum_integers.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example-3.5/sum_integers.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.hpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example-3.5/test.cpp: -------------------------------------------------------------------------------- 1 | ../cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example/main.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/main.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example/sum_integers.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example/sum_integers.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.hpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/cxx-example/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-03/cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-03/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-03/title.txt -------------------------------------------------------------------------------- /chapter-04/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-04/cxx-example/main.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/main.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-04/recipe-04/cxx-example/sum_integers.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-04/cxx-example/sum_integers.hpp: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/sum_integers.hpp -------------------------------------------------------------------------------- /chapter-04/recipe-04/cxx-example/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-04/cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-04/title.txt -------------------------------------------------------------------------------- /chapter-04/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-05/cxx-example/leaky_implementation.hpp: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | int do_some_work(); 4 | -------------------------------------------------------------------------------- /chapter-04/recipe-05/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-05/cxx-example/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-05/cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-04/recipe-05/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-05/title.txt -------------------------------------------------------------------------------- /chapter-04/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-06/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-06/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-06/example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-06/example/test.py: -------------------------------------------------------------------------------- 1 | import sys 2 | 3 | # simulate a failing test 4 | sys.exit(1) 5 | -------------------------------------------------------------------------------- /chapter-04/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Testing expected failures 2 | -------------------------------------------------------------------------------- /chapter-04/recipe-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-07/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-07/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-07/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-07/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-07/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-07/example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-07/example/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-07/example/test.py -------------------------------------------------------------------------------- /chapter-04/recipe-07/title.txt: -------------------------------------------------------------------------------- 1 | Using timeouts for long tests 2 | -------------------------------------------------------------------------------- /chapter-04/recipe-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-08/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-08/title.txt: -------------------------------------------------------------------------------- 1 | Running tests in parallel 2 | -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/using-cost-example/test/a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/b.py: -------------------------------------------------------------------------------- 1 | a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/c.py: -------------------------------------------------------------------------------- 1 | a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/d.py: -------------------------------------------------------------------------------- 1 | a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/e.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/using-cost-example/test/e.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/f.py: -------------------------------------------------------------------------------- 1 | e.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/g.py: -------------------------------------------------------------------------------- 1 | e.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/h.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/using-cost-example/test/h.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/i.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/using-cost-example/test/i.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/using-cost-example/test/j.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/using-cost-example/test/j.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/without-cost-example/test/a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/b.py: -------------------------------------------------------------------------------- 1 | a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/c.py: -------------------------------------------------------------------------------- 1 | a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/d.py: -------------------------------------------------------------------------------- 1 | a.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/e.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/without-cost-example/test/e.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/f.py: -------------------------------------------------------------------------------- 1 | e.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/g.py: -------------------------------------------------------------------------------- 1 | e.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/h.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/without-cost-example/test/h.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/i.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/without-cost-example/test/i.py -------------------------------------------------------------------------------- /chapter-04/recipe-08/without-cost-example/test/j.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-08/without-cost-example/test/j.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-09/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-09/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-09/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-09/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/test/benchmark-a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-09/example/test/benchmark-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/test/benchmark-b.py: -------------------------------------------------------------------------------- 1 | benchmark-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/test/feature-a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-09/example/test/feature-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/test/feature-b.py: -------------------------------------------------------------------------------- 1 | feature-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/test/feature-c.py: -------------------------------------------------------------------------------- 1 | feature-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/example/test/feature-d.py: -------------------------------------------------------------------------------- 1 | benchmark-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-09/title.txt: -------------------------------------------------------------------------------- 1 | Running a subset of tests 2 | -------------------------------------------------------------------------------- /chapter-04/recipe-10/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/README.md -------------------------------------------------------------------------------- /chapter-04/recipe-10/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/abstract.md -------------------------------------------------------------------------------- /chapter-04/recipe-10/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-04/recipe-10/example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-04/recipe-10/example/test/cleanup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/example/test/cleanup.py -------------------------------------------------------------------------------- /chapter-04/recipe-10/example/test/feature-a.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/example/test/feature-a.py -------------------------------------------------------------------------------- /chapter-04/recipe-10/example/test/feature-b.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/example/test/feature-b.py -------------------------------------------------------------------------------- /chapter-04/recipe-10/example/test/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/recipe-10/example/test/setup.py -------------------------------------------------------------------------------- /chapter-04/recipe-10/title.txt: -------------------------------------------------------------------------------- 1 | Using test fixtures 2 | -------------------------------------------------------------------------------- /chapter-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-04/title.txt -------------------------------------------------------------------------------- /chapter-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-01/cxx-example/linear-algebra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-01/cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-01/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Using platform-independent file operations 2 | -------------------------------------------------------------------------------- /chapter-05/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-02/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-02/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Running a custom command at configure time 2 | -------------------------------------------------------------------------------- /chapter-05/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-03/cxx-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/cxx-example/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-03/cxx-example/linear-algebra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-03/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-03/title.txt -------------------------------------------------------------------------------- /chapter-05/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-04/cxx-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/cxx-example/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-04/cxx-example/linear-algebra.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/cxx-example/linear-algebra.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-04/title.txt -------------------------------------------------------------------------------- /chapter-05/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-05/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-05/fortran-example/echo-file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/fortran-example/echo-file.py -------------------------------------------------------------------------------- /chapter-05/recipe-05/fortran-example/example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/fortran-example/example.f90 -------------------------------------------------------------------------------- /chapter-05/recipe-05/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-05/fortran-example/static-size.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/fortran-example/static-size.py -------------------------------------------------------------------------------- /chapter-05/recipe-05/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-05/title.txt -------------------------------------------------------------------------------- /chapter-05/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-06/cxx-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-06/cxx-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-06/cxx-example-3.5/taskloop.cpp: -------------------------------------------------------------------------------- 1 | ../cxx-example/taskloop.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-06/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-06/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-06/cxx-example/taskloop.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-06/cxx-example/taskloop.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Probing compilation and linking 2 | -------------------------------------------------------------------------------- /chapter-05/recipe-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-07/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-07/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-07/cxx-example/asan-example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/cxx-example/asan-example.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-07/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-07/cxx-example/msan-example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/cxx-example/msan-example.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-07/cxx-example/tsan-example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/cxx-example/tsan-example.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-07/cxx-example/ubsan-example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-07/cxx-example/ubsan-example.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-07/title.txt: -------------------------------------------------------------------------------- 1 | Probing compiler flags 2 | -------------------------------------------------------------------------------- /chapter-05/recipe-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-08/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/c-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example-3.5/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/c-example-3.5/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example-3.5/test-uuid.c: -------------------------------------------------------------------------------- 1 | ../c-example/test-uuid.c -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example-3.5/use-uuid.cpp: -------------------------------------------------------------------------------- 1 | ../c-example/use-uuid.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/c-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example/test-uuid.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/c-example/test-uuid.c -------------------------------------------------------------------------------- /chapter-05/recipe-08/c-example/use-uuid.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-08/c-example/use-uuid.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-08/title.txt: -------------------------------------------------------------------------------- 1 | Probing execution 2 | -------------------------------------------------------------------------------- /chapter-05/recipe-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/README.md -------------------------------------------------------------------------------- /chapter-05/recipe-09/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/abstract.md -------------------------------------------------------------------------------- /chapter-05/recipe-09/cxx-example-asan/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/cxx-example-asan/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-09/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-05/recipe-09/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-05/recipe-09/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-05/recipe-09/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/recipe-09/title.txt -------------------------------------------------------------------------------- /chapter-05/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-05/title.txt -------------------------------------------------------------------------------- /chapter-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-06/recipe-01/fortran-c-example/example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-01/fortran-c-example/example.f90 -------------------------------------------------------------------------------- /chapter-06/recipe-01/fortran-c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-01/fortran-c-example/menu.yml -------------------------------------------------------------------------------- /chapter-06/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Generating sources at configure time 2 | -------------------------------------------------------------------------------- /chapter-06/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-06/recipe-02/fortran-c-example/example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-02/fortran-c-example/example.f90 -------------------------------------------------------------------------------- /chapter-06/recipe-02/fortran-c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-02/fortran-c-example/menu.yml -------------------------------------------------------------------------------- /chapter-06/recipe-02/fortran-c-example/print_info.c.in: -------------------------------------------------------------------------------- 1 | ../../recipe-01/fortran-c-example/print_info.c.in -------------------------------------------------------------------------------- /chapter-06/recipe-02/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-02/title.txt -------------------------------------------------------------------------------- /chapter-06/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-03/abstract.md: -------------------------------------------------------------------------------- 1 | In this example, we generate C++ code 2 | by using Python at build time. 3 | -------------------------------------------------------------------------------- /chapter-06/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-06/recipe-03/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-03/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-06/recipe-03/cxx-example/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-03/cxx-example/generate.py -------------------------------------------------------------------------------- /chapter-06/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Generating source code at build time using Python 2 | -------------------------------------------------------------------------------- /chapter-06/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-06/recipe-04/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-06/recipe-04/c-example/example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/c-example/example.c -------------------------------------------------------------------------------- /chapter-06/recipe-04/c-example/version.h.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/c-example/version.h.in -------------------------------------------------------------------------------- /chapter-06/recipe-04/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-06/recipe-04/fortran-example/example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/fortran-example/example.f90 -------------------------------------------------------------------------------- /chapter-06/recipe-04/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-06/recipe-04/fortran-example/version.f90.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/fortran-example/version.f90.in -------------------------------------------------------------------------------- /chapter-06/recipe-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-04/title.txt -------------------------------------------------------------------------------- /chapter-06/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-06/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-06/recipe-05/cxx-example/VERSION: -------------------------------------------------------------------------------- 1 | 2.0.1-rc-2 2 | -------------------------------------------------------------------------------- /chapter-06/recipe-05/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-05/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-06/recipe-05/cxx-example/version.hpp.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-05/cxx-example/version.hpp.in -------------------------------------------------------------------------------- /chapter-06/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Recording the project version from a file 2 | -------------------------------------------------------------------------------- /chapter-06/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-06/recipe-06/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-06/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-06/recipe-06/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-06/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-06/recipe-06/cxx-example/version.hpp.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-06/cxx-example/version.hpp.in -------------------------------------------------------------------------------- /chapter-06/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Recording the Git hash at configure time 2 | -------------------------------------------------------------------------------- /chapter-06/recipe-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-07/README.md -------------------------------------------------------------------------------- /chapter-06/recipe-07/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-07/abstract.md -------------------------------------------------------------------------------- /chapter-06/recipe-07/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-07/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-06/recipe-07/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-07/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-06/recipe-07/cxx-example/git-hash.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-06/recipe-07/cxx-example/git-hash.cmake -------------------------------------------------------------------------------- /chapter-06/recipe-07/cxx-example/version.hpp.in: -------------------------------------------------------------------------------- 1 | ../../recipe-06/cxx-example/version.hpp.in -------------------------------------------------------------------------------- /chapter-06/recipe-07/title.txt: -------------------------------------------------------------------------------- 1 | Recording the Git hash at build time 2 | -------------------------------------------------------------------------------- /chapter-06/title.txt: -------------------------------------------------------------------------------- 1 | Generating Source Code 2 | -------------------------------------------------------------------------------- /chapter-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-07/recipe-01/cxx-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/cxx-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-01/cxx-example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/cxx-example/src/main.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-01/cxx-example/tests/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/cxx-example/tests/catch.hpp -------------------------------------------------------------------------------- /chapter-07/recipe-01/cxx-example/tests/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-01/cxx-example/tests/test.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Code reuse with functions and macros 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-02/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-02/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-02/example/cmake/colors.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-02/example/cmake/colors.cmake -------------------------------------------------------------------------------- /chapter-07/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Splitting CMake sources into modules 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-03/c-cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-03/c-cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-03/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-03/title.txt -------------------------------------------------------------------------------- /chapter-07/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-07/recipe-04/cxx-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/cxx-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-04/cxx-example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/cxx-example/src/main.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-04/cxx-example/tests/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/cxx-example/tests/catch.hpp -------------------------------------------------------------------------------- /chapter-07/recipe-04/cxx-example/tests/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-04/cxx-example/tests/test.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-04/title.txt: -------------------------------------------------------------------------------- 1 | Defining a function or macro with named arguments 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-05/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-05/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-05/example/cmake/custom.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-05/example/cmake/custom.cmake -------------------------------------------------------------------------------- /chapter-07/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Redefining functions and macros 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-06/example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-06/example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-06/example/cmake/custom.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-06/example/cmake/custom.cmake -------------------------------------------------------------------------------- /chapter-07/recipe-06/title.txt: -------------------------------------------------------------------------------- 1 | Deprecating functions, macros, and variables 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-07/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/external/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/src/io/io.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/src/io/io.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/src/io/io.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/src/io/io.hpp -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/src/main.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/tests/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/tests/catch.hpp -------------------------------------------------------------------------------- /chapter-07/recipe-07/cxx-example/tests/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-07/cxx-example/tests/test.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-07/title.txt: -------------------------------------------------------------------------------- 1 | Limiting scope with `add_subdirectory` 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-08/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/external/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/external/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/src/io/io.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/src/io/io.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/src/io/io.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/src/io/io.hpp -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/src/main.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/tests/catch.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/tests/catch.hpp -------------------------------------------------------------------------------- /chapter-07/recipe-08/cxx-example/tests/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-08/cxx-example/tests/test.cpp -------------------------------------------------------------------------------- /chapter-07/recipe-08/title.txt: -------------------------------------------------------------------------------- 1 | Avoiding global variables using `target_sources` 2 | -------------------------------------------------------------------------------- /chapter-07/recipe-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/README.md -------------------------------------------------------------------------------- /chapter-07/recipe-09/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/abstract.md -------------------------------------------------------------------------------- /chapter-07/recipe-09/fortran-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/fortran-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-07/recipe-09/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-07/recipe-09/fortran-example/src/io/io.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/fortran-example/src/io/io.f90 -------------------------------------------------------------------------------- /chapter-07/recipe-09/fortran-example/src/main.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/fortran-example/src/main.f90 -------------------------------------------------------------------------------- /chapter-07/recipe-09/fortran-example/tests/test.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-07/recipe-09/fortran-example/tests/test.f90 -------------------------------------------------------------------------------- /chapter-07/recipe-09/title.txt: -------------------------------------------------------------------------------- 1 | Organizing Fortran projects 2 | -------------------------------------------------------------------------------- /chapter-07/title.txt: -------------------------------------------------------------------------------- 1 | Structuring Projects 2 | -------------------------------------------------------------------------------- /chapter-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/README.md -------------------------------------------------------------------------------- /chapter-08/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-08/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-08/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-01/cxx-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-01/cxx-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Using the superbuild pattern 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-08/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-08/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-02/cxx-example/external/upstream/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(boost) 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-02/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-08/recipe-02/cxx-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-02/cxx-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-02/cxx-example/src/path-info.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-02/cxx-example/src/path-info.cpp -------------------------------------------------------------------------------- /chapter-08/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Managing dependencies with a superbuild: I. The Boost libraries 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-08/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-08/recipe-03/c-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-03/c-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-03/c-example/external/upstream/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(fftw3) 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-03/c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-03/c-example/menu.yml -------------------------------------------------------------------------------- /chapter-08/recipe-03/c-example/src/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-03/c-example/src/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-03/c-example/src/fftw_example.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-03/c-example/src/fftw_example.c -------------------------------------------------------------------------------- /chapter-08/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Managing dependencies with a superbuild: II. The FFTW library 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-08/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example-3.5/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/cxx-example-3.5/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example-3.5/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/cxx-example-3.5/main.cpp -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example-3.5/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example-3.5/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/cxx-example-3.5/test.cpp -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/cxx-example/main.cpp -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-08/recipe-04/cxx-example/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-04/cxx-example/test.cpp -------------------------------------------------------------------------------- /chapter-08/recipe-04/title.txt: -------------------------------------------------------------------------------- 1 | Managing dependencies with a superbuild: III. The Google Test framework 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-08/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-08/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-08/recipe-05/cxx-example/external/upstream/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(message) 2 | -------------------------------------------------------------------------------- /chapter-08/recipe-05/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-08/recipe-05/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-08/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Managing your project as a superbuild 2 | -------------------------------------------------------------------------------- /chapter-08/title.txt: -------------------------------------------------------------------------------- 1 | The Superbuild Pattern 2 | -------------------------------------------------------------------------------- /chapter-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-09/recipe-01/fortran-c-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-01/fortran-c-example/menu.yml -------------------------------------------------------------------------------- /chapter-09/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Building Fortran projects that use C/C++ libraries 2 | -------------------------------------------------------------------------------- /chapter-09/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-09/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-09/recipe-02/cxx-example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-02/cxx-example/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-02/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-09/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Building C/C++ projects that use Fortran libraries 2 | -------------------------------------------------------------------------------- /chapter-09/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-09/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-09/recipe-03/cxx-example/account.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/cxx-example/account.cpp -------------------------------------------------------------------------------- /chapter-09/recipe-03/cxx-example/account.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/cxx-example/account.hpp -------------------------------------------------------------------------------- /chapter-09/recipe-03/cxx-example/account.pyx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/cxx-example/account.pyx -------------------------------------------------------------------------------- /chapter-09/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-09/recipe-03/cxx-example/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/cxx-example/test.py -------------------------------------------------------------------------------- /chapter-09/recipe-03/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-03/title.txt -------------------------------------------------------------------------------- /chapter-09/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-09/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-09/recipe-04/cxx-example/account.cpp: -------------------------------------------------------------------------------- 1 | ../../recipe-03/cxx-example/account.cpp -------------------------------------------------------------------------------- /chapter-09/recipe-04/cxx-example/account.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/cxx-example/account.hpp -------------------------------------------------------------------------------- /chapter-09/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-09/recipe-04/cxx-example/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/cxx-example/test.py -------------------------------------------------------------------------------- /chapter-09/recipe-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-04/title.txt -------------------------------------------------------------------------------- /chapter-09/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-09/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-09/recipe-05/cxx-example/account/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-05/cxx-example/account/test.py -------------------------------------------------------------------------------- /chapter-09/recipe-05/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-05/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-09/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Building C++ and Python projects using pybind11 2 | -------------------------------------------------------------------------------- /chapter-09/recipe-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-06/README.md -------------------------------------------------------------------------------- /chapter-09/recipe-06/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-06/abstract.md -------------------------------------------------------------------------------- /chapter-09/recipe-06/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-06/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-09/recipe-06/cxx-example/account/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-06/cxx-example/account/test.py -------------------------------------------------------------------------------- /chapter-09/recipe-06/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - test 3 | -------------------------------------------------------------------------------- /chapter-09/recipe-06/fortran-example/account/test.py: -------------------------------------------------------------------------------- 1 | ../../cxx-example/account/test.py -------------------------------------------------------------------------------- /chapter-09/recipe-06/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-06/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-09/recipe-06/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-09/recipe-06/title.txt -------------------------------------------------------------------------------- /chapter-09/title.txt: -------------------------------------------------------------------------------- 1 | Mixed-language Projects 2 | -------------------------------------------------------------------------------- /chapter-10/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/README.md -------------------------------------------------------------------------------- /chapter-10/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-10/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-10/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-10/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-01/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-10/recipe-01/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-01/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-10/recipe-01/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-01/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-10/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Installing your project 2 | -------------------------------------------------------------------------------- /chapter-10/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-10/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-10/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-10/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-02/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-10/recipe-02/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-02/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-10/recipe-02/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-02/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-10/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Generating export headers 2 | -------------------------------------------------------------------------------- /chapter-10/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-10/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-10/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-10/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-03/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-10/recipe-03/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-03/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-10/recipe-03/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-03/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-10/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Exporting your targets 2 | -------------------------------------------------------------------------------- /chapter-10/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-10/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-10/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-10/recipe-04/cxx-example/external/upstream/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_subdirectory(message) 2 | -------------------------------------------------------------------------------- /chapter-10/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-10/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-10/recipe-04/title.txt: -------------------------------------------------------------------------------- 1 | Installing a superbuild 2 | -------------------------------------------------------------------------------- /chapter-10/title.txt: -------------------------------------------------------------------------------- 1 | Writing an Installer 2 | -------------------------------------------------------------------------------- /chapter-11/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/README.md -------------------------------------------------------------------------------- /chapter-11/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-11/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-11/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-11/recipe-01/cxx-example/INSTALL.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/cxx-example/INSTALL.md -------------------------------------------------------------------------------- /chapter-11/recipe-01/cxx-example/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/cxx-example/LICENSE -------------------------------------------------------------------------------- /chapter-11/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-11/recipe-01/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-11/recipe-01/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-01/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-11/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Generating source and binary packages 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-11/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/cxx-example/MANIFEST.in -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/cxx-example/README.rst -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/account/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/cxx-example/account/test.py -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/account/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.0.0' 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/custom.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/cxx-example/custom.sh -------------------------------------------------------------------------------- /chapter-11/recipe-02/cxx-example/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-02/cxx-example/setup.py -------------------------------------------------------------------------------- /chapter-11/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Distributing a C++/Python project built with CMake/pybind11 via PyPI 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-11/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/cxx-example/MANIFEST.in -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/cxx-example/README.rst -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/account/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/cxx-example/account/test.py -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/account/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.0.0' 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/custom.sh: -------------------------------------------------------------------------------- 1 | ../../recipe-02/cxx-example/custom.sh -------------------------------------------------------------------------------- /chapter-11/recipe-03/cxx-example/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/cxx-example/setup.py -------------------------------------------------------------------------------- /chapter-11/recipe-03/fortran-example/MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/fortran-example/MANIFEST.in -------------------------------------------------------------------------------- /chapter-11/recipe-03/fortran-example/README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/fortran-example/README.rst -------------------------------------------------------------------------------- /chapter-11/recipe-03/fortran-example/account/version.py: -------------------------------------------------------------------------------- 1 | __version__ = '0.0.0' 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-03/fortran-example/custom.sh: -------------------------------------------------------------------------------- 1 | ../../recipe-02/cxx-example/custom.sh -------------------------------------------------------------------------------- /chapter-11/recipe-03/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-11/recipe-03/fortran-example/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-03/fortran-example/setup.py -------------------------------------------------------------------------------- /chapter-11/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Distributing a C/Fortran/Python project built with CMake/CFFI via PyPI 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-11/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-11/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-11/recipe-04/cxx-example/custom.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-04/cxx-example/custom.sh -------------------------------------------------------------------------------- /chapter-11/recipe-04/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-04/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-11/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-11/recipe-04/title.txt: -------------------------------------------------------------------------------- 1 | Distributing a simple project as Conda package 2 | -------------------------------------------------------------------------------- /chapter-11/recipe-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-05/README.md -------------------------------------------------------------------------------- /chapter-11/recipe-05/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-05/abstract.md -------------------------------------------------------------------------------- /chapter-11/recipe-05/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-05/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-11/recipe-05/cxx-example/custom.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-05/cxx-example/custom.sh -------------------------------------------------------------------------------- /chapter-11/recipe-05/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-05/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-11/recipe-05/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-11/recipe-05/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-11/recipe-05/title.txt: -------------------------------------------------------------------------------- 1 | Distributing a project with dependencies as Conda package 2 | -------------------------------------------------------------------------------- /chapter-11/title.txt: -------------------------------------------------------------------------------- 1 | Packaging Projects 2 | -------------------------------------------------------------------------------- /chapter-12/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/README.md -------------------------------------------------------------------------------- /chapter-12/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-12/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-12/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-12/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - docs 3 | -------------------------------------------------------------------------------- /chapter-12/recipe-01/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-01/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-12/recipe-01/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-01/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-12/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Building documentation using Doxygen 2 | -------------------------------------------------------------------------------- /chapter-12/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-12/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-12/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-12/recipe-02/cxx-example/docs/conf.py.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/cxx-example/docs/conf.py.in -------------------------------------------------------------------------------- /chapter-12/recipe-02/cxx-example/docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/cxx-example/docs/index.rst -------------------------------------------------------------------------------- /chapter-12/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - docs 3 | -------------------------------------------------------------------------------- /chapter-12/recipe-02/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-12/recipe-02/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-02/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-12/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Building documentation using Sphinx 2 | -------------------------------------------------------------------------------- /chapter-12/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-12/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-12/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-12/recipe-03/cxx-example/docs/conf.py.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/cxx-example/docs/conf.py.in -------------------------------------------------------------------------------- /chapter-12/recipe-03/cxx-example/docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/cxx-example/docs/index.rst -------------------------------------------------------------------------------- /chapter-12/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- 1 | targets: 2 | - docs 3 | -------------------------------------------------------------------------------- /chapter-12/recipe-03/cxx-example/src/Message.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/cxx-example/src/Message.cpp -------------------------------------------------------------------------------- /chapter-12/recipe-03/cxx-example/src/Message.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-12/recipe-03/cxx-example/src/Message.hpp -------------------------------------------------------------------------------- /chapter-12/recipe-03/title.txt: -------------------------------------------------------------------------------- 1 | Combining Doxygen and Sphinx 2 | -------------------------------------------------------------------------------- /chapter-12/title.txt: -------------------------------------------------------------------------------- 1 | Building Documentation 2 | -------------------------------------------------------------------------------- /chapter-13/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/README.md -------------------------------------------------------------------------------- /chapter-13/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-13/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-13/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-13/recipe-01/cxx-example/hello-world.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-01/cxx-example/hello-world.cpp -------------------------------------------------------------------------------- /chapter-13/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-01/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-13/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Cross-compiling a hello world example 2 | -------------------------------------------------------------------------------- /chapter-13/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-13/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-13/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-13/recipe-02/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-13/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-13/recipe-02/fortran-example/example.f90: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/fortran-example/example.f90 -------------------------------------------------------------------------------- /chapter-13/recipe-02/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/recipe-02/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-13/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Cross-compiling a Windows binary with OpenMP parallelization 2 | -------------------------------------------------------------------------------- /chapter-13/title.txt: -------------------------------------------------------------------------------- 1 | Alternative Generators and Cross-compilation 2 | -------------------------------------------------------------------------------- /chapter-13/toolchain-travis.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-13/toolchain-travis.cmake -------------------------------------------------------------------------------- /chapter-14/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/README.md -------------------------------------------------------------------------------- /chapter-14/recipe-01/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-01/README.md -------------------------------------------------------------------------------- /chapter-14/recipe-01/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-01/abstract.md -------------------------------------------------------------------------------- /chapter-14/recipe-01/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-01/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-14/recipe-01/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-01/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-14/recipe-01/cxx-example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-01/cxx-example/src/main.cpp -------------------------------------------------------------------------------- /chapter-14/recipe-01/title.txt: -------------------------------------------------------------------------------- 1 | Deploying tests to the CDash dashboard 2 | -------------------------------------------------------------------------------- /chapter-14/recipe-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-02/README.md -------------------------------------------------------------------------------- /chapter-14/recipe-02/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-02/abstract.md -------------------------------------------------------------------------------- /chapter-14/recipe-02/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-02/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-14/recipe-02/cxx-example/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/CTestConfig.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-02/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-02/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-14/recipe-02/cxx-example/src/main.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-02/cxx-example/src/main.cpp -------------------------------------------------------------------------------- /chapter-14/recipe-02/title.txt: -------------------------------------------------------------------------------- 1 | Reporting test coverage to the CDash dashboard 2 | -------------------------------------------------------------------------------- /chapter-14/recipe-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/README.md -------------------------------------------------------------------------------- /chapter-14/recipe-03/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/abstract.md -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/CTestConfig.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/dashboard.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/cxx-example/dashboard.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/src/buggy.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/cxx-example/src/buggy.cpp -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/src/buggy.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/cxx-example/src/buggy.hpp -------------------------------------------------------------------------------- /chapter-14/recipe-03/cxx-example/tests/leaky.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/cxx-example/tests/leaky.cpp -------------------------------------------------------------------------------- /chapter-14/recipe-03/fortran-example/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/CTestConfig.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-03/fortran-example/dashboard.cmake: -------------------------------------------------------------------------------- 1 | ../cxx-example/dashboard.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-03/fortran-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/fortran-example/menu.yml -------------------------------------------------------------------------------- /chapter-14/recipe-03/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-03/title.txt -------------------------------------------------------------------------------- /chapter-14/recipe-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/README.md -------------------------------------------------------------------------------- /chapter-14/recipe-04/abstract.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/abstract.md -------------------------------------------------------------------------------- /chapter-14/recipe-04/cxx-example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/cxx-example/CMakeLists.txt -------------------------------------------------------------------------------- /chapter-14/recipe-04/cxx-example/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | ../../recipe-01/cxx-example/CTestConfig.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-04/cxx-example/dashboard.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/cxx-example/dashboard.cmake -------------------------------------------------------------------------------- /chapter-14/recipe-04/cxx-example/example.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/cxx-example/example.cpp -------------------------------------------------------------------------------- /chapter-14/recipe-04/cxx-example/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/cxx-example/menu.yml -------------------------------------------------------------------------------- /chapter-14/recipe-04/title.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-14/recipe-04/title.txt -------------------------------------------------------------------------------- /chapter-14/title.txt: -------------------------------------------------------------------------------- 1 | Testing Dashboards 2 | -------------------------------------------------------------------------------- /chapter-15/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/chapter-15/README.md -------------------------------------------------------------------------------- /figures/chapter-12/recipe-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-12/recipe-01.png -------------------------------------------------------------------------------- /figures/chapter-12/recipe-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-12/recipe-02.png -------------------------------------------------------------------------------- /figures/chapter-12/recipe-03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-12/recipe-03.png -------------------------------------------------------------------------------- /figures/chapter-13/vs-build-step-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-13/vs-build-step-01.png -------------------------------------------------------------------------------- /figures/chapter-13/vs-build-step-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-13/vs-build-step-02.png -------------------------------------------------------------------------------- /figures/chapter-13/vs-cmake-settings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-13/vs-cmake-settings.png -------------------------------------------------------------------------------- /figures/chapter-13/vs-configuration-step.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-13/vs-configuration-step.png -------------------------------------------------------------------------------- /figures/chapter-13/vs-installation-01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-13/vs-installation-01.png -------------------------------------------------------------------------------- /figures/chapter-13/vs-installation-02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-13/vs-installation-02.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-01-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-01-detail.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-01-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-01-overview.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-02-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-02-detail.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-02-lines.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-02-lines.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-02-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-02-overview.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-03-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-03-detail.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-03-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-03-overview.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-04-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-04-detail.png -------------------------------------------------------------------------------- /figures/chapter-14/recipe-04-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/chapter-14/recipe-04-overview.png -------------------------------------------------------------------------------- /figures/cmake-times/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/cmake-times/README.md -------------------------------------------------------------------------------- /figures/cmake-times/cmake-times.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/cmake-times/cmake-times.jpg -------------------------------------------------------------------------------- /figures/cmake-times/cmake-times.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/cmake-times/cmake-times.svg -------------------------------------------------------------------------------- /figures/trends/README.md: -------------------------------------------------------------------------------- 1 | CSV data downloaded from https://trends.google.com on 2018-08-31. 2 | -------------------------------------------------------------------------------- /figures/trends/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/trends/plot.py -------------------------------------------------------------------------------- /figures/trends/requirements.txt: -------------------------------------------------------------------------------- 1 | pandas 2 | seaborn 3 | -------------------------------------------------------------------------------- /figures/trends/trends.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/trends/trends.csv -------------------------------------------------------------------------------- /figures/trends/trends.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/figures/trends/trends.png -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/requirements.txt -------------------------------------------------------------------------------- /testing/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/README.md -------------------------------------------------------------------------------- /testing/collect_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/collect_tests.py -------------------------------------------------------------------------------- /testing/dependencies/appveyor/anaconda.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/appveyor/anaconda.ps1 -------------------------------------------------------------------------------- /testing/dependencies/appveyor/boost.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/appveyor/boost.bat -------------------------------------------------------------------------------- /testing/dependencies/appveyor/download.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/appveyor/download.ps1 -------------------------------------------------------------------------------- /testing/dependencies/appveyor/extract.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/appveyor/extract.bat -------------------------------------------------------------------------------- /testing/dependencies/appveyor/install-msmpi.ps1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/appveyor/install-msmpi.ps1 -------------------------------------------------------------------------------- /testing/dependencies/appveyor/install.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/appveyor/install.bat -------------------------------------------------------------------------------- /testing/dependencies/report_versions.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/report_versions.sh -------------------------------------------------------------------------------- /testing/dependencies/travis/anaconda.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/travis/anaconda.sh -------------------------------------------------------------------------------- /testing/dependencies/travis/boost.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/travis/boost.sh -------------------------------------------------------------------------------- /testing/dependencies/travis/cmake.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/travis/cmake.sh -------------------------------------------------------------------------------- /testing/dependencies/travis/eigen.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/travis/eigen.sh -------------------------------------------------------------------------------- /testing/dependencies/travis/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/travis/install.sh -------------------------------------------------------------------------------- /testing/dependencies/travis/ninja.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/dependencies/travis/ninja.sh -------------------------------------------------------------------------------- /testing/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/env.py -------------------------------------------------------------------------------- /testing/menu.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/menu.yml -------------------------------------------------------------------------------- /testing/parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/testing/parse.py -------------------------------------------------------------------------------- /tools/generate-readmes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PacktPublishing/CMake-Cookbook/HEAD/tools/generate-readmes.py --------------------------------------------------------------------------------