File tree 10 files changed +53
-5
lines changed
10 files changed +53
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Using the superbuild pattern
2
2
3
- Abstract to be written ...
3
+ This recipe introduces the superbuild pattern with a very simple example. We
4
+ will show how to use the
5
+ [ ExternalProject_Add] ( https://cmake.org/cmake/help/latest/module/ExternalProject.html )
6
+ command to build a simple "Hello, World" program.
7
+
4
8
5
9
- [ cxx-example] ( cxx-example/ )
Original file line number Diff line number Diff line change
1
+ This recipe introduces the superbuild pattern with a very simple example. We
2
+ will show how to use the
3
+ [ ExternalProject_Add] ( https://cmake.org/cmake/help/latest/module/ExternalProject.html )
4
+ command to build a simple "Hello, World" program.
Original file line number Diff line number Diff line change 1
1
# Managing dependencies with a superbuild: I. The Boost libraries
2
2
3
- Abstract to be written ...
3
+ This recipe shows how to leverage the superbuild pattern to ship your code with
4
+ the confidence that a missing dependency will not stop the configuration. We
5
+ will reuse the code example from [ Recipe 8 in Chapter
6
+ 3] ( ../../chapter-03/recipe-08 ) , but reorganize it in the form of a superbuild.
7
+
4
8
5
9
- [ cxx-example] ( cxx-example/ )
Original file line number Diff line number Diff line change
1
+ This recipe shows how to leverage the superbuild pattern to ship your code with
2
+ the confidence that a missing dependency will not stop the configuration. We
3
+ will reuse the code example from [ Recipe 8 in Chapter
4
+ 3] ( ../../chapter-03/recipe-08 ) , but reorganize it in the form of a superbuild.
Original file line number Diff line number Diff line change 1
1
# Managing dependencies with a superbuild: II. The FFTW library
2
2
3
- Abstract to be written ...
3
+ In this recipe we show
4
+ how to download, build, and install the
5
+ [ FFTW library] ( http://www.fftw.org ) using a superbuild.
6
+
4
7
5
8
- [ c-example] ( c-example/ )
Original file line number Diff line number Diff line change
1
+ In this recipe we show
2
+ how to download, build, and install the
3
+ [ FFTW library] ( http://www.fftw.org ) using a superbuild.
Original file line number Diff line number Diff line change 1
1
# Managing dependencies with a superbuild: III. The Google Test framework
2
2
3
- Abstract to be written ...
3
+ In this recipe we reuse the code from [ Recipe 3 in Chapter 4] ( ../../chapter-04/recipe-03 )
4
+ and fetch and build the [ Google Test] ( https://github.com/google/googletest ) framework
5
+ using [ FetchContent] ( https://cmake.org/cmake/help/latest/module/FetchContent.html ) ,
6
+ which provides a compact and
7
+ versatile module to assemble project dependencies at configure time. For additional insight
8
+ and for CMake below 3.11, we will also discuss how to emulate [ FetchContent] ( https://cmake.org/cmake/help/latest/module/FetchContent.html ) using
9
+ [ ExternalProject_Add] ( https://cmake.org/cmake/help/latest/module/ExternalProject_Add.html )
10
+ at configure time.
11
+
4
12
5
13
- [ cxx-example] ( cxx-example/ )
6
14
- [ cxx-example-3.5] ( cxx-example-3.5/ )
Original file line number Diff line number Diff line change
1
+ In this recipe we reuse the code from [ Recipe 3 in Chapter 4] ( ../../chapter-04/recipe-03 )
2
+ and fetch and build the [ Google Test] ( https://github.com/google/googletest ) framework
3
+ using [ FetchContent] ( https://cmake.org/cmake/help/latest/module/FetchContent.html ) ,
4
+ which provides a compact and
5
+ versatile module to assemble project dependencies at configure time. For additional insight
6
+ and for CMake below 3.11, we will also discuss how to emulate [ FetchContent] ( https://cmake.org/cmake/help/latest/module/FetchContent.html ) using
7
+ [ ExternalProject_Add] ( https://cmake.org/cmake/help/latest/module/ExternalProject_Add.html )
8
+ at configure time.
Original file line number Diff line number Diff line change 1
1
# Managing your project as a superbuild
2
2
3
- Abstract to be written ...
3
+ This recipe shows how to use
4
+ [ ExternalProject_Add] ( https://cmake.org/cmake/help/latest/module/ExternalProject_Add.html )
5
+ to handle dependencies available from open source Git repositories.
6
+
7
+ As an example we will build a project which depends on https://github.com/dev-cafe/message .
8
+
4
9
5
10
- [ cxx-example] ( cxx-example/ )
Original file line number Diff line number Diff line change
1
+ This recipe shows how to use
2
+ [ ExternalProject_Add] ( https://cmake.org/cmake/help/latest/module/ExternalProject_Add.html )
3
+ to handle dependencies available from open source Git repositories.
4
+
5
+ As an example we will build a project which depends on https://github.com/dev-cafe/message .
You can’t perform that action at this time.
0 commit comments