summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'ctest-fix-run-serial'Brad King2013-10-262-59/+85
|\ | | | | | | | | | | | | | | | | | | | | | | ff59365 CTest: fix dashboard issues associated with the ctest-fix-run-serial topic 7a665ae CTest: added test for RUN_SERIAL issue #14484 384beff CTest: added comments that describe the basic test sorting approach adbe00d CTest: removed redundant copy of test dependency set 1b750cb CTest: perform cycle test early 6d4d7ca CTest: consider previously failed tests before all others e809d8c CTest: prioritize tests by their depth in the dependency graph 44017a4 CTest: handle dependent and non dependent test requirements equally
| * CTest: fix dashboard issues associated with the ctest-fix-run-serial topicNils Gladitz2013-10-251-7/+20
| |
| * CTest: added comments that describe the basic test sorting approachNils Gladitz2013-10-211-0/+7
| |
| * CTest: removed redundant copy of test dependency setNils Gladitz2013-10-211-7/+1
| |
| * CTest: perform cycle test earlyNils Gladitz2013-10-192-1/+8
| |
| * CTest: consider previously failed tests before all othersNils Gladitz2013-10-191-15/+10
| |
| * CTest: prioritize tests by their depth in the dependency graphNils Gladitz2013-10-181-4/+45
| |
| * CTest: handle dependent and non dependent test requirements equallyNils Gladitz2013-10-171-40/+9
| |
* | Merge topic 'ctest-p4'Brad King2013-10-266-1/+676
|\ \ | | | | | | | | | | | | 970c823 ctest_update: Add support for Perforce p4 client
| * | ctest_update: Add support for Perforce p4 clientPedro Navarro2013-10-266-1/+676
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the ctest_update implementation to use the p4 command-line client to perform updates and extract the list of changes. Add a CTest.UpdateP4 test like those that exist already for the other version control tools. Make the test available when p4 and the p4d server are found. During the test launch p4d in the background to serve a repository from the test directory. Then direct the client toward this server for the duration of the test.
* | | Merge topic 'less-versioned-installs'Brad King2013-10-261-3/+5
|\ \ \ | | | | | | | | | | | | | | | | 1093dee Shorten CMake version used in install destinations
| * | | Shorten CMake version used in install destinationsBrad King2013-10-251-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit c9a5f34b (Cleanup use of CMake version in install destinations, 2013-09-26) we use the full CMake version in default install destinations. For rapidly changing versions of the form <major>.<minor>.<patch>.<date>-g<commit>[-dirty] used by developers this is too granular. Instead use just <major>.<minor>.<patch> as the version for default install destinations. This will still be granular enough for unique directories in releases. On Cygwin continue to use the full ${CMake_VERSION} as was the case prior to the above-mentioned commit.
* | | | Merge topic 'wix-fix-shortcut-ids'Brad King2013-10-264-125/+199
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | fe7f8c9 CPackWiX: use safe IDs for generated start menu shortcuts
| * | | | CPackWiX: use safe IDs for generated start menu shortcutsNils Gladitz2013-10-264-125/+199
| | | | |
* | | | | Merge topic 'compatible-interface-numbers'Brad King2013-10-264-33/+352
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff6c401 cmTarget: Add interface for compatible numeric properties e4e20c1 cmTarget: Add enumeration for consistency to expect from properties. 9877769 cmTarget: Assign consistent content back to the property being evaluated. 816b4a8 cmTarget: Make consistentProperty return consistent content. 030800a cmTarget: Add a template to create correct implied content.
| * | | | | cmTarget: Add interface for compatible numeric propertiesStephen Kelly2013-10-244-13/+262
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using the boost MPL library, one can set a define to increase the limit of how many variadic elements should be supported. The default for BOOST_MPL_LIMIT_VECTOR_SIZE is 20: http://www.boost.org/doc/libs/1_36_0/libs/mpl/doc/refmanual/limit-vector-size.html If the foo library requires that to be set to 30, and the independent bar library requires it to be set to 40, consumers of both need to set it to 40. add_library(foo INTERFACE) set_property(TARGET foo PROPERTY INTERFACE_boost_mpl_vector_size 30) set_property(TARGET foo PROPERTY COMPATIBLE_INTERFACE_NUMBER_MAX boost_mpl_vector_size) target_compile_definitions(foo INTERFACE BOOST_MPL_LIMIT_VECTOR_SIZE=$<TARGET_PROPERTY:boost_mpl_vector_size>) add_library(bar INTERFACE) set_property(TARGET bar PROPERTY INTERFACE_boost_mpl_vector_size 40) # Technically the next two lines are redundant, but as foo and bar are # independent, they both set these interfaces. set_property(TARGET bar PROPERTY COMPATIBLE_INTERFACE_NUMBER_MAX boost_mpl_vector_size) target_compile_definitions(bar INTERFACE BOOST_MPL_LIMIT_VECTOR_SIZE=$<TARGET_PROPERTY:boost_mpl_vector_size>) add_executable(user) target_link_libraries(user foo bar) Because the TARGET_PROPERTY reads the boost_mpl_vector_size property from the HEAD of the dependency graph (the user target), and because that property appears in the COMPATIBLE_INTERFACE_NUMBER_MAX of the dependencies of the user target, the maximum value for it is chosen for the compile definition, ie, 40. There are also use-cases for choosing the minimum value of a number. In Qt, deprecated API can be disabled by version. Setting the definition QT_DISABLE_DEPRECATED_BEFORE=0 disables no deprecated API. Setting it to 0x501000 disables API which was deprecated before Qt 5.1 etc. If two dependencies require the use of API which was deprecated in different Qt versions, then COMPATIBLE_INTERFACE_NUMBER_MIN can be used to ensure that both can compile.
| * | | | | 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 'remove-pre-2.4-compatibility'Brad King2013-10-2615-280/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7d47c69 Drop compatibility with CMake < 2.4 c7c44fc CTestTest*: Update minimum required CMake to 2.4
| * | | | | | Drop compatibility with CMake < 2.4Brad King2013-10-2315-280/+30
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Drop all behavior activated by setting CMAKE_BACKWARDS_COMPATIBILITY to a value lower than 2.4, and generate an error when projects or the user attempt to do so. In the error suggest using a CMake 2.8.x release. Teach cmake_minimum_required to warn about projects that do not require at least CMake 2.4. They are not supported by CMake >= 3.0. Replace the documentation of CMAKE_BACKWARDS_COMPATIBILITY with a reference to policy CMP0001.
* | | | | | Merge topic 'fix-tll-static-private'Brad King2013-10-262-8/+18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 239b0c6 Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES.
| * | | | | | Don't add invalid content to static lib INTERFACE_LINK_LIBRARIES.Stephen Kelly2013-10-262-8/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only valid target names or generator expressions may appear in the target field of a LINK_ONLY expression. Other content like link flags should still be added to that property (wrapped in config-specific generator expressions), but not wrapped in LINK_ONLY. Otherwise undue warnings would be issued for the policy CMP0022. The LINK_ONLY expression only has an effect for actual target names anyway, so there is no logical deficit.
* | | | | | | Merge topic 'cmarray-templates'Brad King2013-10-261-1/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dfe0c21 cmArray: Use macro variant of cmArray{Begin,Size,End} for old GCC.
| * | | | | | | cmArray: Use macro variant of cmArray{Begin,Size,End} for old GCC.Stephen Kelly2013-10-241-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is not capable of using the template versions.
* | | | | | | | CMake Nightly Date StampKitware Robot2013-10-261-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2013-10-251-1/+1
| |_|_|_|/ / / |/| | | | | |
* | | | | | | Merge topic 'cmake-syntax-updates'Brad King2013-10-244-13/+42
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2945814 cmRST: Teach cmake-module directive to scan bracket comments 8bb2ee9 cmake-developer.7: Improve flow of module documentation instructions efcf318 Add \-continuation to CMake language quoted arguments
| * | | | | | | cmRST: Teach cmake-module directive to scan bracket commentsBrad King2013-10-232-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When scanning CMake module files for .rst comments, recognize bracket comments starting in ".rst:" too. For example: #[[.rst: Include the bracket comment content terminated by the closing bracket. Exclude the line containing the bracket if it starts in "#". Teach the CMakeLib.testRST test to cover multiple bracket lengths and ending brackets on lines with and without "#". Update the cmake-developer.7 manual to document the bracket-comment syntax for .rst documentation.
| * | | | | | | Add \-continuation to CMake language quoted argumentsBrad King2013-10-232-2/+2
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach the CMake language lexer to treat the \-LF pair terminating a line ending in an odd number of backslashes inside a quoted argument as a continuation. Drop the pair from the returned quoted argument token text. This will allow long lines inside quoted argument strings to be divided across multiple lines in the source file. It will also allow quoted argument text to start on the line after the opening quote. For example, the code: set(x "\ ...") sets variable "x" to the value "..." with no opening newline. Previously an odd number of backslashes at the end of a line inside a quoted argument would put a \-LF pair (or a \-CR pair) literally in the argument. Then the command-argument evaluator would complain that the \-escape sequence is invalid. Therefore this syntax is available to use without changing behavior of valid existing code. Teach the RunCMake.Syntax test to cover cases of quoted arguments with lines ending in \, \\, and \\\. Odd counts are continuations.
* | | | | | | CMake Nightly Date StampKitware Robot2013-10-241-1/+1
|/ / / / / /
* | | | | | 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
| | | | | |