| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| | |
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
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a7d25358a0 Tutorial: Add the PRIVATE keyword to target_link_libraries command
cf2afb1065 Tutorial: Remove 'Consumer' example
77b515f3eb Tutorial: Improve "MultiPackage" example
3a510a47b0 Tutorial: Add links to relevant CMake documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4113
|
| | |
|
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add some prose to the documentation index page to guide readers to the
major manuals and guides.
Add a new "User Interaction Guide" to help the class of new user
who wishes to build a project with CMake for the first time, such as
after cloning a repo from a git repository.
Add a new "Using Dependencies Guide" to help the class of new
user who wishes to consume a SDK provided by a third party and needs a
starting point. This is a different type of user to the user who wishes
to create their own project from scratch (addressed by the
`cmake-buildsystem(7)` manual) as each will encounter needs for
information discovery in a different order.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* Clarify directions
|
|
|
|
| |
* Move `option(USE_MYMATH...` to the same location in all CMakeLists files
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| |
| |
| |
| |
| | |
98164b707f Tutorial: MultiPackage now correctly compiles
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3594
|
| | |
|
|/
|
|
|
| |
Use compiler flags and standard levels as the compelling argument
for using generator expressions and interface libraries
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This is preferred over using `make install` as it allows for control
over the install location, configuration, and component.
|
| |
|
| |
|
|
|
|
|
|
| |
Migrate tutorial text from individual `directions.txt` files to the main
tutorial document. Add some comments to source code to provide anchors
for inclusion.
|
| |
|
|
Create a `Help/guide/` directory to hold guide-level documents.
Build them in most documentation formats, but not as man pages.
Initialize the guide directory with a placeholder for the tutorial.
|