From da22b269b2a9242efe28b6961508373a5aaccf2b Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Sat, 30 Dec 2023 20:30:20 -0500 Subject: Tutorial: Add missing `$` in generator expression --- Help/guide/tutorial/Adding Generator Expressions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Help/guide/tutorial/Adding Generator Expressions.rst b/Help/guide/tutorial/Adding Generator Expressions.rst index 910eacb..d2dddf7 100644 --- a/Help/guide/tutorial/Adding Generator Expressions.rst +++ b/Help/guide/tutorial/Adding Generator Expressions.rst @@ -24,7 +24,7 @@ Logical, Informational, and Output expressions. Logical expressions are used to create conditional output. The basic expressions are the ``0`` and ``1`` expressions. A ``$<0:...>`` results in the -empty string, and ``<1:...>`` results in the content of ``...``. They can also +empty string, and ``$<1:...>`` results in the content of ``...``. They can also be nested. Exercise 1 - Adding Compiler Warning Flags with Generator Expressions -- cgit v0.12 From 4d56db038d0fe452d5dbc901ca50f4a9da543e16 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Wed, 3 Jan 2024 21:18:36 -0500 Subject: Tutorial: Make `INSTALL_DESTINATION` consistent with installed destination --- Help/guide/tutorial/Step12/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Help/guide/tutorial/Step12/CMakeLists.txt b/Help/guide/tutorial/Step12/CMakeLists.txt index 1d8b5a6..1ba4e31 100644 --- a/Help/guide/tutorial/Step12/CMakeLists.txt +++ b/Help/guide/tutorial/Step12/CMakeLists.txt @@ -97,7 +97,7 @@ include(CMakePackageConfigHelpers) # generate the config file that includes the exports configure_package_config_file(${CMAKE_CURRENT_SOURCE_DIR}/Config.cmake.in "${CMAKE_CURRENT_BINARY_DIR}/MathFunctionsConfig.cmake" - INSTALL_DESTINATION "lib/cmake/example" + INSTALL_DESTINATION "lib/cmake/MathFunctions" NO_SET_AND_CHECK_MACRO NO_CHECK_REQUIRED_COMPONENTS_MACRO ) -- cgit v0.12 From 6d48bd21acd9a061a8289e0b3f0a2b8a14e06205 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Thu, 4 Jan 2024 20:09:49 -0500 Subject: Tutorial: Clarify the expected change to target_include_directories The expectation is to modify the existing `target_include_directories`, not add add a new `target_include_directories` command. --- Help/guide/tutorial/Adding a Library.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Help/guide/tutorial/Adding a Library.rst b/Help/guide/tutorial/Adding a Library.rst index 18ced97..cfcfc67 100644 --- a/Help/guide/tutorial/Adding a Library.rst +++ b/Help/guide/tutorial/Adding a Library.rst @@ -145,10 +145,10 @@ Next, the new library target is linked to the executable target using -Finally we need to specify the library's header file location. Modify -:command:`target_include_directories` to add the ``MathFunctions`` subdirectory -as an include directory so that the ``MathFunctions.h`` header file can be -found. +Finally we need to specify the library's header file location. +Modify the existing :command:`target_include_directories` call +to add the ``MathFunctions`` subdirectory as an include directory +so that the ``MathFunctions.h`` header file can be found. .. raw:: html -- cgit v0.12