summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'directory-typo'David Cole2012-08-131-2/+2
|\ | | | | | | | | 6c8722f Fix typo direcotry -> directory (and similar) [#13444]
| * Fix typo direcotry -> directory (and similar) [#13444]Rolf Eike Beer2012-07-301-2/+2
| |
* | Merge topic 'use_normal_ouput_with_chdir'David Cole2012-08-131-1/+1
|\ \ | |/ |/| | | | | 4ddd3b9 Use OUTPUT_NORMAL instead of OUTPUT_MERGE for cmake -E chdir.
| * Use OUTPUT_NORMAL instead of OUTPUT_MERGE for cmake -E chdir.Bill Hoffman2012-07-201-1/+1
| | | | | | | | Using OUTPUT_MERGE can cause the output to be jumbled in some cases.
* | Ninja: enable ninja support everywherePeter Kümmel2012-07-201-5/+1
|/
* automoc: better error handling (#13299)Alex Neundorf2012-06-141-2/+2
| | | | | | | automoc now fails immediately if moc fails, instead of continuing and letting the build fail later on. Alex
* VS11: Add ARM architecture generator (#13077)Minmin Gong2012-05-091-0/+3
|
* Merge topic 'ninja-generator'Brad King2012-03-191-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8485208 Ninja: shell escape $(CMAKE_SOURCE_DIR) and $(CMAKE_BINARY_DIR) df84767 Ninja: add support for OBJECT_OUTPUTS, fix PrecompiledHeader test case 48eb7fc Ninja: Avoid using 'this' in member initializers bba37dd Ninja: Fix for PDB files with spaces in the path. ac800f4 Ninja: Constify use of cmCustomCommand 9a0d5a8 Ninja: add /DEF: flag to linker call d40eebd Ninja: Add a cache option CMAKE_ENABLE_NINJA to enable the ninja generator. 8c63433 Ninja: Add friend struct so it can access the private ConvertToNinjaPath. dbe3dce Ninja: add .def file support f1bb08f Ninja: ensure the output dir exists at compile time 7a6b5f4 Ninja: Remove an unnecessary variable 80ff210 Ninja: Use cmSystemTools::ExpandListArgument to split compile/link commands d2731a3 Ninja: Add a missed license header eabc9b0 Ninja: CMake: Adapt Ninja generator for per-target include dirs bada88e Merge branch 'target-include-directories' into ninja-generator 54bd175 Ninja: windows msvc: create for each target a .pdb file ...
| * Merge branch 'target-include-directories' into ninja-generatorDavid Cole2012-02-221-40/+21
| |\
| * | Ninja: Add the Ninja generatorPeter Collingbourne2012-02-021-0/+8
| | |
* | | Merge topic 'target-include-directories'David Cole2012-03-081-7/+3
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d662dff Fix shadowed variable warning on dashboard results f66e735 Fix compiler warning reported on older Borland dashboard. d90eed4 Fix compiler error reported on older Borland dashboard. 8233636 Update the documentation regarding INCLUDE_DIRECTORIES. d899eb7 Call ExpandVariablesInString for each target's INCLUDE_DIRECTORIES c21db87 Make search paths ordered and unique 22021f0 Remove cmMakefile::GetIncludeDirectories 9106b56 Extract and use the INCLUDE_DIRECTORIES target properties. 840509b Keep the INCLUDE_DIRECTORIES target property up to date. a4d5f7b Add API to get the ordered includes for a target. 8adaee2 CMake: Eliminate cmMakefile::IncludeDirectories 7620932 Remove include flags memoization. 97a5faa Make it safe to call this method without creating duplicates. edd5303 Refactor GetIncludeFlags to take includes instead of fetching them
| * | Extract and use the INCLUDE_DIRECTORIES target properties.Stephen Kelly2012-02-221-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminate callers of cmMakefile::GetIncludeDirectories. All callers of GetIncludeDirectories should go through the local generator object. Only the local generator calls cmTarget::GetIncludeDirectories directly.
| * | Refactor GetIncludeFlags to take includes instead of fetching themStephen Kelly2012-02-221-1/+5
| | |
* | | Run vim spellcheck on some filesYury G. Kudryashov2012-02-291-8/+10
|/ /
* | Merge topic 'ImproveCPackDoc-reloaded'David Cole2012-02-141-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4b77eb Avoid discovering system infos for documentation. Adding some path is enough. 9002f73 Fix non existent std::string::clear on VS6 02ccb32 Create getDocumentedModulesListInDir which may be used in other context. 24fbc28 Add missing section markup for CPackComponent bafd8a9 Example of builtin variable documentation (i.e. only used in C++ source code). 543f1ad Make the load of script documentation more efficient and dynamic. cdbd1a9 Fix another compiler warning due to a typo 52c53de Really avoid compiler warning about unused vars 37f90ed Calm down compiler warning about unused var 7c82b7f Fix potential bad memory access, thanks to Eike 62b589b Suppress unused var, beautify code, avoid 1 extra newline. 751713f Update bash completion file in order to handle new CPack doc options. 1629615 CPack Documentation extraction from CMake script begins to work 83e34dd Implement simple CMake script comment markup language. c6a0169 CPack begin the implementation of --help-command* and --help-variables*
| * | CPack Documentation extraction from CMake script begins to workEric NOULARD2012-01-221-1/+3
| |/ | | | | | | | | | | | | | | | | | | - Enhance extract doc parser. Seems robust now. The legacy module documentation parser works as before ignoring the new markup. - Proof of concept for CPack (generic), CPack RPM and CPack Deb generator for macro and variables. Try cpack --help-command and cpack --help-variables
* | Merge topic 'warn-funny-path-names'David Cole2012-02-071-24/+0
|\ \ | | | | | | | | | | | | c8ef643 Allow directory names containing '=' and warn if necessary (#12934)
| * | Allow directory names containing '=' and warn if necessary (#12934)Brad King2012-02-061-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The approach taken by commit 8704525f (Reject directory names containing '=', 2011-01-14) was perhaps too heavy-handed for avoiding the obscure cases when '=' in the path fails due to limitations of Make syntax. Only two CMake tests: LinkDirectory OutOfSource fail when the path contains '=' and they cover obscure cases. Instead of rejecting such paths outright just warn when the problem may occur.
* | | Find VC Express during default generator selection (#12917)Peter Kuemmel2012-02-011-8/+15
| |/ |/| | | | | | | | | | | CMake doesn't find Visual C++ Express and uses "NMake Makefiles" generator by default when one calls cmake WITHOUT using the -G options. Teach CMake to find VC Express to use it as the default generator just like the commercial versions.
* | Fix typo.Nicolas Despres2011-10-231-2/+2
| |
* | Add Visual Studio 11 generator for x86 and x64 toolsBrad King2011-09-231-0/+6
| |
* | Merge topic 'fix-12446-no-cmake-E-build'David Cole2011-09-071-1/+0
|\ \ | | | | | | | | | | | | 96d106a CMake: Remove documentation for -E build (#12446)
| * | CMake: Remove documentation for -E build (#12446)Matt McCormick2011-09-061-1/+0
| | | | | | | | | | | | | | | | | | 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.
* | | CMake: Add SaveCache at the end of successful Generate callsDavid Cole2011-09-011-0/+7
|/ / | | | | | | | | | | | | Without this call, recent refactoring changes in the Visual Studio generators yield no GUIDs saved in the cache. Putting the SaveCache here *once* avoids scattering many calls to it in specific generators.
* | Merge topic 'UsingCMakeLikePkgConfig2'David Cole2011-08-251-7/+128
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | Fix line lengthAlex Neundorf2011-08-181-1/+2
| | | | | | | | | | | | Alex
| * | Replace cmake::GetScriptMode() with GetWorkingMode()Alex Neundorf2011-08-091-8/+7
| | | | | | | | | | | | | | | | | | | | | GetWorkingMode() returns a new enum WorkingMode, which is one of NORMAL_MODE, SCRIPT_MODE and FIND_PACKAGE_MODE. Alex
| * | Implement find-package mode of cmakeAlex Neundorf2011-07-021-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In find-package mode, cmake executes Modules/CMakeFindPackage.cmake, which calls find_package(), and this is then evaluated in cmake.cxx, which prints an appropriate message to stdout, so it can be used e.g. in a normal Makefile: $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=EXIST JPEG found. $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=COMPILE $ /opt/cmake-HEAD/bin/cmake --find-package -DNAME=JPEG -DCOMPILER_ID=GNU -DLANGUAGE=C -DMODE=LINK -rdynamic -ljpeg Alex
| * | Add find-package mode, which does nothing yetAlex Neundorf2011-07-021-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | -add command line argument --find-package and handle it, i.e. call an empty function cmake::FindPackage() -add basic help Alex
* | | Fix bootstrap test with automocAlex Neundorf2011-08-171-2/+1
| | | | | | | | | | | | Alex
* | | Add the cmake module required currently for automocAlex Neundorf2011-08-141-0/+7
| | | | | | | | | | | | Alex
* | | Start implementing skeleton for automoc in cmakeAlex Neundorf2011-08-141-1/+2
| | | | | | | | | | | | Alex
* | | Start work on automoc: add empty cmQtAutomoc classAlex Neundorf2011-08-071-0/+7
| | | | | | | | | | | | Alex
* | | Merge topic 'split-stdout-stderr'David Cole2011-08-021-4/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a343bc1 RunSingleCommand: Avoid assignment in condition 642f100 RunSingleCommand: Add a OUTPUT_NORMAL flag. 856a9e4 RunSingleCommand: Replace verbose boolean with enum 4096066 RunSingleCommand: Fix indentation
| * | | RunSingleCommand: Add a OUTPUT_NORMAL flag.Johan Björk2011-07-281-3/+3
| | | | | | | | | | | | | | | | | | | | OUTPUT_NORMAL does no processing of the output streams, it just passes them through the same streams as they were received on.
| * | | RunSingleCommand: Replace verbose boolean with enumJohan Björk2011-07-281-3/+4
| |/ / | | | | | | | | | | | | No behaviour change, this prepares for adding a flag to skip the merging of output streams.
* | | Merge topic 'SetPropertyAppendString'Brad King2011-07-261-2/+2
|\ \ \ | | | | | | | | | | | | | | | | 9dbba1b Fix #12342: Add APPEND_STRING option to set_property()
| * | | Fix #12342: Add APPEND_STRING option to set_property()Alex Neundorf2011-07-151-2/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | set_property() has APPEND, which creates a list. E.g. when appending to COMPILE_FLAGS a string is needed, not a list. With the APPEND_STRING option the value is append as string, not as list. Alex
* | | Add VisualStudio 9 and 10 generators for Itanium platformMatej Hribernik2011-06-201-0/+6
|/ /
* | Merge topic 'MoreGraphVizFeatures'Brad King2011-04-191-0/+1
|\ \ | | | | | | | | | | | | | | | | | | 08fa5dd Also generate dependers-graphviz files. 4f96a76 GRAPHVIZ_IGNORE_TARGETS is now a list of regular expressions 5698ad2 Make it possible to exlude external libs from dot files
| * | Also generate dependers-graphviz files.Alex Neundorf2011-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this commit, the --graphviz option now also generates dot files which show which other targets depend on some target. So, now there is * a global dot-file which shows all targets and dependencies * a dot file which shows on what a target Foo depends * a dot file which shows which other targets depend on Foo Alex
* | | Merge topic 'cleanup-unused-variable-check'Brad King2011-03-311-22/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | a4335a6 Fix unused cache warning after multiple configure iterations a75ebe3 Refine unused cache variable warning
| * | | Fix unused cache warning after multiple configure iterationsBrad King2011-03-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The curses dialog (ccmake) allows variables to be specified on the command line. If any of these variables is used during any configure iteration or during generate we must not warn about it. The Qt dialog (cmake-gui) allows variables to be added and removed in the GUI interactively. If a variable is added, removed, and then added again we must still warn if it is unused.
| * | | Refine unused cache variable warningBrad King2011-03-241-20/+20
| |/ / | | | | | | | | | | | | List all unused variables in one warning. Cleanup implementation to run the check exactly once at the end of generation.
* | | Merge topic 'fix-2828-more-info-in-script-mode'Brad King2011-02-221-5/+15
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a58ace6 Fix KWStyle line-too-long complaint (#2828) 106958c Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828) 94d1684 Add CMAKE_SCRIPT_MODE_FILE variable (#2828)
| * | | Fix KWStyle line-too-long complaint (#2828)David Cole2011-02-041-1/+2
| | | |
| * | | Add CMAKE_ARGC and CMAKE_ARGV0..N-1 variables (#2828)David Cole2011-02-031-5/+8
| | | | | | | | | | | | | | | | For now, these variables are only available in -P script mode.
| * | | Add CMAKE_SCRIPT_MODE_FILE variable (#2828)David Cole2011-02-021-0/+6
| |/ / | | | | | | | | | | | | New CMake variable is set when processing a -P script file, but not when configuring a project.
* | | Merge topic 'fix-10704-manifest-no-vs10'Brad King2011-02-221-1/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | fbca267 VS: Only use /MANIFEST if hasManifest is true (#11216) 98b448e VS2010: Fixed GenerateManifest flag (#10704)
| * | | VS: Only use /MANIFEST if hasManifest is true (#11216)David Cole2011-02-091-1/+4
| |/ / | | | | | | | | | Thanks to Jörg Riedel for the patch.