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:58 (GMT) |
commit | d2531eee7003aabbd46982e73ce44c64295c7f65 (patch) | |
tree | 8e21e989ce6788267d1f0395664fda520b82893b /Help | |
parent | cb063512e762e35d48c4531f5b77fa4c1a774eed (diff) | |
parent | b7704e88186ed2bc663fad2e7c50e74db5ec6645 (diff) | |
download | CMake-d2531eee7003aabbd46982e73ce44c64295c7f65.zip CMake-d2531eee7003aabbd46982e73ce44c64295c7f65.tar.gz CMake-d2531eee7003aabbd46982e73ce44c64295c7f65.tar.bz2 |
Merge topic 'help-importing-exporting-lib'
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. |