[cmake-developers] [CMake 0014051]: -E capabilities frustratingly limited
Mantis Bug Tracker
mantis at public.kitware.com
Fri Mar 29 15:28:35 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14051
======================================================================
Reported By: Dave Abrahams
Assigned To:
======================================================================
Project: CMake
Issue ID: 14051
Category: CMake
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-03-29 15:28 EDT
Last Modified: 2013-03-29 15:28 EDT
======================================================================
Summary: -E capabilities frustratingly limited
Description:
I find myself writing tiny scripts to do something that only "script mode” is
capable of. For example,
cmake_minimum_required(VERSION 2.8)
configure_file(${SOURCE_DIR}/LitReTemplate.cmake ${OUTPUT} @ONLY)
And then, to invoke this as a build action, I need to figure out how to properly
quote ${SOURCE_DIR} et all as -D arguments on the cake command line.
I really want to be able to write
cmake -E script "configure_file(${SOURCE_DIR}/LitReTemplate.cmake ${OUTPUT}
@ONLY)”
It would be so much more direct.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-03-29 15:28 Dave Abrahams New Issue
======================================================================
More information about the cmake-developers
mailing list