View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004194CMakeCMakepublic2006-12-12 05:082016-06-10 14:30
Reporteraxel.roebel 
Assigned ToBill Hoffman 
PrioritylowSeverityfeatureReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0004194: support configure compatible command line flags
DescriptionAfter a long discussion in may/june 2006
that took place on the cmake mailing list
under the topic
 [CMake] Re: a ./configure shell script stub
we somehow concluded that the end user
interface would be improved if cmake would support a limited number of addtional
command line switches that would allow a
simplified control of the
configuration. The extension of the command line interface options and there mapping to internal cmake variables are

--prefix=PP -> -DCMAKE_INSTALL_PREFIX:PATH=PP
--verbose -> -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
--build=bt -> -DCMAKE_BUILD_TYPE:STRING=bt

thnaks
TagsNo tags attached.
Attached Files

 Relationships
has duplicate 0009661closedBill Hoffman Please add --prefix and other shorthand cmdline args 

  Notes
(0006172)
Claus Klein (reporter)
2007-01-15 02:49

Note: --build from autoconf is not the same as CMAKE_BUILD_TYPE:

./configure --help
Usage: ./configure [OPTION]... [VAR=VALUE]...

To assign environment variables (e.g., CC, CFLAGS...), specify them as
VAR=VALUE. See below for descriptions of some of the useful variables.

Defaults for the options are specified in brackets.

Configuration:
  -h, --help display this help and exit
      --help=short display options specific to this package
      --help=recursive display the short help of all the included packages
  -V, --version display version information and exit
  -q, --quiet, --silent do not print `checking...' messages
      --cache-file=FILE cache test results in FILE [disabled]
  -C, --config-cache alias for `--cache-file=config.cache'
  -n, --no-create do not create output files
      --srcdir=DIR find the sources in DIR [configure dir or `..']

Installation directories:
  --prefix=PREFIX install architecture-independent files in PREFIX
                          [/usr/local]
  --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
                          [PREFIX]

...

System types:
  --build=BUILD configure for building on BUILD [guessed]
  --host=HOST cross-compile to build programs to run on HOST [BUILD]
  --target=TARGET configure for building compilers for TARGET [HOST]

see too:
http://www.gnu.org/software/autoconf/manual/html_node/System-Type.html#System-Type [^]
(0041336)
Kitware Robot (administrator)
2016-06-10 14:27

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-11-02 10:24 Stephen Kelly Relationship added has duplicate 0009661
2016-06-10 14:27 Kitware Robot Note Added: 0041336
2016-06-10 14:27 Kitware Robot Status assigned => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:30 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team