diff options
author | Brad King <brad.king@kitware.com> | 2023-08-08 14:04:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-08 14:04:57 (GMT) |
commit | a707bc1349034978b9275f18e37951a38c105e9b (patch) | |
tree | 2aec748a30cf789d22ca9f5f2468312fcca2a18e /Help | |
parent | c433a831c28e75a56277cf91755b371b80fa590f (diff) | |
parent | b7704e88186ed2bc663fad2e7c50e74db5ec6645 (diff) | |
download | CMake-a707bc1349034978b9275f18e37951a38c105e9b.zip CMake-a707bc1349034978b9275f18e37951a38c105e9b.tar.gz CMake-a707bc1349034978b9275f18e37951a38c105e9b.tar.bz2 |
Merge topic 'help-importing-exporting-lib' into release-3.27
b7704e8818 Help/guide/importing-exporting: Update line numbers in prose
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8691
Diffstat (limited to 'Help')
-rw-r--r-- | Help/guide/importing-exporting/index.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/guide/importing-exporting/index.rst b/Help/guide/importing-exporting/index.rst index b1812c1..91c50dd 100644 --- a/Help/guide/importing-exporting/index.rst +++ b/Help/guide/importing-exporting/index.rst @@ -322,10 +322,10 @@ were built in its own tree. For example: add_executable(myexe src1.c src2.c ) target_link_libraries(myexe PRIVATE MathFunctions::MathFunctions) -Line 1 loads the target CMake file. Although we only exported a single +Line 2 loads the target CMake file. Although we only exported a single target, this file may import any number of targets. Their locations are computed relative to the file location so that the install tree may be -easily moved. Line 3 references the imported ``MathFunctions`` library. The +easily moved. Line 4 references the imported ``MathFunctions`` library. The resulting build system will link to the library from its installed location. Executables may also be exported and imported using the same process. |