summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Adding a Library.rst
Commit message (Collapse)AuthorAgeFilesLines
* Tutorial: Clarify the expected change to target_include_directoriesKevin Albertson2024-01-051-4/+4
| | | | | The expectation is to modify the existing `target_include_directories`, not add add a new `target_include_directories` command.
* Tutorial: Fix-up typos and inconsistenciesbetsy.mcphail2023-09-071-1/+1
| | | | | | | * Fix typo in Step 2 * Fix incorrect code referenced in Step 3, TODO 7. Update comments in MathFunctions/CMakeLists.txt to unique strings. * Resolve inconsistencies between steps in MathFunctions/CMakeLists.txt
* Tutorial: Fix Step 1 TODO 1 to be expandableChris Mahoney2023-06-221-1/+1
|
* Tutorial: Move Step4-Ex1 to Step3-Ex2Paul Choisel2023-04-281-2/+3
| | | | | 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
* Tutorial: Refactor MakeTable commands into MakeTable.cmakeMarkus Ferrell2023-03-071-13/+81
|
* Tutorial: Refactor MathFunctions codeMarkus Ferrell2023-02-231-146/+73
| | | | | | | Propagate the refactor in Step 10 MathFunctions through all of the steps. Use MathFunctions/MathFunctions.cxx instead of Tutorial.cxx to determine which sqrt library is called. Adds .h files which correspond to their .cxx files by name.
* Tutorial: Restore USE_MYMATH in place of MY_MATHMarkus Ferrell2022-10-251-6/+7
| | | | | | In commit 80f5d28813 (Tutorial: Update step 2 style, 2022-07-25, v3.25.0-rc1~226^2) we replaced some uses of `USE_MYMATH` with `MY_MATH`. Restore the former name for consistency with the rest of the tutorial.
* Tutorial: Update step 3 styleMarkus Ferrell2022-08-311-1/+2
|
* Tutorial: Update step 2 styleMarkus Ferrell2022-08-291-71/+392
|
* Help/guide: Fix wrong header file referenceMartin Duffy2022-04-211-2/+3
| | | | | Step 2 references mysqrt.h instead of MathFunctions.h. MathFunctions/mysqrt.h doesn't exist until Step 9.
* Tutorial: Describe placement of add_subdirectoryJoseph Snyder2021-09-241-2/+7
| | | | | | | | | | | | Clarify that the process of making a target optional in the second step of the tutorial is further steps to the work done before, not a separate addition to the file. Do this by ensuring that the paragraph which describes the work done mentions the placement and use of the previous command. This is done to avoid duplication of the add_subdirectory call. CMake Issue: #22663
* Tutorial: Make code snippets linkableBrad King2021-06-181-0/+7
| | | | | | Extend the change from commit 9e5bbb69ea (Tutorial: Add captions for code blocks, 2021-06-11) to also add a Sphinx named target to code blocks. Name each target after the change the code block makes.
* Tutorial: Add captions for code blocksJosef Angstenberger2021-06-171-0/+7
|
* Tutorial: Small formatting improvementsJosef Angstenberger2021-06-171-7/+7
| | | | | | - Use inline literals for all code fragments and names. - Add missing console code-blocks. - Always use c++, not c as code language.
* Tutorial: Split steps into separate filesJosef Angstenberger2021-06-171-0/+116
Fixes: #21737