[cmake-developers] [CMake 0015287]: ExternalProject commands do not support generator expressions
Mantis Bug Tracker
mantis at public.kitware.com
Sun Dec 7 17:17:02 EST 2014
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=15287
======================================================================
Reported By: Zachary Sims
Assigned To:
======================================================================
Project: CMake
Issue ID: 15287
Category: CMake
Reproducibility: N/A
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-12-07 17:17 EST
Last Modified: 2014-12-07 17:17 EST
======================================================================
Summary: ExternalProject commands do not support generator
expressions
Description:
ExternalProject_* does not support generator expressions. For projects such as
boost, "variant" can be set to debug or release. However, ${CONFIG} will be
either Debug or Release (note case).
Example being:
ExternalProject_Add(
boost
DOWNLOAD_COMMAND snip
SOURCE_DIR # snip
BUILD_IN_SOURCE 1
UPDATE_COMMAND ""
PATCH_COMMAND ""
CONFIGURE_COMMAND ${BOOST_BOOTSTRAP_COMMAND}
BUILD_COMMAND
b2 variant=$<LOWER_CASE:$<CONFIG>>
INSTALL_COMMAND ""
LOG_DOWNLOAD 1
LOG_CONFIGURE 1
LOG_BUILD 1
)
It's true the generator expressions might not always be sufficient, but would
certainly help.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-12-07 17:17 Zachary Sims New Issue
======================================================================
More information about the cmake-developers
mailing list