summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* cmTarget: Add enumeration for consistency to expect from properties.Stephen Kelly2013-10-241-18/+57
| | | | | The type of consistency to be expected will be extended to cover numeric minimum and maximum.
* cmTarget: Assign consistent content back to the property being evaluated.Stephen Kelly2013-10-241-3/+12
| | | | | | Currently, 'consistent' means the same or not set. Soon though, it will be possible to choose a minimum number from an interface for example.
* cmTarget: Make consistentProperty return consistent content.Stephen Kelly2013-10-241-6/+14
| | | | Upcoming features will make use of that.
* cmTarget: Add a template to create correct implied content.Stephen Kelly2013-10-241-0/+14
| | | | | | Otherwise, in the string case, we would get a null pointer instead of the implied empty string. That will become relevant when the comparison result is used.
* Merge topic 'output-CMP0022-entries'Brad King2013-10-231-1/+26
|\ | | | | | | | | 0b3b336 CMP0022: Output link interface mismatch for static library warning
| * CMP0022: Output link interface mismatch for static library warningStephen Kelly2013-10-231-1/+26
| | | | | | | | | | | | Other warnings for the same policy already have similar output since commit 81d2793e (Add differing target property content to policy CMP0022 warning, 2013-09-11).
* | Merge topic 'doc-cmake-developer'Brad King2013-10-231-0/+10
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | e0ce6f0 cmRST: Cross-reference cmake-developer.7 manual and cmRST Doxygen c1c239b Help: Add documentation format to cmake-developer.7 manual a06a90f Help: Organize cmake-developer.7 manual Modules section 28f08ba Help: Fix module documentation markup in cmake-developer.7 manual baaab06 Help: Move Modules/readme.txt content into cmake-developer.7 manual 80a311e Help: Add cmake-developer.7 manual
| * | cmRST: Cross-reference cmake-developer.7 manual and cmRST DoxygenBrad King2013-10-221-0/+10
| | | | | | | | | | | | | | | | | | The cmRST implementation and the list of capabilities documented in the cmake-developer.7 manual must be kept in sync. Add a note to each file to reference the other.
* | | Merge topic 'remove-old-commands-by-policy'Brad King2013-10-2319-256/+114
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c91944 Add policy CMP0036 to disallow build_name 3969bb2 Add policy CMP0035 to disallow variable_requires 178b9af Add policy CMP0034 to disallow utility_source 248d1dc Add policy CMP0033 to disallow export_library_dependencies 6865c8f Add policy CMP0032 to disallow output_required_files aa76518 Add policy CMP0031 to disallow load_command 97268cf Add policy CMP0030 to disallow use_mangled_mesa 9f64fbf Add policy CMP0029 to disallow subdir_depends 882c0f0 Add infrastructure for policies that disallow commands
| * | | Add policy CMP0036 to disallow build_nameBrad King2013-10-224-34/+13
| | | |
| * | | Add policy CMP0035 to disallow variable_requiresBrad King2013-10-224-28/+12
| | | |
| * | | Add policy CMP0034 to disallow utility_sourceBrad King2013-10-224-36/+12
| | | |
| * | | Add policy CMP0033 to disallow export_library_dependenciesBrad King2013-10-224-35/+14
| | | |
| * | | Add policy CMP0032 to disallow output_required_filesBrad King2013-10-224-29/+12
| | | |
| * | | Add policy CMP0031 to disallow load_commandBrad King2013-10-224-22/+11
| | | |
| * | | Add policy CMP0030 to disallow use_mangled_mesaBrad King2013-10-224-38/+11
| | | |
| * | | Add policy CMP0029 to disallow subdir_dependsBrad King2013-10-224-34/+10
| | | |
| * | | Add infrastructure for policies that disallow commandsBrad King2013-10-221-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add cmCommand::Disallowed helper to check the setting of a policy that disallows the command. Add a RunCMake.DisallowedCommands test placeholder. Add a Help/policy/DISALLOWED_COMMAND.txt file for inclusion by each policy document to avoid duplication of the common text.
* | | | Merge topic 'cmarray-templates'Brad King2013-10-232-25/+38
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d169b1f Genex: Use cmArraySize for targetPolicyWhitelist 86d5d80 Genex: Remove use of TransitiveWhitelistCompare 73d7705 Add some templates for cleaner array iteration.
| * | | | Genex: Use cmArraySize for targetPolicyWhitelistStephen Kelly2013-10-221-4/+1
| | | | | | | | | | | | | | | | | | | | For better readability.
| * | | | Genex: Remove use of TransitiveWhitelistCompareStephen Kelly2013-10-221-21/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Replace with generic solution based on cmArray* for better readability.
| * | | | Add some templates for cleaner array iteration.Stephen Kelly2013-10-221-0/+28
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2013-10-231-1/+1
| |/ / / |/| | |
* | | | Merge topic 'rst-literal-blocks'Brad King2013-10-222-31/+68
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | 2d0287d cmRST: Process literal blocks after paragraphs ending in '::' 7b9ae40 cmRST: Do not process inline markup in code-block literals
| * | | cmRST: Process literal blocks after paragraphs ending in '::'Brad King2013-10-212-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach cmRST to recognize non-markup lines ending in '::' followed by a blank line as starting a literal block. Record the whole block as if it were a literal block directive and print it just like a code block. Extend the CMakeLib.testRST test to cover such cases.
| * | | cmRST: Do not process inline markup in code-block literalsBrad King2013-10-212-31/+43
| |/ / | | | | | | | | | | | | | | | | | | | | | Move the ProcessDirectiveParsedLiteral and ProcessDirectiveCodeBlock method internals into an OutputMarkupLines helper. Pass through it a new "inlineMarkup" parameter and teach OutputLine to understand it. When false, do not process inline markup. Extend the CMakeLib.testRST test to cover the two cases.
* | | Merge topic 'genex-conversion-warnings'Brad King2013-10-224-10/+10
|\ \ \ | | | | | | | | | | | | | | | | a80fe4b use size_t for GeneratorExpressionContent::ContentLength to fix some warnings
| * | | use size_t for GeneratorExpressionContent::ContentLength to fix some warningsRolf Eike Beer2013-10-214-10/+10
| |/ / | | | | | | | | | | | | | | | CMake/Source/cmGeneratorExpressionParser.cxx: In member function ‘void cmGeneratorExpressionParser::ParseGeneratorExpression(std::vector<cmGeneratorExpressionEvaluator*>&)’: CMake/Source/cmGeneratorExpressionParser.cxx:116:55: warning: conversion to ‘unsigned int’ from ‘long int’ may alter its value [-Wconversion] CMake/Source/cmGeneratorExpressionParser.cxx:240:39: warning: conversion to ‘int’ from ‘long int’ may alter its value [-Wconversion]
* | | Merge topic 'string-CONCAT-command'Brad King2013-10-222-0/+26
|\ \ \ | | | | | | | | | | | | | | | | 4e184a2 string: Add CONCAT sub-command
| * | | string: Add CONCAT sub-commandBrad King2013-10-212-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | Add a string(CONCAT) command to simply concatenate input arguments together. This will be useful for combining strings from different quoting syntaxes. Add a RunCMake.string test covering these cases.
* | | | Merge topic 'xcode-folder-types'Brad King2013-10-221-5/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | e5ec8ad Xcode: Generate 'folder' source type for directories (#14498)
| * | | | Xcode: Generate 'folder' source type for directories (#14498)Michael Priestman2013-10-211-5/+16
| | |/ / | |/| | | | | | | | | | | | | | | | | | Teach the Xcode generator to set 'lastKnownFileType' to be 'folder' for file references that are directories. If you set 'explicitFileType' to 'sourcecode', then Xcode cannot browse the directory.
* | | | Merge topic 'double-colon-is-imported'Brad King2013-10-223-0/+46
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | f063c45 Consider targets with double colons to be IMPORTED or ALIAS targets.
| * | | | Consider targets with double colons to be IMPORTED or ALIAS targets.Stephen Kelly2013-10-213-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a policy to control the behavior. The AliasTargets unit test already tests that using a double-semicolon in the name is not an error. Change the ExportImport test to use a namespace with a double-semicolon too.
* | | | | Merge topic 'vs9-target-framework-version'Brad King2013-10-221-0/+5
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0698714 VS: Set .NET target framework version for VS 7-9 (#14499)
| * | | | | VS: Set .NET target framework version for VS 7-9 (#14499)Brad King2013-10-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the VS 7-9 generators to honor the VS_DOTNET_TARGET_FRAMEWORK_VERSION target property. This was already done for VS >= 10 by commit cfe6300a (VS: Add support for .NET target framework version, 2013-06-14). Inspired-by: mar.na@t-online.de
* | | | | | Merge topic 'cmake--build-pipes'Brad King2013-10-223-12/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | bcd5de7 cmake: Always pass through stdout/stderr in --build mode
| * | | | | | cmake: Always pass through stdout/stderr in --build modeBrad King2013-10-183-12/+7
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Enable the --use-stderr behavior by default and ignore the old option. Passing through the pipes allows color terminal output and other things to work as if one ran the native build command directly.
* | | | | | Merge topic 'remove-cmake-i-wizard'Brad King2013-10-225-209/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | a8226e9 cmake: Drop support for "-i" wizard mode
| * | | | | | cmake: Drop support for "-i" wizard modeBrad King2013-10-185-209/+5
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | Tell users to pass cache values with the -D option on the command line or use cmake-gui or ccmake.
* | | | | | CMake Nightly Date StampKitware Robot2013-10-221-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'INTERFACE_LIBRARY-build-targets'Brad King2013-10-217-75/+132
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b04f3b9 Create make rules for INTERFACE_LIBRARY targets. dba4962 Makefile: Always create clean target command
| * | | | | Create make rules for INTERFACE_LIBRARY targets.Stephen Kelly2013-10-217-38/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The result is that the depends of the target are created. So, add_library(somelib foo.cpp) add_library(anotherlib EXCLUDE_FROM_ALL foo.cpp) add_library(extra EXCLUDE_FROM_ALL foo.cpp) target_link_libraries(anotherlib extra) add_library(iface INTERFACE) target_link_libraries(iface INTERFACE anotherlib) Executing 'make iface' will result in the anotherlib and extra targets being made. Adding a regular executable to the INTERFACE of an INTERFACE_LIBRARY will not result in the executable being built with 'make iface' because of the logic in cmComputeTargetDepends::AddTargetDepend. So far, this is implemented only for the Makefile generator. Other generators will follow if this feature is possible for them. Make INTERFACE_LIBRARY targets part of the all target by default. Test this by building the all target and making the expected library EXCLUDE_FROM_ALL.
| * | | | | Makefile: Always create clean target commandBrad King2013-10-161-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Borland Make complains if the phony clean target has no rule to build it. If there are no files to clean, generate and run an empty clean script.
* | | | | | Merge topic 'minor-cleanups'Brad King2013-10-213-4/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 187385a cmCoreTryCompile: Fix typo in comments. af2a3ab cmTarget: Remove unused variable. 620b0e9 target_link_libraries(): Fix code snippet in documentation. 2d4ce80 cmPolicies: Fix typo d6dd264 include(): Use lower case and () to refer to the include() command.
| * | | | | | cmCoreTryCompile: Fix typo in comments.Stephen Kelly2013-10-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add 'S' to match actual variable names.
| * | | | | | cmTarget: Remove unused variable.Stephen Kelly2013-10-181-1/+0
| | | | | | |
| * | | | | | include(): Use lower case and () to refer to the include() command.Stephen Kelly2013-10-181-1/+1
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'remove-old-process-execution'Brad King2013-10-2113-1525/+199
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 765d783 cmSystemTools: Drop old RunCommand method 52b80b2 exec_program: Re-implement using KWSys Process c076476 cmake: Drop "cmake -E comspec" Win9x helper f551135 cmExtraEclipseCDT4Generator: Replace RunCommand with RunSingleCommand
| * | | | | cmSystemTools: Drop old RunCommand methodBrad King2013-10-199-1508/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All calls to this method have been replaced by newer infrastructure. Remove it and the supporting cmWin32ProcessExecution class.