summaryrefslogtreecommitdiffstats
path: root/Tests/ExternalProjectSubdir/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrey Pokrovskiy <pokroa@amazon.com>2015-04-21 06:28:21 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-21 14:51:08 (GMT)
commit0273ef146972e0fbfbf399e468ae9d5f2b4bb3d3 (patch)
treedce385a51cfe0fa127fe13dc6f210af23dfdbc27 /Tests/ExternalProjectSubdir/CMakeLists.txt
parent7bd8cfb813e9bd19cebda92b280beb2deaf052d4 (diff)
downloadCMake-0273ef146972e0fbfbf399e468ae9d5f2b4bb3d3.zip
CMake-0273ef146972e0fbfbf399e468ae9d5f2b4bb3d3.tar.gz
CMake-0273ef146972e0fbfbf399e468ae9d5f2b4bb3d3.tar.bz2
ExternalProject: Allow generator expressions with LOG_* options (#15287)
Use file(GENERATE) to write the logging wrapper scripts to evaluate generator expressions. Use a per-config script names in case the content varies by configuration.
Diffstat (limited to 'Tests/ExternalProjectSubdir/CMakeLists.txt')
-rw-r--r--Tests/ExternalProjectSubdir/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/ExternalProjectSubdir/CMakeLists.txt b/Tests/ExternalProjectSubdir/CMakeLists.txt
index fb5aa3c..013b418 100644
--- a/Tests/ExternalProjectSubdir/CMakeLists.txt
+++ b/Tests/ExternalProjectSubdir/CMakeLists.txt
@@ -6,7 +6,7 @@ ExternalProject_Add(Subdir1
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/Subdir1
BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/Subdir1
- CMAKE_ARGS -DNORMAL_VAR=NORMAL_VALUE
+ CMAKE_ARGS -DNORMAL_VAR=NORMAL_VALUE -DGENEX_VAR=$<1:GENEX_VALUE>
LOG_CONFIGURE 1
BUILD_COMMAND ""