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
======================================================================
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers