mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 15:10:20 -06:00
ExternalProject: Replace placeholder tokens in BYPRODUCTS
This allows the developer to specify the byproducts relative to the binary directory without the need to set the binary directory location explicitly.
This commit is contained in:
committed by
Brad King
parent
a6d488f2ce
commit
86032ae0eb
@@ -251,8 +251,8 @@ Create custom targets to build projects in external trees
|
||||
``LOG 1``
|
||||
Wrap step in script to log output
|
||||
|
||||
The command line, comment, and working directory of every standard and
|
||||
custom step is processed to replace tokens ``<SOURCE_DIR>``,
|
||||
The command line, comment, working directory, and byproducts of every
|
||||
standard and custom step are processed to replace tokens ``<SOURCE_DIR>``,
|
||||
``<BINARY_DIR>``, ``<INSTALL_DIR>``, and ``<TMP_DIR>`` with
|
||||
corresponding property values.
|
||||
|
||||
@@ -1443,7 +1443,7 @@ function(ExternalProject_Add_Step name step)
|
||||
endif()
|
||||
|
||||
# Replace location tags.
|
||||
_ep_replace_location_tags(${name} comment command work_dir)
|
||||
_ep_replace_location_tags(${name} comment command work_dir byproducts)
|
||||
|
||||
# Custom comment?
|
||||
get_property(comment_set TARGET ${name} PROPERTY _EP_${step}_COMMENT SET)
|
||||
|
||||
Reference in New Issue
Block a user