| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Add instructions to update the cmake_minimum_required version to 3.15
just before the usage of COMPILE_LANG_AND_ID
Issue: #22663
|
|\
| |
| |
| |
| |
| |
| |
| | |
6dade88d1c Tutorial: Add documentation on Package helper functions
1bf25b5b5f Tutorial: Remove information about EXPORT keyword
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6575
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add documentation for the configure_package_config_file() and
write_basic_package_version_file() commands.
Update the comment for the installation of those files to allow a
stopping point for the code display.
Issue: #22663
|
| |
| |
| |
| |
| | |
Remove the text that implies that the EXPORT keyword will also install
the generated CMake file.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
0f17b37b96 Tutorial: Fix regexps in sample CMakeLists.txt files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6572
|
| |/
| |
| |
| |
| |
| | |
Replace original regexp `[-nan|nan|0]` with `(-nan|nan|0)`
which is what the author most likely intended to write in the
first place.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
14600a42c8 Tutorial: Update Step 1 instructions
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6576
|
| |/
| |
| |
| |
| | |
To demonstrate how simple a CMake project can be, move the `Build and Run`
section earlier in the step.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
f55a02a26e Tutorial: Enhance CTestConfig info in Step 8
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6565
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a copy of the CTestConfig.cmake from Step 9 into the directory for
Step 8.
Expand the information about the contents of the CTestConfig file and
write a brief explanation of where on CDash to acquire the CTestConfig
file for a specific project.
CMake Issue: #22663
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
| |
- Use inline literals for all code fragments and names.
- Add missing console code-blocks.
- Always use c++, not c as code language.
|
| |
|
|
|
|
| |
Fixes: #21737
|
| |
|
| |
|
|
|
|
|
|
|
| |
The first section of Step 5 is not tested, incorrect, and not the
recommended solution.
Fixes: #21539
|
|
|
|
| |
s/mqsqrt.h/mysqrt.h/
|
|
|
|
|
|
| |
* Move sections to be same level as Introduction in "Using Dependecies"
* Rename "Importing Exporting Targets" to "Importing Exporting Guide"
* Add an Introduction header to the Tutorial and Importing Exporting Guide
|
|\
| |
| |
| |
| |
| |
| | |
63af35019a Tutorial: Add missing `language` option to literalinclude
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5046
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See https://github.com/codespell-project/codespell#readme
The following command was used:
```
codespell -q6 --skip="\
.git,\
*.json,\
./Copyright.txt,\
./Help/command/foreach.rst,\
./Help/prop_test/REQUIRED_FILES.rst,\
./Help/variable/CTEST_COVERAGE_COMMAND.rst,\
./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\
./Modules/CMakeRCInformation.cmake,\
./Modules/Internal/CPack/NSIS.template.in,\
./Modules/FindMatlab.cmake,\
./Modules/MatlabTestsRedirect.cmake,\
./Modules/Platform/Windows-Clang.cmake,\
./Modules/Platform/Windows-Intel-Fortran.cmake,\
./Modules/Platform/Windows-MSVC.cmake,\
./Source/CMakeVersion.cmake,\
./Source/cmConvertMSBuildXMLToJSON.py,\
./Source/cmCreateTestSourceList.cxx,\
./Source/cmGlobalVisualStudio10Generator.cxx,\
./Source/cmExportBuildFileGenerator.cxx,\
./Source/cmExportInstallAndroidMKGenerator.cxx,\
./Source/cmExportInstallFileGenerator.cxx,\
./Source/cmExportSet.cxx,\
./Source/cmExportTryCompileFileGenerator.cxx,\
./Source/cmFindPackageCommand.cxx,\
./Source/cmInstallCommand.cxx,\
./Source/cmGeneratorExpressionLexer.cxx,\
./Source/cmLocalVisualStudio7Generator.cxx,\
./Source/cmOrderDirectories.cxx,\
./Source/cmTarget.cxx,\
./Source/kwsys/*,\
./Source/QtDialog/CMakeSetupDialog.ui,\
./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\
./Source/CTest/cmParseCoberturaCoverage.h,\
./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\
./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\
./Tests/RunCMake/GoogleTest/xml_output.cpp,\
./Tests/RunCMake/Make/TargetMessages*,\
./Utilities/*,\
" \
-L "\
dependees,\
endwhile,\
fo,\
filetest,\
helpfull,\
nd,\
objext,\
stoll,\
supercedes,\
superceded,\
vas,\
varn,\
"
```
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
0fdfd6bf37 Tutorial: Install correctly when built statically
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4906
|
| |
| |
| |
| | |
When built statically we failed to install the SqrtLibrary
|
|/
|
|
| |
on some platforms -fPIC is implicit so you won't get an error
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| |
| |
| |
| | |
c754a3d4b7 Tutorial: Remove MakeTable.cxx from Steps 5 and 6
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4658
|
| |
| |
| |
| |
| |
| |
| | |
This file is not referenced until Step 6 and, therefore, should be added to
the source code at Step 7.
Fixes: #20618
|
|/
|
|
| |
Fixes: #20619
|
|
|
|
|
|
|
| |
`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.
|
|
|
|
|
|
| |
Also replace UTF-8 graphical characters with simple dashes.
Fixes: #20349
|
| |
|
| |
|
|
|
|
| |
This example was incomplete and did not follow the format of the tutorial.
|
|
|
|
| |
Rename to Step 12 and ensure that it follows Step 11
|
|
|
|
| |
Add links for commands, properties and variables.
|
|
|
|
|
|
|
| |
Unicode EN DASH is problematic:
- it cannot be easily found in web browsers, editors etc.
- it doesn't work when copied and run in the terminal
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
| |
* Move USE_MYMATH from configured header to target_compile_definitions
|
|
|
|
|
| |
* Remove comments from CTestConfig.cmake
* Update directions
|
|
|
|
| |
* Update directions
|
|
|
|
|
|
| |
* Print message when using the table
* Remove duplicated comment
* Remove HAVE_LOG and HAVE_EXP checks, use generated table instead
|
|
|
|
|
|
|
|
| |
* 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.
|