1. 10 Dec, 2009 9 commits
    • 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.
      faf6d82b
    • 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.
      6c79c962
    • 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.
      9d823f78
    • 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.
      30f17e29
    • 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.
      31e26820
    • 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.
      d5eb99cb
    • 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.
      419d050b
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · a082702d
      Kitware Robot authored
      a082702d
  2. 09 Dec, 2009 4 commits
  3. 08 Dec, 2009 11 commits
    • 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.
      f5ac85a2
    • Brad King's avatar
      Test UTF-8 decoding · 0a64936f
      Brad King authored
      This creates a unit test for cm_utf8.  See issue #10003.
      0a64936f
    • 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.
      e4beefeb
    • 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.
      5872cc7c
    • 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
      subdirectory.
      d4ada9d0
    • 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
      
        INCLUDE_REGULAR_EXPRESSION("^.*$")
      
      that do no filtering.  We simplify the change by removing the lines
      altogether.
      d4e26b7e
    • 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.
      15316c12
    • 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.
      1d91bc64
    • Mathieu Malaterre's avatar
      Minor typo in comments · f1d4f951
      Mathieu Malaterre authored
      f1d4f951
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · dd1a0c05
      Kitware Robot authored
      dd1a0c05
  4. 07 Dec, 2009 6 commits
  5. 06 Dec, 2009 1 commit
  6. 05 Dec, 2009 1 commit
  7. 04 Dec, 2009 8 commits
    • Bill Hoffman's avatar
      93fea8f4
    • 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'...
      8d28ce80
    • 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.
      700da5f2
    • 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.
      0b38bb4c
    • 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.
      af14f1f2
    • 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
      
        Compiler/PGI.cmake
        Platform/Linux-PGI.cmake
      
      and invoke the macros from
      
        Compiler/PGI-<lang>.cmake
        Platform/Linux-PGI-<lang>.cmake
      
      This enables general support for the PGI compilers.
      c106cb2e
    • Brad King's avatar
      Remove duplicate info from Linux SunPro info files · 2d948e94
      Brad King authored
      The CMAKE_DL_LIBS variable is set platform-wide by Linux.cmake so we do
      not need to duplicate it in Linux-SunPro-<lang>.cmake files.
      2d948e94
    • Brad King's avatar
      Consolidate Linux Intel compiler information · e2083979
      Brad King authored
      We consolidate duplicate code from Platform/Linux-Intel-<lang>.cmake
      files into a macro defined in Platform/Linux-Intel.cmake.
      e2083979