[cmake-developers] [CMake 0014973]: [RFE] Produce shorted output for cmake/ccmake when no arguments specified

Mantis Bug Tracker mantis at public.kitware.com
Thu Jun 12 14:57:17 EDT 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14973 
====================================================================== 
Reported By:                Adam Strzelecki
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14973
Category:                   CMake
Reproducibility:            N/A
Severity:                   feature
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2014-06-12 14:57 EDT
Last Modified:              2014-06-12 14:57 EDT
====================================================================== 
Summary:                    [RFE] Produce shorted output for cmake/ccmake when
no arguments specified
Description: 
Please find attached patch.

Currently running cmake/ccmake without arguments is equal running it with --help
which is bad idea since it doesn't really tell what to do.
Instead of that attached patch makes them emit shorter brief with hint:

====
$ cmake/bin/cmake
Usage

  cmake [options] <path-to-source>
  cmake [options] <path-to-existing-build>

Hint

  cmake .       for in-source build (not recommended)
  cmake ..      for out-of-source build inside subfolder
  cmake --help  for more information

Note: Building in separate folder leaves source files intact.
===
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-06-12 14:57 Adam StrzeleckiNew Issue                                    
2014-06-12 14:57 Adam StrzeleckiFile Added:
0001-Produce-shorter-output-on-no-arguments.patch                    
======================================================================



More information about the cmake-developers mailing list