1. 07 Dec, 2009 1 commit
  2. 06 Dec, 2009 1 commit
  3. 05 Dec, 2009 1 commit
  4. 04 Dec, 2009 10 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.
    • 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.
    • 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.
    • Brad King's avatar
      Fix GNU C and Fortran flags on SunOS · 77ded396
      Brad King authored
      The commit "Split GNU compiler information files" intended to move GNU
      flags from the platform-wide Platform/SunOS.cmake module into
      using a helper module Platform/SunOS-GNU.cmake to consolidate flags.
      However, it accidentally put Fortran flags in the C language module and
      left out the Fortran module altogether.  This fixes those mistakes.
  5. 03 Dec, 2009 1 commit
  6. 02 Dec, 2009 12 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 5b0f15f5
      Kitware Robot authored
    • Brad King's avatar
      Move GNU flags from SunOS.cmake to SunOS-GNU.cmake · 3e37ca8e
      Brad King authored
      The GNU-specific link-type flags do not belong in the platform-wide
    • Bill Hoffman's avatar
    • Brad King's avatar
      Reduce duplication in Platform/<os>.cmake files · 4d72006b
      Brad King authored
      Several platform-wide linker flag variables are defined in
      Modules/Platform/<os>.cmake files for C and then copied by the
      Modules/CMake<lang>Information.cmake file for each language.
      We now use this approach for the variables
      to avoid duplication for multiple languages in each platform file.
    • Brad King's avatar
      Remove CMAKE_SHARED_MODULE_RUNTIME_${lang}_FLAG · 9daa4a6c
      Brad King authored
      This platform configuration variable is unused.  Modules are built using
      the value of CMAKE_SHARED_LIBRARY_RUNTIME_${lang}_FLAG.
    • Brad King's avatar
      Fix OS X dylib and module GNU flags · 58d6057a
      Brad King authored
      The commit "Split GNU compiler information files" broke the settings of
      and started using just "-shared" for them.  This worked when tested on newer
      Mac machines, but older ones really need "-dynamiclib" and "-bundle" (which are
      the documented flags anyway).
    • Brad King's avatar
      Fix .vfproj files with per-source settings · 8c5d8177
      Brad King authored
      The Intel Fortran plugin to VS defines VFFortranCompilerTool as the
      compiler tool.  This commit fixes generated projects to use that tool
      for per-source settings instead of VCCLCompilerTool.  We were already
      using it for target-wide compiler settings.
    • Brad King's avatar
      Modernize GNU compiler info on Windows · aff31479
      Brad King authored
      This moves GNU compiler info on Windows into new-style modules
      using language-independent helper module
      to define macros consolidating the information.
    • Brad King's avatar
      Split GNU compiler information files · e28c16b4
      Brad King authored
      This moves GNU compiler flags into new-style modules
      We use language-independent helper modules
      to define macros consolidating the information.
    • Zach's avatar
    • Brad King's avatar
      Make CTestTestTimeout time configurable · b14734b9
      Brad King authored
      In this test we start up a cmake script that runs a process that sleeps,
      and the timeout for the script is shorter than the sleep time.  However,
      in order to properly detect that the sleeping grandchild is killed when
      the script times out we need to give sufficient time for the script to
      start the grandchild.  Otherwise the log file for the grandchild is not
      On some (cygwin) builds our previous 1 second timeout for the script was
      not long enough to let the interpreter load and start the grandchild.
      We make the timeout time configurable by setting CTestTestTimeout_TIME
      in the cache for CMake itself.  It tells the test how long to let the
      script run.  The grandchild always sleeps for 4 seconds longer to ensure
      a comfortable window during which the process tree can be killed.
    • Brad King's avatar
      Remove unused code from CTest test suite · ed55b1b8
      Brad King authored
      We remove from Tests/CTestTest*/CMakeLists.txt some historical cruft
      that is no longer used by the test suite.
  7. 01 Dec, 2009 8 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · cdc9ef3b
      Kitware Robot authored
    • Brad King's avatar
      Use one arch for 1.4-compatible check_type_size · 27873a48
      Brad King authored
      The CMakeBackwardCompatibilityC module provides some try-compile results
      that were automatically provided by CMake 1.4.  When performing the
      checks for OS X universal binaries we just pick one architecture to get
      through the checks without error.  Since CMake 1.4 did not support any
      universal binaries, projects that want them should not depend on this
      compatibility module anyway.
    • James Bigler's avatar
    • Brad King's avatar
      Drop -rdynamic from Linux build rules · 1f06c33f
      Brad King authored
      This is a GNU-specific option that should not be specified for all
      compilers on Linux.  It tells the GNU compiler to pass -export-dynamic
      to the linker to export symbols from executables for use by plugins.
      Since we provide the ENABLE_EXPORTS target property to do the same thing
      in a cross-platform way, there is no need to pass -rdynamic always.
      Since the option is not useful for GNU tools and breaks other tools on
      Linux we simply remove it from CMAKE_SHARED_LIBRARY_LINK_<lang>_FLAGS.
      This also allows us to stop setting the variable in other Linux compiler
      files just to erase the bad flag.
      See issue #9985.
    • Brad King's avatar
      curl: Hard-code HAVE_W* macros on UNIX for Cygwin · 997fd839
      Brad King authored
      The curl library code assumes that HAVE_WINDOWS_H and similar macros are
      not defined on Cygwin.  Its CMake code achieved this by not even testing
      for the corresponding headers on UNIX platforms.  However, libarchive
      does test HAVE_WINDOWS_H and confuses our curl build.  We avoid the
      conflict by hard-coding the macros to 0 for UNIX builds inside the curl
    • Brad King's avatar
      Always use a configuration for CTestTestTimeout · 7380d3ab
      Brad King authored
      This test requires that the dashboard script it drives be invoked with
      "ctest -C <config> -S ...".  We create a "CTestTest_CONFIG" variable to
      hold a configuration selected at test time.  We use the configuration
      given to the outer CTest, if any, and then default to either Debug or
    • Brad King's avatar
      KWSys: List processes with "ps -ef" on OpenSolaris · 1a5f209e
      Brad King authored
      In order to kill process trees we need to list all processes to find
      those whose parent we are killing.  We implement process listing on
      OpenSolaris by using "ps -ef" and parsing the resulting format:
           UID   PID  PPID   C    STIME TTY         TIME CMD
           %*s    %d    %d   %*[^\n]\n
    • Brad King's avatar
      KWSys: Use "ps -Af" for process list on QNX · be36c14b
      Brad King authored
      In order to kill process trees we need to list all processes to find
      those whose parent we are killing.  We implement process listing on QNX
      using "ps -Af" and parsing the resulting format:
        UID        PID       PPID  C STIME TTY          TIME CMD
        %*d         %d         %d  %*[^\n]\n
  8. 30 Nov, 2009 6 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · afef5245
      Kitware Robot authored
    • Brad King's avatar
      libarchive: Remove unused STDC_HEADERS try_run · 8b2f6dbf
      Brad King authored
      This was the only try_run() in libarchive, and the result was not used
      in the source code.  We remove it to allow cross-compiling to work.
    • James Bigler's avatar
    • Brad King's avatar
      CTest: Test process tree kill on timeout · 88eeface
      Brad King authored
      We extend the CTestTestTimeout test to check that when a test times out
      its children (grandchildren of ctest) are killed.  Instead of running
      the timeout executable directly, we run it through a cmake script that
      redirects the timeout executable output to a file.  A second test later
      runs and verifies that the timeout executable was unable to complete and
      write data to the log file.  Only if the first inner test times out and
      the second inner test passes (log is empty) does the CTestTestTimeout
      test pass.
    • Brad King's avatar
      KWSys: Fix process tree kill on 64-bit Windows · 2aaa9677
      Brad King authored
      We enumerate processes to identify those whose parent is being killed so
      that we can recursively kill the children.  Enumeration uses the
      Process32(First|Next) windows API functions, which accept PROCESSENTRY32
      objects to be filled.  This commit corrects the declaration of the entry
      structure to account for its size on 64-bit Windows.
    • Zach's avatar
      Document new timeout command line option · b286e6ec
      Zach authored