MantisBT - CMake
View Issue Details
0009661CMakeCMakepublic2009-10-04 22:512014-06-02 08:37
Benoit Jacob 
Bill Hoffman 
normalfeatureN/A
closedduplicate 
 
 
0009661: Please add --prefix and other shorthand cmdline args
Dear CMake Developers,

It would be most convenient if CMake took some command-line arguments that acted as shortcuts to set some commonly used variables.

The most obvious example is CMAKE_INSTALL_PREFIX. The current solution of requiring users to do

cmake -DCMAKE_INSTALL_PREFIX=path ...

is a bit heavy, so please consider adding --prefix as a special shortcut for that, so one could simply do:

cmake --prefix=path ...

(Just taking the old ./configure syntax as an example here, I'm not specially attached to it).
No tags attached.
duplicate of 0004194closed Bill Hoffman support configure compatible command line flags 
Issue History
2009-10-04 22:51Benoit JacobNew Issue
2009-10-04 23:10Bill HoffmanStatusnew => assigned
2009-10-04 23:10Bill HoffmanAssigned To => Bill Hoffman
2013-11-02 10:24Stephen KellyRelationship addedduplicate of 0004194
2013-11-02 10:24Stephen KellyStatusassigned => resolved
2013-11-02 10:24Stephen KellyResolutionopen => duplicate
2014-06-02 08:37Robert MaynardNote Added: 0035987
2014-06-02 08:37Robert MaynardStatusresolved => closed

Notes
(0035987)
Robert Maynard   
2014-06-02 08:37   
Closing resolved issues that have not been updated in more than 4 months.