summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* find_package: add test for setting Foo_FOUND to FALSE in a Config fileAlex Neundorf2012-03-133-0/+14
| | | | Alex
* find_package: allow <pkg>Config.cmake to set <pkg>_FOUND to FALSEAlex Neundorf2012-03-131-4/+34
| | | | | | | | | | | Before, find_package in Config mode always set Foo_FOUND to true if the Config file has been found and could be executed. If the Config file itself detected some problem, like a missing dependency, it did not have a way to signal to the outside that the package is not working. With this patch, if a Config file sets Foo_FOUND to FALSE, this is taken into account and not overridden. Alex
* Merge topic 'doc-Fortran-mod-dir-issue-13034'Brad King2012-03-131-1/+6
|\ | | | | | | | | 54604ee Document Fortran_MODULE_DIRECTORY as OUTPUT only (#13034)
| * Document Fortran_MODULE_DIRECTORY as OUTPUT only (#13034)Brad King2012-03-121-1/+6
| | | | | | | | | | | | CMake does not automatically pass the Fortran module output directory location to the module search path. Add a note to the documentation that the location must also be specified by INCLUDE_DIRECTORIES.
* | Merge topic 'test-RunCMake'Brad King2012-03-1346-133/+111
|\ \ | | | | | | | | | | | | | | | | | | 55b2aa8 Use generalized RunCMake test infrastrucure for build_command test eb33000 Use generalized RunCMake test infrastrucure for find_package test 42a81e7 Add stronger infrastructure for CMake-only tests
| * | Use generalized RunCMake test infrastrucure for build_command testBrad King2012-03-1213-100/+27
| | | | | | | | | | | | | | | | | | | | | The CMakeCommands.build_command test performs output/error checking so move it over to RunCMake to re-use the generalized infrastrucure. This is the only test left using Tests/CMakeCommands/CMakeLists.txt so remove it.
| * | Use generalized RunCMake test infrastrucure for find_package testBrad King2012-03-1234-84/+19
| | |
| * | Add stronger infrastructure for CMake-only testsBrad King2012-03-124-4/+120
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | The CMakeOnly directory added by commit 9a20abf0 (Add infrastructure for CMake-only tests, 2012-01-11) was sufficient only for tests that always run CMake to successfully configure a project. Later commit eeaaffcb (find_package: Test error and warning messages in failure cases, 2012-02-28) added a sample test that covers failure cases. Generalize the above to create new "RunCMake" test infrastructure that can run CMake multiple times for a single project with different variations and check for expected result/stdout/stderr. Allow for both successful and failing CMake project configuration cases. This will be useful to test error messages and failure behavior.
* | Merge topic 'ExactVersionModeForVersionFile'Brad King2012-03-133-1/+121
|\ \ | | | | | | | | | | | | | | | | | | e390f87 WriteBasicConfigVersionFile: add test for ExactVersion mode 5d18223 write_basic_package_version_file: add ExactVersion mode 1c69cd8 write_basic_package_version_file(): improve documentation
| * | WriteBasicConfigVersionFile: add test for ExactVersion modeAlex Neundorf2012-03-101-0/+70
| | | | | | | | | | | | Alex
| * | write_basic_package_version_file: add ExactVersion modeAlex Neundorf2012-03-102-1/+47
| | | | | | | | | | | | | | | | | | | | | This mode is for packages which consider themselves only compatible if exactly the same version is requested. The tweak version is ignored. Alex
| * | write_basic_package_version_file(): improve documentationAlex Neundorf2012-03-101-0/+4
| | | | | | | | | | | | | | | | | | add notes when which mode should be used Alex
* | | Merge topic 'update-KWIML'Brad King2012-03-131-17/+29
|\ \ \ | | | | | | | | | | | | | | | | | | | | 289e5e6 Merge branch 'upstream-kwiml' into update-KWIML f94ae0e KWIML: Make test_INT robust to #define-d int#_t and INT#_C
| * \ \ Merge branch 'upstream-kwiml' into update-KWIMLBrad King2012-03-091-17/+29
| |\ \ \
| | * | | KWIML: Make test_INT robust to #define-d int#_t and INT#_CBrad King2012-03-091-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Our TEST* macro calls pass arguments such as "int64_t" with the expectation that the preprocessing token will be used literally. Some platforms #define int64_t as "long long" which is not a valid preprocessing token. Perform preprocessor symbol concatenation on the type names at the first level of macro evaluation to avoid expanding the names.
* | | | | Merge topic 'fix-cpack-hdiutil-retry-loops'Brad King2012-03-132-5/+9
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 05a76d5 CPack: Fix retry logic when calls to hdiutil fail
| * | | | | CPack: Fix retry logic when calls to hdiutil failDavid Cole2012-03-092-5/+9
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The long-standing sporadic failures of CPack tests on the Mac dashboards are caused by an occasional problem running hdiutil. To compensate for this, a retry loop was added in the code in a previous commit: a9fa71a4 ... but the logic for breaking out of the retry loop was flawed, breaking out of the loop (and not retrying) when the hdiutil command returns an error instead of when it returns success. This commit fixes the flawed logic, bumps up the number of retries from 4 to 10, and adds a half-second delay in between retries. The delay is specifically added in case a virus checker or spotlight indexer is temporarily causing the hdiutil failure by hanging onto a newly created file longer than hdiutil expects it to. As with all sporadically occurring issues, we'll never know if this is really fixed all the way. But I'll be happy even if we can only get it to happen just a bit less often.
* | | | | Merge topic 'ctest-match-valgrind'Brad King2012-03-131-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ea4416c CTest: Match valgrind errors with "points to" (#12922)
| * | | | | CTest: Match valgrind errors with "points to" (#12922)Alexandru Ciobanu2012-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Teach CTest to match valgrind errors of the format "Syscall param ... points to uninitialised byte(s)".
* | | | | | Merge topic 'ctest-clang-in-xcode'Brad King2012-03-131-0/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7da50d CTest: Detect Xcode error "Command ... failed with exit code"
| * | | | | | CTest: Detect Xcode error "Command ... failed with exit code"Alexandru Ciobanu2012-03-091-0/+1
| | | | | | |
* | | | | | | Merge topic 'cleanup-object-file-names'Brad King2012-03-1318-279/+73
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0996f2a Hide Makefile local object info inside local generator 67734be VS: Simplify object name computation 4ae7f36 Remove unused partial OBJECT_FILES property implementation
| * | | | | | | Hide Makefile local object info inside local generatorBrad King2012-03-083-31/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make cmLocalUnixMakefileGenerator3::LocalObjectInfo private and add cmLocalUnixMakefileGenerator3::AddLocalObjectFile to create entries.
| * | | | | | | VS: Simplify object name computationBrad King2012-03-065-71/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simplify cmLocalVisualStudioGenerator::ComputeObjectNameRequirements to loop over the original vector of source files instead of recursively traversing source groups just to find the same files. Drop from cmVisualStudio10TargetGenerator::ComputeObjectNames temporary source group calculation now that it is not needed for computing object names.
| * | | | | | | Remove unused partial OBJECT_FILES property implementationBrad King2012-03-0614-177/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove partial implementation added by commit ca0230a3 (check in initial conv library stuff, 2007-02-16) since it was never finished. It does not make sense for multi-configuration generators since no specific build configuration is processed at CMake time.
* | | | | | | | Merge topic 'suppress-warnings'Brad King2012-03-131-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b926cff Suppress warnings occurring on the dashboards using the PGI compiler.
| * | | | | | | | Suppress warnings occurring on the dashboards using the PGI compiler.David Cole2012-03-071-1/+2
| | |_|_|_|/ / / | |/| | | | | |
* | | | | | | | Merge topic 'FindCxxTest-version-4-issue-13022'Brad King2012-03-131-2/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a556137 FindCxxTest: Add support for CxxTest 4 (#13022)
| * | | | | | | | FindCxxTest: Add support for CxxTest 4 (#13022)Droscy2012-03-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In CxxTest version 4 the Perl generator has been deleted and the Python generator is installed without the ".py" extension.
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2012-03-131-1/+1
| | | | | | | | |
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2012-03-121-1/+1
| | | | | | | | |
* | | | | | | | | KWSys Nightly Date StampKWSys Robot2012-03-111-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | KWSys Nightly Date StampKWSys Robot2012-03-101-1/+1
| |_|_|_|_|/ / |/| | | | | |
* | | | | | | KWSys Nightly Date StampKWSys Robot2012-03-091-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'qt4-deploy'David Cole2012-03-081-0/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c601c1 DeployQt4: Add path to Qt dlls on Windows.
| * | | | | | DeployQt4: Add path to Qt dlls on Windows.Clinton Stimpson2012-03-071-0/+6
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'find_package_fatal_error_if_required_and_config_not_found'David Cole2012-03-0813-3/+30
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c5ae733 find_package: Test that REQUIRED aborts processing correctly c91a54d find_package: error out if REQUIRED Config has not been found
| * | | | | | find_package: Test that REQUIRED aborts processing correctlyBrad King2012-03-0712-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Verify that the command produces a FATAL_ERROR if and only if the missing package is REQUIRED.
| * | | | | | find_package: error out if REQUIRED Config has not been foundAlex Neundorf2012-03-061-0/+4
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If in Config mode a configuration file could not be found, cmake printed an error, but did not actually stop processing. With SetFatalErrorOccured it does. Alex
* | | | | | Merge topic 'MakingConfigFilesEasier_ConfigureMacro'David Cole2012-03-085-32/+228
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6973e2d wrap write_basic_config_version_file as write_basic_package_version_file() 204f5d4 add CMakePackageConfigHelpers: configure_package_config_file()
| * | | | | | wrap write_basic_config_version_file as write_basic_package_version_file()Alex Neundorf2012-03-074-35/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So the name fits better with configure_package_config_file(), as discussed on the mailing list. Adapt the documentation accordingly. Alex
| * | | | | | add CMakePackageConfigHelpers: configure_package_config_file()Alex Neundorf2012-03-073-0/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function configure_package_config_file() may be used instead of configure_file() for generating the Config.cmake files for installation, they help to make those files relocatable. Alex
* | | | | | | Merge topic 'fix-12189-support-SBCS-in-VS'David Cole2012-03-088-3/+61
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b28e7fa VS6: Avoid SBCS test on VS6 (#12189) df19b9c VS6: Avoid _MBCS define when _SBCS is defined (#12189) ba89e92 Visual Studio: Allow setting Single Byte Character Set (#12189)
| * | | | | | | VS6: Avoid SBCS test on VS6 (#12189)David Cole2012-03-061-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous commit, df19b9ca, assumed that the corresponding _UNICODE functionality in the VS6 generator actually worked. That turns out not to be the case. Unicode definition does not actually suppress _MBCS definition, so neither does this new code... Don't test it here, since the patch submitter for _SBCS does not need VS6 support. If somebody needs _UNICODE and _SBCS support to suppress the definition of _MBCS in the VS6 generator, it is work yet to do. Patches welcome.
| * | | | | | | VS6: Avoid _MBCS define when _SBCS is defined (#12189)David Cole2012-02-211-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should fix the failing SBCS test on the VS6 dashboard.
| * | | | | | | Visual Studio: Allow setting Single Byte Character Set (#12189)Aaron C. Meadows2012-02-177-0/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For Visual Studio using the Preprocessor Define _SBCS. This behavior is similar to the way that _UNICODE and _MBCS work already. Added tests to confirm this behavior.
* | | | | | | | Merge topic 'CPackNSIS-addMissingDoc'David Cole2012-03-082-10/+23
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4719a8 Add some missing CPACK_NSIS_xxx doc and move some to common CPack section.
| * | | | | | | | Add some missing CPACK_NSIS_xxx doc and move some to common CPack section.Eric NOULARD2012-03-062-10/+23
| | | | | | | | |
* | | | | | | | | Merge topic 'fixCPackDocTypo'David Cole2012-03-081-4/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b0cb29b Fix some typos in CPACK_SET_DESTDIR doc
| * | | | | | | | | Fix some typos in CPACK_SET_DESTDIR docEric NOULARD2012-03-061-4/+4
| | |_|_|/ / / / / | |/| | | | | | |