summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
Commit message (Collapse)AuthorAgeFilesLines
* 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
* ENH: make documentation entries actually store their dataKen Martin2007-10-091-16/+16
|
* ENH: add new help option --help-custom-modules, which generatesAlexander Neundorf2007-09-191-0/+21
| | | | | | | | | | | documentation for all modules found in CMAKE_MODULE_PATH, which currently has to be specified via -D, this can later on be improved e.g. by reading a special (to-be-created) file like CMakeFiles/ModulePath.cmake in the build tree so that running cmake help in the build tree of a project will always give you the current module path. (This could actually also help IDEs which would like to support cmake for projects...) Alex
* STYLE: fix some typos, nicer debug outputAlexander Neundorf2007-07-191-2/+2
| | | | Alex
* COMP: fix warning about unused variableAlexander Neundorf2007-07-171-2/+2
| | | | Alex
* COMP: fix build on Windows, where GetCurrentDirecty() is redefined toAlexander Neundorf2007-07-171-3/+7
| | | | | | | GetCurrentDirectoryA() -correct return value for md5sum Alex
* STYLE: fix line lengths and add "remove -f" to the docsAlexander Neundorf2007-07-171-3/+5
| | | | Alex
* ENH: produce a lot more output when running with --debug-outputAlexander Neundorf2007-07-171-13/+70
| | | | | | -try to fix build error on HPUX Alex
* STYLE: sort the property documentation intoAlexander Neundorf2007-07-111-16/+66
| | | | | | global/directory/target/test/sourcefile and variable sections Alex
* ENH: generate separate documentation for the commands, compatiblityAlexander Neundorf2007-06-281-0/+8
| | | | | | | | commands, modules and properties as html, text and man pages. The names of the man pages are cmcommands, cmcompat, cmprops and cmmodules, so they are easy to type. Alex