summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* -better support for Qt4 as frameworksAlexander Neundorf2009-12-162-4/+10
| | | | | | | | | | | before this patch -F<framework> dir had to be added manually in some way when using Qt4 installed as framework and when using FindQt4.cmake directly, i.e. without UseQt4.cmake. With this patch the framework dir is automatically added to QT_INCLUDE_DIR when Qt is installed as a framework. Ok by Clinton, tested already in KDE by Mike Arthur. Alex
* Added an option to conditionally attach files to a test submission only if ↵Zach Mullen2009-12-166-5/+41
| | | | the test does not pass. Also some preliminary changes for test output compression.
* KWSys: Improve SharedForward platform tableBrad King2009-12-161-16/+8
| | | | | | | The SharedForward header contains a preprocessor table mapping from platform to equivalents for ldd and LD_LIBRARY_PATH. This commit fixes the table preprocessor directives to guarantee at most one platform. This generalizes the commit "Fix compilation of VTK on debian/sparc".
* KWSys Nightly Date StampKWSys Robot2009-12-161-1/+1
|
* Fix issue #10055 - add documentation for the CPack Mac OSX only Bundle ↵David Cole2009-12-151-0/+21
| | | | | | generator. Thanks to Tim Shead for the patch.
* Add a test to build the CSE project if the optional cache entry ↵David Cole2009-12-151-0/+13
| | | | CMAKE_TEST_PROJECT_CSE_DIR is set.
* BUG: Fix #10021 don't specify libraries Qt depends on unless Qt is static.Clinton Stimpson2009-12-152-8/+29
|
* cmcurl: Fix test and dll output directoriesBrad King2009-12-151-2/+2
| | | | | | | | | | The commit "Clean up CMake build tree 'bin' directory" changed the setting of EXECUTABLE_OUTPUT_PATH that affects the cmcurl directory to empty. We now fix the 'curl' test to refer to the LIBCURL executable locally. When CMAKE_BUILD_CURL_SHARED is enabled we now put cmcurl.dll next to the cmake executable. These changes remove use of EXECUTABLE_OUTPUT_PATH from cmcurl.
* Changed XML formatting of files attached to test so that each file is ↵Zach Mullen2009-12-152-27/+18
| | | | archived and marked up individually, in order to make things easier on the CDash side. Also switched to using the NamedMeasurement tag instead of a new tag.
* cmcurl: Drop custom CHECK_TYPE_SIZE macroBrad King2009-12-153-97/+1
| | | | | We now require a version of CMake that provides CHECK_TYPE_SIZE, so we do not need a custom one for curl.
* KWSys: Build tests after librariesBrad King2009-12-151-0/+2
| | | | | | | | | | The TestSharedForward executable and TestDynload module do not actually link to a KWSys library, but it is nice to build them after the libraries just like all other test binaries. This also works around a universal binary bug in Xcode 2.x. It forgets to create the output directory for the executable before linking it. We avoid the problem by putting the library in the directory first.
* Honor real language flags in FortranC.Flags testBrad King2009-12-153-6/+10
| | | | | | The test overrides the CMAKE_C_FLAGS and CMAKE_Fortran_FLAGS to test passing a specific flag to the compiler wrapper scripts. We fix it to honor any outside flags needed for the real compiler.
* FortranCInterface: Support '=' in language flagsBrad King2009-12-153-7/+7
| | | | | | | | The commit "FortranCInterface: Honor language flags in checks" taught the FortranCInterface module to pass C and Fortran flags into its detection and verification checks. We improve on the change to allow the '=' character in the language flags. This requires passing the cache entry type with the -D options.
* Fix issue #9782 - add documentation for variables used by CPack DragNDrop ↵David Cole2009-12-151-0/+39
| | | | | | generators. Thanks to Michael Wild for the patch.
* Set value of HDF5_INCLUDE_DIR for backwards compatibility.Will Dicharry2009-12-151-0/+5
| | | | | | CMake 2.8 was released with the FindHDF5 module setting HDF5_INCLUDE_DIR rather than the correct plural HDF5_INCLUDE_DIRS. Since this went into a release, it is now necessary to set the singular for backwards compatibility.
* Fix issue #9011 - eliminate unnecessary uses of CPACK_PACKAGE_INSTALL_DIRECTORY.David Cole2009-12-151-10/+10
| | | | Replace them with CPACK_PACKAGE_NAME. The registry keys involved in this commit are used by Windows to track things in the Add/Remove programs portion of the Control Panel. With '\' characters in the keyname, the calls do not do what they are intended to do and the installed program never shows up in the control panel view. (Details noted in the issue itself.) Thanks to 'killerfox' for the patch.
* CTest-side changes to allow users to attach arbitrary files to test results ↵Zach Mullen2009-12-153-4/+100
| | | | that will be submitted to cdash using the ATTACHED_FILES test property.
* Fix issues #9959 and #9898 - do not set CMAKE_OSX_DEPLOYMENT_TARGET if ↵David Cole2009-12-151-14/+29
| | | | | | CMAKE_OSX_SYSROOT is set. Default to "" for CMAKE_OSX_DEPLOYMENT_TARGET if CMAKE_OSX_SYSROOT is set. Also, add new error message to detect the case where there is a deployment target, but no SDK has been set. Fix args to STRING REGEX call so that it works even if _sdk_path variable is empty inside sanity check function.
* KWSys Nightly Date StampKWSys Robot2009-12-151-1/+1
|
* Add one more possible error message from curl for the failed submit tests.David Cole2009-12-151-0/+1
|
* Disable arch-specific try_run in CMake itselfBrad King2009-12-141-0/+11
| | | | | | | We disallow try_run() when CMAKE_TRY_COMPILE_OSX_ARCHITECTURES is set because the binary might not be able to run on the host architecture. This prevents us from creating ppc test binaries on i386 Mac machines that cause Rosetta install dialogs to appear.
* Fix issue #9054 - ensure a valid install name for frameworks.David Cole2009-12-141-7/+14
| | | | | | When the INSTALL_NAME_DIR property is empty, still use a name of the form <name>.framework/Versions/<version>/<name> for installed frameworks.
* libarchive: Drop unused %jd and %lld checksBrad King2009-12-142-32/+0
| | | | | The libarchive source does not use HAVE_PRINTF_JD or HAVE_PRINTF_LLD, so we do not need to test for them at configuration time.
* Added a second call to find_library to find the static library.Marcus Hanwell2009-12-141-0/+8
| | | | | | When there is no shared object to link to a second call to find library is necessary to find the static Python library. Fixes an issue raised on the CMake mailing list, and it should be included in the next CMake patch release.
* Test FortranCInterface flag propagationBrad King2009-12-144-0/+81
| | | | | | We create test FortranC.Flags to try passing per-language flags from a project into its FortranCInterface detect/verify checks. We wrap the compilers with scripts that enforce presence of expected flags.
* Provide macro to force Fortran compilerBrad King2009-12-141-0/+20
| | | | | | We add the macro CMAKE_FORCE_Fortran_COMPILER to the cross-compiling helper module CMakeForceCompiler.cmake so that toolchain files can force a Fortran compiler as well as C and C++ compilers. See issue #10032.
* KWSys Nightly Date StampKWSys Robot2009-12-141-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-131-1/+1
|
* KWSys Nightly Date StampKWSys Robot2009-12-121-1/+1
|
* Fix issue #9764 - add TIMEOUT arg to ExternalProject_Add so that callers ↵David Cole2009-12-111-5/+12
| | | | have explicit control over the amount of time they are willing to wait for a download step. Default to no timeout, which means just run download for however long it takes.
* Consider a windows directory named syswow* a 'system' directory for ↵David Cole2009-12-111-1/+1
| | | | GetPrerequisites.cmake purposes.
* Document new --http1.0 option.Zach Mullen2009-12-111-0/+3
|
* Added a "-http1.0" option to ctest to make it submit using curl's http 1.0 ↵Zach Mullen2009-12-114-6/+67
| | | | option. Also added parsing of html reponse output to determine whether errors or warnings were sent in response from the server. If errors or warnings occurred, the response is output to stdout, and the "submission successful" message has been changed to accurately reflect whether or not warnings or errors were returned with the response.
* Add fallback for detecting CPU speed from Windows registry on builds where ↵David Cole2009-12-111-80/+221
| | | | USE_ASM_INSTRUCTIONS gets defined to 0. (Win64 builds.) Clean up methods to return false when not implemented or when they fail to detect the things they're supposed to detect. This file still needs a lot more work to have a fully working implementation on Win64 builds. Committing it now because it's slightly better than it was, and there is a need for the CPU speed detection code in projects that depend on kwsys. Will file a bug shortly to request that the missing implementations get filled in...
* BUG: Fix bug #9894. Make higher resolution CMake icon available as an ↵Clinton Stimpson2009-12-116-4/+8
| | | | application icon. On Mac, the higher resolution one is used in the dock.
* KWSys Nightly Date StampKWSys Robot2009-12-111-1/+1
|
* Restore the "***Not Run" message to ctest command line output for tests ↵Zach Mullen2009-12-101-0/+5
| | | | which did not start due to missing/bad executables or missing required files.
* Unfortunately, I noticed the comment on bug 8668 too late. This changes my ↵Zach Mullen2009-12-105-94/+47
| | | | last implementation of the exe wrapper to something which makes much more sense: a REQUIRED_FILES property on tests.
* [0008668: CTest Dev: Missing executables shown as failed tests when using ↵Zach Mullen2009-12-105-20/+103
| | | | MPI.] Added a wrapping option to add_test so that exes built by the project can be safely wrapped in other exes and be listed as "not run" rather than "failed" if they are not built.
* New decision method to enable Fortran testsBrad King2009-12-103-17/+50
| | | | | | | | | | CMake does not enable Fortran for its own build, but it needs to find a Fortran compiler to know if it is possible to enable Fortran tests. Previously we searched for a hard-coded list of Fortran compilers which was duplicated from the CMakeDetermineFortranCompiler.cmake module. We now run CMake on a small test project that enables the Fortran language and reports the compiler it found. This represents a more realistic check of whether the Fortran tests will be able to find a compiler.
* Always use a configuration for CMake testsBrad King2009-12-101-15/+3
| | | | | | | | | | Previously our EnforceConfig script that loads at test-time would only enforce a non-empty CTEST_CONFIGURATION_TYPE for CMake 2.6.2 and lower. Now we simply always enforce use of a configuration, and select one of the configurations that was built if none is given. This is necessary to run tests like CMake.Install that need to know the configuration with which CMake was built.
* Test 'install' target of CMake itselfBrad King2009-12-103-0/+54
| | | | | | We create option CMake_TEST_INSTALL to enable a new CMake.Install test. It tests running the "make install" target to install CMake itself into a test directory. We enable the option by default for dashboard builds.
* Apply CMake test-time config to all testsBrad King2009-12-102-4/+4
| | | | | | We configure an EnforceConfig.cmake script to load at CTest time. Previously we loaded it from Tests/CTestTestfile.cmake, but now we load it from the top level so it applies to all tests.
* Fix memory leak that occurred when a test executable could not be started. ↵Zach Mullen2009-12-101-0/+1
| | | | (See BadExe test)
* Fix installation of CMake itselfBrad King2009-12-101-0/+7
| | | | | | | | | | | | | | | CMake 2.8.0 and below use the EXECUTABLE_OUTPUT_PATH setting from the top-level CMakeLists.txt file to compute the location of the "cmake" target for the special case of installing cmake over itself. The commit "Clean up CMake build tree 'bin' directory" moved the setting of EXECUTABLE_OUTPUT_PATH that affects the "cmake" target into the Source subdirectory. This broke the special-case lookup in the top level. We fix it by setting EXECUTABLE_OUTPUT_PATH at the end of the top-level CMakeLists.txt file. Now that we use add_subdirectory to process the subdirectories in order, this setting does not affect the subdirectories. Thus we fix installation while preserving the clean build tree 'bin' directory intended by the above-mentioned commit.
* Use add_subdirectory instead of subdirs in CMakeBrad King2009-12-101-11/+11
| | | | | | We switch CMake's own top-level CMakeLists.txt file to use the modern add_subdirectory() command instead of the old subdirs() command. This enables in-order processing.
* Simplify CMake self-install special caseBrad King2009-12-101-13/+4
| | | | | | | | | | CMake has a special case for the "make install" target when building CMake itself. We use the just-built CMake to install itself since an existing CMake installation cannot replace itself (at least on Windows). We simplify the code that computes the location of the CMake binary by taking advantage of existing generator support for target lookup. This will make it robust to any changes in CMake's own CMakeLists.txt files in the future.
* BUG: Fix bug #10,000.Clinton Stimpson2009-12-101-5/+13
| | | | | | Some fixes for including Qt frameworks. Remove extra "QtGui.framework" so its not Contents/Frameworks/QtGui.framework/QtGui.framwork/... anymore. Also include QtGui Resource folder, so a Cocoa/Qt based cmake-gui app works.
* KWSys Nightly Date StampKWSys Robot2009-12-101-1/+1
|
* Fix parallel HDF5 detection (#9982)Alexander Neundorf2009-12-091-1/+1
| | | | Alex