summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'Add-coverage.py-Coverage'Brad King2013-10-081-0/+1
|\ | | | | | | | | d0ec3a0 Adding support for the Python coverage.py tool.
| * Adding support for the Python coverage.py tool.Patrick Reynolds2013-10-081-0/+1
| | | | | | | | | | | | This assumes that coverage.py has been run in such a way to produce its standard XML output. This uses the Cobertura schema and should be somewhat generalizable.
* | cmake: Split -E command implementation into separate source fileBrad King2013-10-031-1/+1
|/ | | | | | | | | | | 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.
* Clean up install rules of CMake itself (#14371)Brad King2013-08-261-7/+5
| | | | | | | | | | | Ensure CMAKE_DATA_DIR, CMAKE_DOC_DIR, and CMAKE_MAN_DIR are always relative paths in CMake code, and set defaults accordingly. Use the install() command instead of install_files() and install_targets(). This is more modern and also avoids stripping of the first character from user-specified destinations. While at it, fix the default destinations reported in the bootstrap help.
* Merge branch 'master' into vs12-generatorBrad King2013-06-281-3/+13
|\ | | | | | | | | Resolve conflicts in Tests/Preprocess/CMakeLists.txt by keeping the side from 'master'.
| * Merge topic 'openbsd-elf-parsing'Brad King2013-06-241-1/+5
| |\ | | | | | | | | | | | | 480e924 OpenBSD: Enable ELF parsing and editing (#14241)
| | * OpenBSD: Enable ELF parsing and editing (#14241)David Coppa2013-06-211-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | OpenBSD provides ELF ABI declarations in #include <stdint.h> #include <elf_abi.h> Teach the platform check and cmELF implementation to use these.
| * | Split cmBootstrapCommands.cxx into two sourcesBrad King2013-06-141-1/+2
| |/ | | | | | | | | The single translation unit has grown too large for some compilers. Split it into cmBootstrapCommands1.cxx and cmBootstrapCommands2.cxx.
| * Merge topic 'doc-improvements'Brad King2013-05-161-1/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7cc2805 Docs: Clarify wording "flag used" => "flag (to|will) be used" 2378a69 Docs: Clarify that CMAKE_*_(PREFIX|SUFFIX) affect filenames 56ca34d Docs: Update description of CMAKE_(BUILD_TYPE|CONFIGURATION_TYPES) 2bab472 VS10: add detailed comment about MIDL processing e619111 Explain distribution of Win9x binary on all Windows versions. 5ca4336 FindwxWidgets: add DOC strings with usual style f57800d Fix spelling and typos (product names) bf019d7 Fix spelling and typos (non-binary) ddac8d3 Fix spelling and typos (affecting binary data / module messages) 86832ce Fix spelling and typos (affecting users)
| | * Explain distribution of Win9x binary on all Windows versions.Andreas Mohr2013-05-071-1/+2
| | |
| * | VS: Create parser for Visual Studio .sln filesPetr Kmoch2013-04-121-0/+4
| |/ | | | | | | | | | | Create class cmVisualStudioSlnParser as a generic parser for Visual Studio .sln files. Implement minimum functionality but keep class extensible. Add tests for the class.
* | VS12: Add Visual Studio 12 generator (#14251)Brad King2013-06-281-0/+2
|/ | | | | | | | | | | | | | Copy cmGlobalVisualStudio11Generator to cmGlobalVisualStudio12Generator and update version numbers accordingly. Add the VS12 enumeration value. Add module CMakeVS12FindMake to find MSBuild. Look for MSBuild in its now-dedicated Windows Registry entry. Teach the platform module Windows-MSVC to set MSVC12 and document the variable. Teach module InstallRequiredSystemLibraries to look for the VS 12 runtime libraries. Teach tests CheckCompilerRelatedVariables, Preprocess, VSExternalInclude, and RunCMake.GeneratorToolset to treat VS 12 as they do VS 10 and 11. Inspired-by: Minmin Gong <minmin.gong@gmail.com>
* Merge topic 'try_compile-targets'Brad King2013-02-251-0/+2
|\ | | | | | | | | | | | | 236133e Handle targets in the LINK_LIBRARIES of try_compile. 1c0597c Add a new Export generator for IMPORTED targets. f2ab17d Keep track of all targets seen while evaluating a genex.
| * Add a new Export generator for IMPORTED targets.Stephen Kelly2013-02-221-0/+2
| | | | | | | | | | | | This is to be used during try_compile using LINK_LIBRARIES in the srcfile signature and, in the future, TARGETS in the binary dir signature.
* | Merge branch 'master' into sublime-text-2-generatorRobert Maynard2013-02-191-0/+10
|\ \ | |/ | | | | | | Resolve conflict in Source/cmDocumentVariables.cxx by adding both variables.
| * CPack: Add a WiX Generator (#11575)Nils Gladitz2012-12-031-0/+8
| | | | | | | | | | | | | | | | | | | | This new CPack generator produces an *.msi installer file. Requires having the WiX Toolset installed in order to work properly. Download the WiX Toolset installer "WiX36.exe" here: http://wix.codeplex.com/releases/view/93929
| * VS: Add parser for WCE.VCPlatform.config to read WinCE platformsPatrick Gansterer2012-11-271-0/+2
| | | | | | | | | | | | Parse the WCE.VCPlatform.config file, which contains the installed WindowsCE SDKs in XML format, and add possibility to generate Visual Studio generators for them.
* | Merge branch 'master' into sublime-text-2-generatorMorné Chamberlain2012-11-241-14/+1
|\ \ | |/
| * VS: Remove platform specific generator filesPatrick Gansterer2012-11-191-14/+0
| | | | | | | | Move the whole logic into the base class and the factory.
| * Introduce the abstract class cmGlobalGeneratorFactoryPatrick Gansterer2012-11-191-0/+1
| | | | | | | | | | This new abstract class allows us move some logic from the cmGlobalGenerator into its own layer in a next step.
* | Added a generator for Sublime Text 2 project files.Morné Chamberlain2012-10-131-0/+2
|/ | | | | | | | | | The generator adds all list and source files for each defined project. The generated project files also include build_system entries that run the platform-specific make on the generated Makefiles. A build_system entry is created for each target that was defined in the CMakeLists.txt files. At the moment this has only been tested with C/C++ projects.
* Merge topic 'export-sets'Brad King2012-10-011-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80112da Merge topic 'AutomocUseTargetProperties' into export-sets 955b966 exports: add a test for exporting dependent targets 6f50a04 exports: define a CMAKE_FIND_PACKAGE_NAME var set by find_package() 0cfd055 exports: move the handling of missing targets into subclasses 190f2c8 exports: fix build with MSVC6 8b5f448 exports: first try at error handling if a target is missing 87f4c01 exports: accept a missing target if it is exported exactly once 999061a exports: store pointers to all installations of each export set 64b3a6c exports: cmGlobalGenerator::ExportSets destructor will clear it 81cdab5 exports: Hold an ExportSet pointer in cm*Export*Generator 5c898fb exports: Add cmExportSetMap class d13ec1a exports: Create class cmExportSet 4e2347c exports: Rename cmGlobalGenerator::AddTargetToExport{s,} e846e70 exports: Remove cmTargetExport constructor 81c66c8 exports: Move cmTargetExport to a dedicated header file ae4ab62 find_package: add support for a <package>_NOT_FOUND_MESSAGE variable ...
| * Merge topic 'AutomocUseTargetProperties' into export-setsAlex Neundorf2012-09-301-1/+7
| |\ | | | | | | | | | | | | Conflicts: Source/cmGlobalGenerator.h
| * | exports: Add cmExportSetMap classYury G. Kudryashov2012-09-281-0/+2
| | | | | | | | | | | | This is a map<string, cmExportSet *> with overloaded operator[] and destructor.
| * | exports: Create class cmExportSetYury G. Kudryashov2012-09-281-0/+2
| | | | | | | | | | | | | | | Replace direct use of 'std::vector<cmTargetExport const*>' with a dedicated class.
| * | exports: Move cmTargetExport to a dedicated header fileYury G. Kudryashov2012-09-281-0/+1
| | |
* | | Add API to check that dependent target properties form a DAG.Stephen Kelly2012-09-281-0/+2
| |/ |/| | | | | | | | | Initially this will only be used to check for self-references, but can be extended to check for cycles when chaining properties of other targets.
* | Merge topic 'generator-expression-refactor'Brad King2012-09-191-0/+6
|\ \ | | | | | | | | | | | | | | | 91011bd cmGeneratorExpression: Port users to two-stage processing f1eacf0 cmGeneratorExpression: Re-write for multi-stage evaluation
| * | cmGeneratorExpression: Re-write for multi-stage evaluationStephen Kelly2012-09-181-0/+6
| |/ | | | | | | | | | | | | | | The expressions may be parsed and then cached and evaluated multiple times. They are evaluated lazily so that literals such as ',' can be treated as universal parameter separators, and can be processed from results without appearing literally, and without interfering with the parsing/evaluation of the entire expression.
* | Use add_subdirectory instead of the obsolete subdirs.Stephen Kelly2012-08-211-1/+1
|/
* Remove CMake-language block-end command argumentsKitware Robot2012-08-131-24/+24
| | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Convert CMake-language commands to lower caseKitware Robot2012-08-131-132/+132
| | | | | | | | | | | | | | | | | Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code: cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Ninja: enable ninja support everywherePeter Kümmel2012-07-201-34/+19
|
* Ninja: enable ninja on Mac so all Mac CDash-builds are tested, cleanup laterPeter Kümmel2012-07-181-1/+1
|
* Re-factor OS X bundle and framework generation.Nicolas Despres2012-07-171-0/+2
|
* Remove process execution code from cmcldeps and have it use cmake code.Bill Hoffman2012-06-271-0/+1
| | | | | This simplifies the code in cmcldeps and avoids having yet another set of process execution code.
* Merge topic 'ninja-cldeps'David Cole2012-06-191-0/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb410e8 Ninja: disable cldeps for bcc32, it's too old, and ninja would also not build 5ead31d Ninja: try work around for bcc32 bug 1333b57 Ninja: build server fixes 9081e3a remove warning about unused parameter f430bea Ninja: maybe this fixes the bcc32 build f2c1288 Ninja: msvc6 for-scoping 44b9bbc Ninja: build with old msvc versions 57156a5 Ninja: build server fixes f1abdce Ninja: some bytes of the rc files couldn't be piped correctly 2de963d Ninja: don't remove space between command and parameters 50b6f33 Ninja: build cmcldeps with mingw c05653e Ninja: try to make GetProcessId visible ab245ff Ninja: but cl supports /nologo ... bf58e9a Ninja: no /nologo option in old rc.exe 2fb07fc Ninja: Eclipse and KDevelop fixes for ninja 518c065 Ninja: don't pollute build dir with preprocessed rc files ...
| * Ninja: disable cldeps for bcc32, it's too old, and ninja would also not buildPeter Kuemmel2012-06-181-1/+1
| |
| * Ninja: build server fixesPeter Kuemmel2012-06-161-1/+1
| | | | | | | | | | - disable cldeps on cygwin - don't "use" namespace std
| * Ninja: try to make GetProcessId visiblePeter Kuemmel2012-06-151-1/+2
| |
| * Ninja: add wrapper for cl to extract dependenciesPeter Kuemmel2012-06-081-0/+4
| | | | | | | | | | | | | | | | | | | | | | cmcldeps wraps cl and adds /showInclude before calling cl. It parses the output of cl for used headers, drops system headers and writes them to a GCC like dependency file. cmcldeps uses ATM ninja code for process handling, but could be ported later to SystemTools. TODO: Why needs ninja multiple calls in the BuildDepends test?
* | Ninja: Enable the ninja generator by default on Windows.David Cole2012-06-131-3/+3
|/ | | | | | | All tests are passing as of this morning on the CMake dashboard in the Nightly Expected section. Nice job to all the Ninja+CMake contributors. Congrats!
* Merge topic 'mumps_coverage'David Cole2012-05-171-0/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c806b23 CDash now supports lots of files in coverage. So, show all files. 761d931 Do not try to run bullseye coverage if COVFILE env is empty. 5b69ce4 Update test data to match new coverage format. 1b418f1 Change GT.M Coverage Parser global b0c07a1 Disable bullseye coverage for mumps coverage test. 0a169e6 Remove uncovered files from cache coverage data. a7abf5e Add ability to specify more than one package directory or coverage directory. 220afca Use <TARGET_FILE> expression to run ctest so it works with Xcode and VS IDE. 62f6bce Use a script to run the test because WORKING_DIRECTORY is not in 2.8.2. f5c5db0 Fix some warnings and a bug where it went past the length of a vector. 7955e99 Add support for Cache coverage. a86cd33 Add virutal destructor to silence warning. 319eeb0 Add test for mumps coverage. Also refactor code to prepare for cache coverage. 72210c2 Fix line length. dd07161 Fix warning about char* instead of const char*. e6412e0 Add support to ctest for GTM mumps coverage.
| * Add support for Cache coverage.Bill Hoffman2012-05-011-0/+1
| | | | | | | | | | This adds support for Cache coverage parsing. A test is added that does a basic run of the coverage on a small bit of data.
| * Add test for mumps coverage. Also refactor code to prepare for cache coverage.Bill Hoffman2012-05-011-0/+1
| | | | | | | | | | Add a simple test to make sure the GTM mumps coverage is working. Also refactor the code so that cache coverage can be added.
| * Add support to ctest for GTM mumps coverage.Bill Hoffman2012-04-251-0/+1
| |
* | VS11: Add ARM architecture generator (#13077)Minmin Gong2012-05-091-0/+2
| |
* | Ninja: CMAKE_USE_NINJA is the name of the macroPeter Kuemmel2012-04-081-1/+1
| |
* | Ninja: no additional variable needed to enable ninjaPeter Kuemmel2012-04-081-7/+5
| |
* | Ninja: add option to enable ninja where it is not enabled by defaultPeter Kuemmel2012-04-061-6/+8
|/