summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Ninja: Custom Command file depends don't need to exist before buildingRobert Maynard2013-07-012-3/+133
| | | | | | | | | | | | | | | When converting custom commands for the ninja build system we need to make sure that any file dependencies that exist in the build tree are converted to phony targets. This tells ninja that these files might not exist when starting the build, but could be generated during the build. This is done by tracking all dependencies for custom command targets. After all have been written out we remove all items from the set that have been seen as a target, custom command output, an alias, or a file in the source directory. Anything that is left is considered to be a file that will be generated as a side effect of another custom command.
* Ninja: GlobalNinjaGenerator WriteBuild and WritePhonyBuild non staticRobert Maynard2013-07-016-127/+134
| | | | | | To properly track the usage of dependencies that are generated at compile time as the side effect of other build steps we need to make the WriteBuild and WritePhonyBuild commands non static
* Merge topic '13582_configured_file_regeneration'Brad King2013-06-252-0/+4
|\ | | | | | | | | | | ad50250 cmMakefile: Track configured files so we can regenerate them (#13582) 4a6397a Ninja: Track configured files so we can regenerate them.
| * cmMakefile: Track configured files so we can regenerate them (#13582)Robert Maynard2013-06-251-0/+1
| | | | | | | | | | | | | | Currently when a configured file is removed from the build directory, running the build command will not regenerate the file. Now detect this and will rerun cmake properly when a user issues the build command.
| * Ninja: Track configured files so we can regenerate them.Robert Maynard2013-06-251-0/+3
| | | | | | | | | | Unlike the Makefile generator the ninja generator did not tack any of its output files, so if they are deleted the generator would not run.
* | Merge topic 'makefile_AddCMakeOutputFile_signature'Brad King2013-06-254-13/+13
|\ \ | |/ | | | | | | 6dbd4a5 cmMakefile: Refactor AddCMakeDependFile and AddCMakeOutputFile.
| * cmMakefile: Refactor AddCMakeDependFile and AddCMakeOutputFile.Robert Maynard2013-06-244-13/+13
| | | | | | | | | | | | AddCMakeDependFile and AddCMakeOutputFile both store as std::string and all calling sites use std::string. So instead of creating more temporary objects, lets just use std::strings.
* | CMake Nightly Date StampKitware Robot2013-06-251-1/+1
|/
* Merge topic 'config-dependent-CMAKE_AUTOMOC'Brad King2013-06-243-40/+143
|\ | | | | | | | | | | ea4d784 QtAutomoc: Use config-dependent compile definitions and includes. 67f6ceb QtAutomoc: Fix handling of list separator for compile definitions.
| * QtAutomoc: Use config-dependent compile definitions and includes.Stephen Kelly2013-06-123-42/+143
| | | | | | | | | | | | | | Instead of always using the includes and defines which are not config-specific, ensure that the config specific ones can be used. Task-number: #13589
| * QtAutomoc: Fix handling of list separator for compile definitions.Stephen Kelly2013-06-121-1/+3
| |
* | Merge topic 'transitive-property-PP-FOR_EACH'Brad King2013-06-244-18/+41
|\ \ | | | | | | | | | | | | 0d8db25 Use a preprocessor loop to manage the valid transitive properties.
| * | Use a preprocessor loop to manage the valid transitive properties.Stephen Kelly2013-06-104-18/+41
| | | | | | | | | | | | | | | Hopefully this will prevent regressions when adding further transitive properties in the future.
* | | Merge topic 'find-targets-in-INTERFACE_COMPILE_OPTIONS'Brad King2013-06-241-0/+1
|\ \ \ | |/ / | | | | | | | | | 8a3b5be Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.
| * | Find targets in INTERFACE_COMPILE_OPTIONS when exporting for try_compile.Stephen Kelly2013-06-101-0/+1
| | | | | | | | | | | | | | | This was missing from commit 80ca9c4b (Add COMPILE_OPTIONS target property., 2013-05-16).
* | | Merge topic 'fix-COMPILE_OPTIONS-transitive-performance-regression'Brad King2013-06-241-1/+2
|\ \ \ | |/ / | | | | | | | | | 477e413 Add missing 'seen' check for evaluating COMPILE_OPTIONS.
| * | Add missing 'seen' check for evaluating COMPILE_OPTIONS.Stephen Kelly2013-06-101-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 089fe1c1 (Optimize genex evaluation for includes and defines., 2013-02-01) introduced an optimization on DAG processing to not reprocess properties on targets which have already been seen. This was refactored slightly in commit 8dfdf1c7 (Fix the tests for evaluating includes and defines., 2013-02-18), but was not extended to cover COMPILE_OPTIONS in commit 80ca9c4b (Add COMPILE_OPTIONS target property., 2013-05-16). This omission causes the same performance regression in running cmake on LLVM which 089fe1c1 fixed before, but this time for the transitive evaluation of the COMPILE_OPTIONS property.
* | | Merge topic 'set-sysroot'Brad King2013-06-249-9/+135
|\ \ \ | | | | | | | | | | | | | | | | de4da66 Use --sysroot when cross compiling.
| * | | Use --sysroot when cross compiling.Stephen Kelly2013-06-079-9/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As CMAKE_ROOT_FIND_PATH can be a list, a new CMAKE_SYSROOT is introduced, which is never a list. The contents of this variable is passed to supporting compilers as --sysroot. It is also accounted for when processing implicit link directories reported by the compiler, and when generating RPATH information.
* | | | Merge topic 'add-whitespace'Brad King2013-06-2411-21/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 2331b57 Add whitespace after colons in error messages.
| * | | | Add whitespace after colons in error messages.Stephen Kelly2013-06-2111-21/+22
| | | | |
* | | | | Merge topic 'openbsd-elf-parsing'Brad King2013-06-242-2/+11
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 480e924 OpenBSD: Enable ELF parsing and editing (#14241)
| * | | | | OpenBSD: Enable ELF parsing and editing (#14241)David Coppa2013-06-212-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenBSD provides ELF ABI declarations in #include <stdint.h> #include <elf_abi.h> Teach the platform check and cmELF implementation to use these.
* | | | | | Merge topic 'doc-E-tar-zip'Brad King2013-06-241-3/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae06f80 cmake: Document "-E tar" support for .zip (#14225)
| * | | | | | cmake: Document "-E tar" support for .zip (#14225)Brad King2013-06-191-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Through use of libarchive internally we support .zip files as well as .tar format. The ExternalProject module makes use of this feature. Document support officially.
* | | | | | | Merge topic 'add-cmake_host_system_information-command'Brad King2013-06-243-0/+230
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb71a3a Add cmake_host_system_information command
| * | | | | | | Add cmake_host_system_information commandNils Gladitz2013-06-193-0/+230
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expose the internal system information API to the CMake language. For example, it is useful to see how much memory the system has available to estimate an upper limit of tests that can run in parallel.
* | | | | | | | Merge topic 'add-try_compile-options'Brad King2013-06-242-62/+98
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 482f112 try_compile: Add signature to allow multiple SOURCES
| * | | | | | | | try_compile: Add signature to allow multiple SOURCESBrad King2013-06-062-62/+98
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the signature try_compile(RESULT_VAR <bindir> <srcfile> ...) to allow multiple sources as try_compile(RESULT_VAR <bindir> SOURCES <srcfile>... ...) Process the sources to generate a CMakeLists.txt that enables all needed languages. Teach the TryCompile test to try cases with two sources of the same language and of mixed languages. Teach RunCMake.try_compile to cover error cases for the signature.
* | | | | | | | Merge topic 'doc-search-install-prefix'Brad King2013-06-241-1/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a0b37d7 Document CMAKE_INSTALL_PREFIX in CMAKE_SYSTEM_PREFIX_PATH
| * | | | | | | | Document CMAKE_INSTALL_PREFIX in CMAKE_SYSTEM_PREFIX_PATHBrad King2013-06-171-1/+6
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add documentation to both variables to indicate that the install prefix is also searched.
* | | | | | | | Merge topic 'split-command-sources'Brad King2013-06-247-76/+104
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9f4383 Split cmBootstrapCommands.cxx into two sources
| * | | | | | | | Split cmBootstrapCommands.cxx into two sourcesBrad King2013-06-147-76/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The single translation unit has grown too large for some compilers. Split it into cmBootstrapCommands1.cxx and cmBootstrapCommands2.cxx.
* | | | | | | | | Merge topic 'vs-TargetFrameworkVersion'Brad King2013-06-242-0/+12
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cfe6300 VS: Add support for .NET target framework version
| * | | | | | | | | VS: Add support for .NET target framework versionChristian Maaser2013-06-142-0/+12
| |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach CMake to generate the TargetFrameworkVersion XML node as documented at http://msdn.microsoft.com/en-us/library/vstudio/ff770576.aspx from target property VS_DOTNET_TARGET_FRAMEWORK_VERSION.
* | | | | | | | | CMake Nightly Date StampKitware Robot2013-06-241-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2013-06-231-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2013-06-221-1/+1
| |_|_|_|/ / / / |/| | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2013-06-211-1/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2013-06-201-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2013-06-191-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2013-06-181-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2013-06-171-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2013-06-161-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2013-06-151-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'doc-enable_language-scope'Brad King2013-06-141-7/+10
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | b3b57e7 enable_language: Clarify documentation
| * | | | | enable_language: Clarify documentationBrad King2013-06-121-7/+10
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Describe explicitly the scope in which enable_language must be invoked to handle all direct and indirect uses of a language. While at it, re-word documentation of the OPTIONAL keyword to avoid confusion over its partial implementation.
* | | | | Merge topic 'sha2-alignment'Brad King2013-06-141-3/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 75994d9 cmCryptoHash: Increase alignment of HashFile buffer
| * | | | | cmCryptoHash: Increase alignment of HashFile bufferBrad King2013-06-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SHA512_Update implementation accesses input data via 64-bit integers. This requires alignment of the input buffer on some architectures. Align our stack-allocated buffer for file content to satisfy this requirement.
* | | | | | Merge topic 'FixEclipseCorruptProjects'Brad King2013-06-141-6/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22f7934 Eclipse: fix #14204 and #14205: no file links to directories