1. 10 Dec, 2009 10 commits
    • Zach's avatar
      [0008668: CTest Dev: Missing executables shown as failed tests when using... · 48b61339
      Zach authored
      [0008668: CTest Dev: Missing executables shown as failed tests when using 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.
    • Brad King's avatar
      New decision method to enable Fortran tests · 55275e01
      Brad King authored
      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.
    • Brad King's avatar
      Always use a configuration for CMake tests · faf6d82b
      Brad King authored
      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.
    • Brad King's avatar
      Test 'install' target of CMake itself · 6c79c962
      Brad King authored
      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.
    • Brad King's avatar
      Apply CMake test-time config to all tests · 9d823f78
      Brad King authored
      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.
    • Zach's avatar
    • Brad King's avatar
      Fix installation of CMake itself · 30f17e29
      Brad King authored
      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.
    • Brad King's avatar
      Use add_subdirectory instead of subdirs in CMake · 31e26820
      Brad King authored
      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.
    • Brad King's avatar
      Simplify CMake self-install special case · d5eb99cb
      Brad King authored
      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.
    • Clinton Stimpson's avatar
      BUG: Fix bug #10,000. · 419d050b
      Clinton Stimpson authored
      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.
  2. 09 Dec, 2009 4 commits
  3. 08 Dec, 2009 11 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 02a8eee3
      Kitware Robot authored
    • Brad King's avatar
      Test XML encoding with UTF-8 character validation · f5ac85a2
      Brad King authored
      This creates a unit test for cmXMLSafe.  See issue #10003.
    • Brad King's avatar
      Test UTF-8 decoding · 0a64936f
      Brad King authored
      This creates a unit test for cm_utf8.  See issue #10003.
    • Brad King's avatar
      CTest: Do not munge UTF-8 output in XML files · e4beefeb
      Brad King authored
      CTest filters the output from tools and tests to ensure that the XML
      build/test result documents it generates have valid characters.
      Previously we just converted all non-ASCII bytes into XML-escaped
      Unicode characters of the corresponding index.  This does not preserve
      tool output encoded in UTF-8.
      We now assume UTF-8 output from tools and implement decoding as
      specified in RFC 3629.  Valid characters are preserved, possibly with
      XML escaping.  Invalid byte sequences and characters are converted to
      human-readable hex values with distinguishing tags.  See issue #10003.
    • Brad King's avatar
      Create CMakeLib test driver and test cmXMLParser · 5872cc7c
      Brad King authored
      We create a new CMakeLibTests driver executable in which to writes unit
      tests for CMakeLib.  Our first test is a smoke-test of cmXMLParser.
    • Brad King's avatar
      Clean up CMake build tree 'bin' directory · d4ada9d0
      Brad King authored
      We re-arrange EXECUTABLE_OUTPUT_PATH settings to avoid putting utility
      and test executables in the 'bin' directory of the build tree.  This
      makes the directory look like that in the installation tree, except that
      on multi-configuration generators we still use a per-config
    • Brad King's avatar
      Remove useless include file filters · d4e26b7e
      Brad King authored
      The commit "Cleanup regular expressions" removed real include filter
      expressions and replaced them with lines like
      that do no filtering.  We simplify the change by removing the lines
    • Brad King's avatar
      KWSys: Remove default exe output path · 15316c12
      Brad King authored
      KWSys should not set variables outside its namespace.  It can honor the
      EXECUTABLE_OUTPUT_PATH set by a host project, but tere is no need for it
      to set a default in the host project cache.
    • Zach's avatar
    • Brad King's avatar
      Remove unused DumpDocumentation code · 1d91bc64
      Brad King authored
      The DumpDocumentation executable and some supporting code and tests were
      completely unused by CMake.  Generation of documentation is done by the
      individual executables with --help* options.  In this commit we simply
      remove the unused code, executable, and test.
    • Mathieu Malaterre's avatar
      Minor typo in comments · f1d4f951
      Mathieu Malaterre authored
  4. 07 Dec, 2009 6 commits
  5. 06 Dec, 2009 1 commit
  6. 05 Dec, 2009 1 commit
  7. 04 Dec, 2009 7 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 0570b3c7
      Kitware Robot authored
    • Bill Hoffman's avatar
    • David Cole's avatar
      Fix cvs password problems during the CMake.CheckSourceTree test. Make sure cvs... · 8d28ce80
      David Cole authored
      Fix cvs password problems during the CMake.CheckSourceTree test. Make sure cvs has access to the original value of the HOME environment variable and not the 'CMake testing' value of it so that any cvs passwords set up on the machine work to get the list of local modifications using 'cvs up'...
    • Brad King's avatar
      Document usage of the include(CTest) module · 700da5f2
      Brad King authored
      Previously this module gave only very brief documentation.  We extend
      the module's documentation to describe CTestConfig.cmake, interaction
      with dashboard scripts, and the CTEST_USE_LAUNCHERS option.
    • David Cole's avatar
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of... · 0b38bb4c
      David Cole authored
      Fix issue #2336 - honor the -C arg to ctest. Honor it for all stages of running -D dashboards from the command line and running ctest_configure, ctest_build and ctest_test commands in -S scripts. Also, allow a script to change it by setting the CTEST_CONFIGURATION_TYPE variable: allows for multiple configuration build/test cycles within one script. Add a new signature for the cmake command build_command that accepts CONFIGURATION as one argument. The original build_command signature is still there, but now marked as deprecated in the documentation. Of course... also add CTestConfig tests to verify that -C is honored for -D dashboards and -S scripts.
    • Brad King's avatar
      Remove GNU-specific flags from Linux.cmake · af14f1f2
      Brad King authored
      We remove the shared library compile/link flags "-fPIC" and "-shared"
      because they are not provided by all compilers on Linux.  This allows us
      to drop code from the Linux-XL-*.cmake files that erases the bad flags.
      All other supported compilers already provide their correct flags for
      Linux in their own platform information files.
    • Brad King's avatar
      Generalize support for Portland Group Compiler · c106cb2e
      Brad King authored
      We factor flags from Platform/Linux-PGI-Fortran.cmake into language
      independent helper modules
      and invoke the macros from
      This enables general support for the PGI compilers.