summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'if-test'Brad King2015-08-0319-4/+105
|\ | | | | | | | | | | 14e49ed1 if: Add "TEST <test>" condition 623dcc85 ExternalProject: Avoid if() auto-dereference of a "TEST" variable
| * if: Add "TEST <test>" conditionMatt McCormick2015-08-0318-1/+102
| | | | | | | | | | | | | | | | if(TEST TestNameThatExists) will return true if a test with the name TestNameThatExists has been added with add_test. The syntax is similar to if(TARGET TargetName). Since use of "TEST" as an argument to if() could previously be interpreted as a non-keyword argument, add policy CMP0064 to treat it as a keyword as NEW behavior.
| * ExternalProject: Avoid if() auto-dereference of a "TEST" variableMatt McCormick2015-08-031-3/+3
| | | | | | | | Exposed by CMP0054 warnings.
* | Merge topic 'GetPrerequisites-updates'Brad King2015-08-031-0/+38
|\ \ | | | | | | | | | | | | | | | 5d0a8b1a GetPrerequisites: Optionally filter "objdump" output for speed afb674ab GetPrerequisites: Add error checks for execute_process() calls
| * | GetPrerequisites: Optionally filter "objdump" output for speedBill Somerville2015-07-311-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As dumpbin.exe is no longer reliable for gcc libraries on MinGW because it crashes on many common libraries like libgcc_s and libgfortran it is now necessary too resort to using objdump for DLL dependency walking. Using objdump has a secondary problem in that it generates a lot of output for large libraries and causes fixup_bundle() to take many minutes to process what took fractions of a second with "dumpbin.exe /dependents". Add a 'grep' pre-filter in the execute_process() command pipeline to reduce this output to a minimum for a several orders of magnitude speed up. If grep is not available just use the full output. As there does not seem to be a reliable way of detecting MinGW, callers of fixup_bundle() may have to set the variable gp_tool to "objdump" if dumpbin.exe is installed on the build machine to stop it using the broken MS dumpbin.exe for library dependency walking.
| * | GetPrerequisites: Add error checks for execute_process() callsBill Somerville2015-07-311-0/+30
| | | | | | | | | | | | | | | Add return status checks to external command invocations so that they do not fail silently producing incomplete install packages.
* | | Merge topic 'FindMPI-drop-GetPrerequisites'Brad King2015-08-031-5/+3
|\ \ \ | |/ / | | | | | | | | | 1c46b6ae FindMPI: Drop unnecessary and incorrect use of GetPrerequisites
| * | FindMPI: Drop unnecessary and incorrect use of GetPrerequisitesBrad King2015-07-311-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.8.5~121^2~2 (FindMPI: Handle multiple languages, 2010-12-29) we called the GetPrerequisites is_file_executable function but passed the name of a CMake variable instead of its value. Therefore the function has always failed and caused the search for the compiler name to run even with an absolute path. Switch to using if(IS_ABSOLUTE) instead and drop use of GetPrerequisites.
* | | Merge topic 'fix-windows-version-detection'Brad King2015-08-031-10/+46
|\ \ \ | | | | | | | | | | | | | | | | d4736d53 Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8.1 (#15674)
| * | | Windows: Fix CMAKE_HOST_SYSTEM_VERSION on Windows >= 8.1 (#15674)Brad King2015-07-311-10/+46
| | | | | | | | | | | | | | | | | | | | | | | | The GetVersionEx API is deprecated, so try RtlGetVersion first. Co-Author: Christian Maaser
* | | | Merge topic 'fix-xcode-quoting'Brad King2015-08-031-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | f7a9ed7e Xcode: Quote strings containing a tilde (#15672)
| * | | | Xcode: Quote strings containing a tilde (#15672)Gregor Jasny2015-07-311-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v3.3.0-rc1~183^2 (Xcode: Refine quoting rules for Strings, 2015-04-09) we no longer quote strings containing a period ('.'). However, file names like "icon29x29~ipad.png" still need quoting because they contain a tilde ('~'). Add tilde to our explicit list of characters that need quoting because such file names will no longer happen to be quoted because they contain a period.
* | | | Merge topic 'update-kwsys'Brad King2015-08-038-204/+1051
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | da98b896 Tests: In CTestTest2 skip the kwsys.testProcess-10 test that leaks 129640f2 CTestCustom: Ignore kwsys.testProcess-10 for MemCheck as KWSys does d0915bc8 Merge branch 'upstream-kwsys' into update-kwsys 1feafc64 KWSys 2015-07-30 (f63febb7)
| * | | | Tests: In CTestTest2 skip the kwsys.testProcess-10 test that leaksBrad King2015-07-311-4/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This test intentionally leaks memory so KWSys excludes it from MemCheck. However, when CTestTest2 runs under our own MemCheck then valgrind may recursively check tests run by ctest_test() calls in our test.cmake script. Teach these calls to exluce testProcess-10 too. Also read the KWSys CTestCustom.cmake file so ctest_memcheck() will ignore the test too.
| * | | | CTestCustom: Ignore kwsys.testProcess-10 for MemCheck as KWSys doesBrad King2015-07-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | The test covers exceptional behavior that leaks memory, so ignore it for dynamic analysis runs.
| * | | | Merge branch 'upstream-kwsys' into update-kwsysBrad King2015-07-316-200/+1038
| |\ \ \ \
| | * | | | KWSys 2015-07-30 (f63febb7)KWSys Robot2015-07-316-200/+1038
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extract upstream KWSys using the following shell commands. $ git archive --prefix=upstream-kwsys/ f63febb7 | tar x $ git shortlog --no-merges --abbrev=8 --format='%h %s' c9336bcf..f63febb7 Brad King (1): 83b4a6b8 Process: Fix conversion warning in testProcess.c James Johnston (7): 4cd8846c Process: Remove trailing whitespace in ProcessUNIX.c b1c44c58 Process: Refactor sleeping code in testProcess.c. faff2ab0 Process: Wait for children to terminate on Ctrl+C. ef517b19 Process: Added initial support for process groups. 906c2cae Process: Added test cases for testing Ctrl+C and process groups. 52874e6a Process: Fix leaked file descriptor in ProcessUNIX f63febb7 Process: Fix error message for startup failure on Windows
* | | | | | CMake Nightly Date StampKitware Robot2015-08-031-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-08-021-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2015-08-011-1/+1
| | | | | |
* | | | | | Merge topic 'doc-string-FIND-failure-case'Brad King2015-07-311-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fe2e503e Help: Document string(FIND) return value when no match is found
| * | | | | | Help: Document string(FIND) return value when no match is foundJames Johnston2015-07-301-1/+1
| | |_|_|/ / | |/| | | |
* | | | | | Merge topic 'FindOpenSSL-cleanup'Brad King2015-07-311-21/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fbcbf7f2 FindOpenSSL: De-duplicate find_library path suffixes on Windows 4c10461a FindOpenSSL: Remove extra whitespace
| * | | | | | FindOpenSSL: De-duplicate find_library path suffixes on WindowsThijs Wenker2015-07-301-12/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Store the path suffixes in a variable and reference it in each find_library call.
| * | | | | | FindOpenSSL: Remove extra whitespaceThijs Wenker2015-07-301-9/+9
| | | | | | |
* | | | | | | Merge topic 'cmake-W-options'Brad King2015-07-3125-41/+374
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c96fe0b4 cmake: Add -W options to control deprecation warnings and errors
| * | | | | | | cmake: Add -W options to control deprecation warnings and errorsMichael Scott2015-07-2925-41/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor the -Wdev and -Wno-dev to use a generic -W parser that follows the GCC pattern. Include support for setting CMAKE_ERROR_DEPRECATED and CMAKE_WARN_DEPRECATED via the deprecated warning. Add -Werror=dev and -Wno-error=dev options so that dev warning options are in line with deprecated warning options. Use a new CMAKE_SUPPRESS_DEVELOPER_ERRORS internal cache entry to store the above new dev options persistently. Add tests for new options and updated cmake documentation and release notes to list new options.
* | | | | | | | Merge topic 'refactor-install'Brad King2015-07-3124-124/+215
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a23fcc95 cmInstallTargetGenerator: Port to cmGeneratorTarget. 4e41913f cmInstallCommand: Store only a targetName, not a cmTarget. e5e52970 cmInstallGenerator: Add a Compute() virtual hook. 3ef8aaaa cmInstallCommand: Move the SetHaveInstallRule invocation. 5f662b38 cmScriptGenerator: Remove unused method. 0368552d cmGlobalGenerator: Move QtAutogen handling to Compute(). 5edb3354 cmGlobalGenerator: Virtualize the Compute step and override it. ff1019bf cmGlobalGenerator: Move generation object creation to Compute(). aa2407d8 Xcode: Use allBuild target return value. 610572b7 cmMakefile: Simplify generate-time cmGeneratorTarget creation. 2e94cba3 cmGlobalGenerator: Move FinalizeTargetCompileInfo to Compute(). fb9355c5 cmGlobalGenerator: Return from Compute whether to generate. 29e8b7bf cmGlobalGenerator: Create a new Compute step before generation. 1ef9b2b6 cmGlobalGenerator: Remove the TargetManifest member. 5c14f780 cmGlobalGenerator: Remove unused manifest accessor. a1209be5 VisualStudio: Skip global targets when processing. ...
| * | | | | | | | cmInstallTargetGenerator: Port to cmGeneratorTarget.Stephen Kelly2015-07-303-38/+50
| | | | | | | | |
| * | | | | | | | cmInstallCommand: Store only a targetName, not a cmTarget.Stephen Kelly2015-07-304-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compute the cmTarget at Compute() time.
| * | | | | | | | cmInstallGenerator: Add a Compute() virtual hook.Stephen Kelly2015-07-302-0/+14
| | | | | | | | |
| * | | | | | | | cmInstallCommand: Move the SetHaveInstallRule invocation.Stephen Kelly2015-07-302-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the call from cmInstallTargetGenerator because that is to be ported away from cmTarget.
| * | | | | | | | cmScriptGenerator: Remove unused method.Stephen Kelly2015-07-301-3/+0
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Move QtAutogen handling to Compute().Stephen Kelly2015-07-301-5/+7
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Virtualize the Compute step and override it.Stephen Kelly2015-07-309-13/+42
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Move generation object creation to Compute().Stephen Kelly2015-07-304-3/+12
| | | | | | | | |
| * | | | | | | | Xcode: Use allBuild target return value.Stephen Kelly2015-07-291-2/+1
| | | | | | | | |
| * | | | | | | | cmMakefile: Simplify generate-time cmGeneratorTarget creation.Stephen Kelly2015-07-292-1/+1
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Move FinalizeTargetCompileInfo to Compute().Stephen Kelly2015-07-291-2/+2
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Return from Compute whether to generate.Stephen Kelly2015-07-293-7/+11
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Create a new Compute step before generation.Stephen Kelly2015-07-293-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the DoGenerate method.
| * | | | | | | | cmGlobalGenerator: Remove the TargetManifest member.Stephen Kelly2015-07-293-15/+7
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: Remove unused manifest accessor.Stephen Kelly2015-07-291-5/+0
| | | | | | | | |
| * | | | | | | | VisualStudio: Skip global targets when processing.Stephen Kelly2015-07-293-1/+10
| | | | | | | | |
| * | | | | | | | Xcode: Skip Global targets when processing.Stephen Kelly2015-07-291-0/+5
| | | | | | | | |
| * | | | | | | | cmMakefile: Move method out of line.Stephen Kelly2015-07-292-4/+6
| | | | | | | | |
| * | | | | | | | cmMakefile: Return target from all AddUtilityCommand signaturesBrad King2015-07-292-19/+21
| |/ / / / / / /
* | | | | | | | Merge topic 'SunOS-link-CXX-normally'Brad King2015-07-311-8/+0
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 60fe4b54 SunOS: Drop special case for linking C++ shared libraries with gcc (#15673)
| * | | | | | | | SunOS: Drop special case for linking C++ shared libraries with gcc (#15673)Brad King2015-07-301-8/+0
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit v2.4.0~4325 (...use gcc -shared, even for C++ libraries, 2003-03-13) we use the C compiler "gcc" to link C++ shared libraries compiled with "g++". At the time "g++" did not know how to link shared libraries correctly. This has long since been fixed so simply drop the special case.
* | | | | | | | Merge topic 'fix-cray-version'Brad King2015-07-311-1/+1
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22809b16 Cray: Fix compiler version detection (#15664)