summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
Commit message (Collapse)AuthorAgeFilesLines
* cmake: Split -E command implementation into separate source fileBrad King2013-10-031-1/+2
| | | | | | | | | | | Move the cmake::ExecuteCMakeCommand static method and all the static methods it calls out of the 'cmake' class to a separate 'cmcmd' class. Build the latter as part of the main cmake executable with cmakemain.cxx and not in CMakeLib. Drop unused header includes from "cmake.cxx". By moving this implementation out of cmake.cxx we avoid carrying it around in all the executables that use class 'cmake'. It is needed only for the main "cmake -E" functionality.
* Merge topic 'passthru'Brad King2013-07-311-2/+5
|\ | | | | | | | | 2b473d2 Add option to use stdout/stderr of original terminal in cmake --build
| * Add option to use stdout/stderr of original terminal in cmake --buildPatrick Gansterer2013-07-291-2/+5
| | | | | | | | | | | | Pass the original file handles to the native tool when using the --use-stderr option in the build command. This enables the usage of advanced terminal features like colored output.
* | Add documentation for the --graphviz supportAlex Neundorf2013-07-261-2/+4
|/ | | | | | | This patch adds Modules/CMakeGraphVizOptions.cmake, which is used only for generating documentation for the --graphviz support. Alex
* Fix spelling and typos (affecting binary data / module messages)Andreas Mohr2013-05-071-3/+3
|
* Fail early if no current working directory existsBrad King2013-02-071-5/+3
| | | | | | | Remove the old "nocwd" behavior that attempts to provide the "--help" output when no working directory is available. The long help output scrolls the real error message out of typical terminal sizes. Also execute as little code as possible when no working directory exists.
* documentation: preparation for making the man section configurableAlex Neundorf2012-06-211-1/+1
| | | | | | | | This patch adds a man section number, which is then used by the DocumentationFormatterMan. The section number is right now always 1, detecting this from the file name will be the next step. Alex
* -remove trailing whitespaceAlex Neundorf2012-06-211-21/+21
| | | | Alex
* CPack begin the implementation of --help-command* and --help-variables*Eric NOULARD2012-01-221-0/+1
| | | | | | This modifications set tries to keep the unified doc for cmake/ctest/cpack while introducing tool specific documentation separated. Some documentation sections for CMake do not fit well to CPack.
* CMake: Remove documentation for -E build (#12446)Matt McCormick2011-09-061-1/+1
| | | | | | The '-E build build_dir' command was created and documented, but then morphed into '--build build_dir' instead, ... and then the -E documentation was never removed. This commit fixes that oversight.
* Merge topic 'UsingCMakeLikePkgConfig2'David Cole2011-08-251-3/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 59238dc Fix --find-package mode on Cygwin, where enable_language(RC) is called 98472e4 Require the current cmake version in --find-package mode a6ccf3c Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test Makefile 4386918 Fix line length 7d69310 Only enable the test when using GNU make 3011149 Make the test harder by always having a space in the include dirs ab57ff6 Make the --find-package test harder 626fc71 Much improved test, should now be executed on all UNIXes ec6982d Disable any STATUS output in --find-package mode e552ae7 Dont check for -isysroot and -mmacosx-version on OSX in --find-package mode e589589 Rename helper macros print_compile_flags() to set_compile_flags_var() aecfc1f Fix test on OpenBSD with BSD make 6bb4ca3 The makefile for the test was kindof wrong fd15b5e Only run the test if we are using a makefile generator under UNIX 9fc87c6 Add a test for the new --find-package mode d3ae0ff Improve documentation for --find-package mode bf07375 Add a cmake.m4 for using cmake in autoconf projects instead of pkgconfig b0e3578 Use the file-utility to test for 64bit if there is no /usr/lib64 53edfb2 Better support for lib64 and Debian multiarch b8fdaa1 Fix copyright notice in new CMakeFindPackageMode.cmake 7690edf Replace cmake::GetScriptMode() with GetWorkingMode() e4f603b Implement find-package mode of cmake a91d662 Add find-package mode, which does nothing yet b976e70 Make clLocalGenerator::GetTargetFlags() public
| * Improve documentation for --find-package modeAlex Neundorf2011-08-111-1/+3
| | | | | | | | Alex
| * Replace cmake::GetScriptMode() with GetWorkingMode()Alex Neundorf2011-08-091-6/+4
| | | | | | | | | | | | | | GetWorkingMode() returns a new enum WorkingMode, which is one of NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE. Alex
| * Add find-package mode, which does nothing yetAlex Neundorf2011-07-021-1/+12
| | | | | | | | | | | | | | | | -add command line argument --find-package and handle it, i.e. call an empty function cmake::FindPackage() -add basic help Alex
* | RunSingleCommand: Add a OUTPUT_NORMAL flag.Johan Björk2011-07-281-1/+7
|/ | | | | OUTPUT_NORMAL does no processing of the output streams, it just passes them through the same streams as they were received on.
* CMake: Clarify the --debug-trycompile help textDavid Cole2011-04-121-1/+2
|
* Documentation: Sync two differing copies of -E docs (#10446)David Cole2011-02-041-5/+5
| | | | Alphabetize both lists. Put platform-specific docs in both places too.
* Documentation: document platform specific -E commands (#10446)Kovarththanan Rajaratnam2011-02-041-2/+4
| | | | Signed-off-by: Kovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
* Fix line lengths to be no more than 78Ben Boeckel2010-09-161-4/+6
|
* Add documentation for check-system-varsBen Boeckel2010-09-021-0/+3
|
* Fix the spelling of the flag for warn-unused-varsBen Boeckel2010-09-021-1/+1
|
* Change logic of flag to turn off cli unused checksBen Boeckel2010-09-021-2/+2
| | | | | Since we default to checking unused cli variables, make the flag turn off the checks.
* Rename flags again and use variablewatch for cliBen Boeckel2010-09-011-3/+3
|
* Rename find-unused to warn-unusedBen Boeckel2010-09-011-2/+2
|
* Rename strict-mode to warn-uninitializedBen Boeckel2010-09-011-3/+2
|
* Add flags to detect unused variablesBen Boeckel2010-09-011-0/+4
|
* Make --strict-mode option, and integrate with cmake-guiBill Hoffman2010-09-011-0/+3
|
* Fix for bug #9965 -i was not passed to -E commands.Bill Hoffman2009-11-251-1/+1
|
* Convert CMake to OSI-approved BSD LicenseBrad King2009-09-281-14/+9
| | | | | | | This converts the CMake license to a pure 3-clause OSI-approved BSD License. We drop the previous license clause requiring modified versions to be plainly marked. We also update the CMake copyright to cover the full development time range.
* STYLE: fix typos in the docsAlexander Neundorf2009-04-191-1/+1
| | | | Alex
* ENH: Cleanup cmake --build interface.Brad King2009-03-041-15/+100
| | | | | | | | | | | This cleans up the 'cmake --build' command-line interface: - Rename --clean to --clean-first to better describe it. - Replace --extra-options with a -- separator to simplify passing of multiple native build tool options. - Document the options in the main CMake man page description of the --build option, and shares this with the usage message. - Require --build to be the first argument when present. - Move implementation into cmakemain where it belongs.
* BUG: 4244, add a --build option to cmake that can build projects configured ↵Bill Hoffman2008-10-151-0/+15
| | | | by CMake
* BUG: fix for 3778, better docs for -EBill Hoffman2008-10-101-1/+5
|
* BUG: fix for bug 7733, document that debug try compile may break the buildBill Hoffman2008-09-251-1/+5
|
* BUG: fix 6647 arguments after -E should not be parsed by CMakeBill Hoffman2008-08-191-8/+7
|
* STYLE: one ifdef block less, the documentation object can be created a bit laterAlexander Neundorf2008-08-121-3/+1
| | | | Alex
* ENH: add a --trace optionBill Hoffman2008-07-311-0/+3
|
* STYLE: add "--help-policy" and "--help-policies" to the documentationAlexander Neundorf2008-05-131-0/+11
| | | | | | | -generate and install the policy documentation files -generate and install the docbook files for cmake, ctest, cpack, ccmake (cmake-gui not yet ?) Alex
* ENH: fix -Wno-dev for ccmakeBill Hoffman2008-03-111-6/+0
|
* ENH: add a way to suppress the new policy warnings, still need ccmake and gui'sBill Hoffman2008-03-111-0/+6
|
* ENH: add --help-policies and --help-policy command line optionsKen Martin2008-03-041-0/+3
|
* ENH: add support for creating the documentation in docbook formatAlexander Neundorf2008-02-191-14/+20
| | | | | | | | (http://www.oasis-open.org/docbook/xml/4.2/), which users can then convert to other formats. Tested with meinproc from KDE, which generates HTML pages which look good. Alex
* ENH: Centralized and globalized computation of CMake program locations. ↵Brad King2007-12-131-1/+2
| | | | This eliminates startup paths that failed to produce this information.
* ENH: fix docsBill Hoffman2007-12-131-1/+1
|
* BUG: Always return positive integers to the OS on error. Windows error ↵Brad King2007-11-191-1/+11
| | | | encoding is confused by negative return values.
* ENH: some more cleanup, fixes, and patch for HTML outputKen Martin2007-10-241-1/+25
|
* COMP: fix some warnings and add some doc strings back inKen Martin2007-10-221-1/+1
|
* COMP: fix some warnings and add some doc strings back inKen Martin2007-10-221-3/+3
|
* ENH: change to make the documentation class more generic, about halfway ↵Ken Martin2007-10-221-38/+19
| | | | there, also provides secitons for Variables now
* BUG: revert doc changes since VS7 cannot compile them, will implement them ↵Ken Martin2007-10-091-16/+16
| | | | in a different manner