View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014051CMakeCMakepublic2013-03-29 15:282016-06-10 14:31
ReporterDave Abrahams 
Assigned ToKitware Robot 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformMacOSOS XOS Version10.8
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0014051: Add "cmake -E script <cmake-code>"
DescriptionI 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042257)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-03-29 15:28 Dave Abrahams New Issue
2013-03-29 15:40 Brad King Severity minor => feature
2013-03-29 15:40 Brad King Status new => backlog
2013-03-29 15:40 Brad King Summary -E capabilities frustratingly limited => Add "cmake -E script <cmake-code>"
2016-06-10 14:28 Kitware Robot Note Added: 0042257
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team