summaryrefslogtreecommitdiff
path: root/Help/guide/tutorial/Step11
AgeCommit message (Collapse)AuthorLines
2024-05-09Tutorial: Set CPACK_GENERATOR in Step 9betsy.mcphail-0/+1
In addition to CPACK_SOURCE_GENERATOR also set CPACK_GENERATOR.
2023-09-07Tutorial: Fix-up typos and inconsistenciesbetsy.mcphail-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
2023-03-07Tutorial: Refactor MakeTable commands into MakeTable.cmakeMarkus Ferrell-10/+11
2023-02-23Tutorial: Refactor MathFunctions codeMarkus Ferrell-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.
2022-10-06Tutorial: Update step 5 styleMarkus Ferrell-1/+2
2022-08-08Tutorial: Move step 10 to step 4Markus Ferrell-4/+7
Shifts steps 4-9 to 5-10.
2021-11-30Tutorial: Package only one source archiveJoachim Wuttke (h)-0/+1
2021-10-15LCC: Add dedicated support for MCST LCC compilermakise-homura-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.
2021-10-07Tutorial: Step 4 improvementsJoseph Snyder-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
2021-09-30Tutorial: Fix regexps in sample CMakeLists.txt filesChristophe Bernard-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.
2020-06-16Tutorial: Install correctly when built staticallyRobert Maynard-1/+5
When built statically we failed to install the SqrtLibrary
2020-01-10Tutorial: Add the PRIVATE keyword to target_link_libraries commandBetsy McPhail-1/+1
2019-10-01Revise include order using clang-format-6.0Kitware Robot-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.
2019-08-19Tutorial: Improve Step 9Betsy McPhail-3/+3
* Move USE_MYMATH from configured header to target_compile_definitions
2019-08-19Tutorial: Improve Step 8Betsy McPhail-0/+7
* Remove comments from CTestConfig.cmake * Update directions
2019-08-19Tutorial: Improve Step 6Betsy McPhail-14/+1
* Print message when using the table * Remove duplicated comment * Remove HAVE_LOG and HAVE_EXP checks, use generated table instead
2019-08-19Tutorial: Improve Step 5Betsy McPhail-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.
2019-08-19Tutorial: Improve Step 2Betsy McPhail-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
2019-08-19Tutorial: Improve Step 1Betsy McPhail-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.
2019-07-25Tutorial: Improve Step 10 generator expression example.Robert Maynard-8/+21
Use compiler flags and standard levels as the compelling argument for using generator expressions and interface libraries
2019-07-24Help/guide/tutorial: Revert "require C++14 for the Tutorial"Brad King-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.
2019-06-19Help: Populate tutorial guide textBetsy McPhail-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.
2019-06-18Help/guide/tutorial: Adopt tutorial codeKitware Robot-0/+378