summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step6/MathFunctions
Commit message (Collapse)AuthorAgeFilesLines
* Tutorial: Fix-up typos and inconsistenciesbetsy.mcphail2023-09-071-1/+3
| | | | | | | * 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: Refactor MakeTable commands into MakeTable.cmakeMarkus Ferrell2023-03-071-1/+12
|
* Tutorial: Refactor MathFunctions codeMarkus Ferrell2023-02-235-7/+47
| | | | | | | 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: Update step 5 styleMarkus Ferrell2022-10-061-1/+2
|
* Tutorial: Update step 4 styleMarkus Ferrell2022-09-281-0/+1
|
* Tutorial: Move step 10 to step 4Markus Ferrell2022-08-081-1/+4
| | | | Shifts steps 4-9 to 5-10.
* Tutorial: Move step 8 to step 5. Shift steps 5-7 to 6-8.Markus Ferrell2022-07-193-56/+0
|
* Tutorial: Simplify logic checking for cmath functionsBrad King2022-06-012-14/+16
| | | | | | | | | | | | | | Since commit 07223c5c27 (Tutorial: Update Step 5 to work on Windows, 2020-02-18, v3.18.0-rc1~655^2) the logic does not work on non-Windows platforms when cmake is re-run on an existing build tree. It is also more complicated than we'd like for a tutorial example. Avoid the need to consider the `m` library case by performing the check as C++. Since `check_cxx_symbol_exists` cannot handle overloaded functions like `exp` and `log`, check with `check_cxx_source_compiles` instead. This also presents a more general-purpose example in the tutorial. Fixes: #23524
* Tutorial: Restore MakeTable.cxx in step 6Brad King2020-04-271-0/+25
| | | | | | | | | | | In commit c754a3d4b7 (Tutorial: Remove MakeTable.cxx from Steps 5 and 6, 2020-04-23) it was incorrect to remove the file from step 6. The instructions for that step show the addition of a reference to it from the `CMakeLists.txt` file. Each step shows the addition of content to lead to the next step, so removing the file from step 6 was an off-by-one error. Issue: #20618
* Tutorial: Remove MakeTable.cxx from Steps 5 and 6Betsy McPhail2020-04-231-25/+0
| | | | | | | This file is not referenced until Step 6 and, therefore, should be added to the source code at Step 7. Fixes: #20618
* Tutorial: Update Step 5 to work on WindowsBetsy McPhail2020-02-271-1/+11
| | | | | | | `log` and `exp` should be found on Windows systems now, as expected. Update tests to be more specific in looking for the expected outcome of the tutorial.
* Revise include order using clang-format-6.0Kitware Robot2019-10-011-2/+2
| | | | | Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
* Tutorial: Improve Step 5Betsy McPhail2019-08-192-6/+13
| | | | | | | | * Updated output message * Use 'target_compile_definitions' for HAVE_LOG and HAVE_EXP Previously, the change from using TutorialConfig.h to target_compile_definitions happened without explanation as part of Step 8.
* Help: Populate tutorial guide textBetsy McPhail2019-06-191-1/+1
| | | | | | Migrate tutorial text from individual `directions.txt` files to the main tutorial document. Add some comments to source code to provide anchors for inclusion.
* Help/guide/tutorial: Adopt tutorial codeKitware Robot2019-06-184-0/+73