diff options
author | Paul Choisel <paul.choisel@kitware.com> | 2023-04-14 14:18:04 (GMT) |
---|---|---|
committer | Paul Choisel <paul.choisel@kitware.com> | 2023-04-28 14:23:59 (GMT) |
commit | c6a426198a9ea204d6e5990467426a86bd07b25c (patch) | |
tree | f45c93c44a5129b0c72355be94b78606d713d754 /Help/guide/tutorial/Adding a Library.rst | |
parent | 6c11f7e4a8805189835c04a398864f96081b3183 (diff) | |
download | CMake-c6a426198a9ea204d6e5990467426a86bd07b25c.zip CMake-c6a426198a9ea204d6e5990467426a86bd07b25c.tar.gz CMake-c6a426198a9ea204d6e5990467426a86bd07b25c.tar.bz2 |
Tutorial: Move Step4-Ex1 to Step3-Ex2
During the training, we talk about INTERFACE libraries just before Step3
so it makes more sense to do the exercise related to them in Step3
Diffstat (limited to 'Help/guide/tutorial/Adding a Library.rst')
-rw-r--r-- | Help/guide/tutorial/Adding a Library.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/guide/tutorial/Adding a Library.rst b/Help/guide/tutorial/Adding a Library.rst index d606f30..694dfaf 100644 --- a/Help/guide/tutorial/Adding a Library.rst +++ b/Help/guide/tutorial/Adding a Library.rst @@ -409,7 +409,7 @@ that has sources ``mysqrt.cxx``. :name: MathFunctions/CMakeLists.txt-add_library-SqrtLibrary :language: cmake :start-after: # library that just does sqrt - :end-before: target_link_libraries(MathFunctions + :end-before: # TODO 7: Link .. raw:: html @@ -426,7 +426,8 @@ enabled. :caption: TODO 13 : MathFunctions/CMakeLists.txt :name: MathFunctions/CMakeLists.txt-target_link_libraries-SqrtLibrary :language: cmake - :lines: 16-18 + :start-after: to tutorial_compiler_flags + :end-before: endif() .. raw:: html |