summaryrefslogtreecommitdiffstats
path: root/Help/guide/tutorial/Step11
Commit message (Collapse)AuthorAgeFilesLines
* Tutorial: Fix-up typos and inconsistenciesbetsy.mcphail2023-09-071-0/+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-072-10/+11
|
* Tutorial: Refactor MathFunctions codeMarkus Ferrell2023-02-231-0/+1
| | | | | | | 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: Move step 10 to step 4Markus Ferrell2022-08-084-4/+7
| | | | Shifts steps 4-9 to 5-10.
* Tutorial: Package only one source archiveJoachim Wuttke (h)2021-11-301-0/+1
|
* LCC: Add dedicated support for MCST LCC compilermakise-homura2021-10-151-1/+1
| | | | | | | | | | | | | | | | | | | | | Divert LCC compiler as a new one, instead of treating it as GNU. Since old times, Elbrus C/C++/Fortran Compiler (LCC) by MCST has been passing checks for GNU compilers, so it has been identified as GNU. Now, with intent of seriously upstreaming its support, it has been added as a separate LCC compiler, and its version displays not a supported GCC version, but LCC version itself (e.g. LCC 1.25.19 instead of GNU 7.3.0). This commit adds its support for detection, and also converts basically every check like 'is this compiler GNU?' to 'is this compiler GNU or LCC?'. The only places where this check is untouched, is where it regards other platforms where LCC is unavailable (primarily non-Linux), and where it REALLY differs from GNU compiler. Note: this transition may break software that are already ported to Elbrus, but hardly relies that LCC will be detected as GNU; still such software is not known.
* Tutorial: Step 4 improvementsJoseph Snyder2021-10-071-1/+1
| | | | | | | | | | | Small changes to the text and CMake code for the fourth step of the tutorial: * Remove parameter from endfunction call * Standardize on "binary directory" for test location * Add additional information about a Release build. Issue: #22663
* Tutorial: Fix regexps in sample CMakeLists.txt filesChristophe Bernard2021-09-301-1/+1
| | | | | | Replace original regexp `[-nan|nan|0]` with `(-nan|nan|0)` which is what the author most likely intended to write in the first place.
* Tutorial: Install correctly when built staticallyRobert Maynard2020-06-161-1/+5
| | | | When built statically we failed to install the SqrtLibrary
* Tutorial: Add the PRIVATE keyword to target_link_libraries commandBetsy McPhail2020-01-101-1/+1
|
* Revise include order using clang-format-6.0Kitware Robot2019-10-012-1/+3
| | | | | 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 9Betsy McPhail2019-08-192-3/+3
| | | | * Move USE_MYMATH from configured header to target_compile_definitions
* Tutorial: Improve Step 8Betsy McPhail2019-08-191-0/+7
| | | | | * Remove comments from CTestConfig.cmake * Update directions
* Tutorial: Improve Step 6Betsy McPhail2019-08-192-14/+1
| | | | | | * Print message when using the table * Remove duplicated comment * Remove HAVE_LOG and HAVE_EXP checks, use generated table instead
* Tutorial: Improve Step 5Betsy McPhail2019-08-192-9/+3
| | | | | | | | * 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.
* Tutorial: Improve Step 2Betsy McPhail2019-08-192-2/+2
| | | | | | | | * Fix typo in #include * Remove CMakeLists file that users should create * Clarify which files users are expected to create * Highlight the importance of configuring TutorialConfig.h.in after the MY_MATH option has been set
* Tutorial: Improve Step 1Betsy McPhail2019-08-192-10/+6
| | | | | | | | | | * Update minimum required version to 3.10 * Use VERSION argument to project command rather than separate variables * Replace `endif(USE_MYMATH)` with more modern `endif()` * Simplify the call to 'configure_file()' * Add comments to tutorial.cxx to use as anchors in documentation * Remove CMakeLists and TutorialConfig.h.in files that users should create. Consequently, remove Step1 from CMake tests.
* Tutorial: Improve Step 10 generator expression example.Robert Maynard2019-07-252-8/+21
| | | | | Use compiler flags and standard levels as the compelling argument for using generator expressions and interface libraries
* Help/guide/tutorial: Revert "require C++14 for the Tutorial"Brad King2019-07-241-1/+2
| | | | | | | | | | Revert the changes from commit a2a90f41e3 (Tests: require C++14 for the Tutorial, 2019-03-21, v3.15.0-rc1~41^2~2) for the content in its new home. In commit d50b31be35 (Clang: For MSVC ABI do not use modes older than C++14, 2019-07-23) we fixed the C++ standard selection for GNU-like Clang with the MSVC ABI so the test code itself no longer needs to do it. In particular, changing the tests in this way broke the tutorial's narrative.
* Help: Populate tutorial guide textBetsy McPhail2019-06-194-111/+8
| | | | | | 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-1811-0/+378