1. 01 Sep, 2009 4 commits
    • Brad King's avatar
      Make CTest.UpdateGIT robust to user git config · 06332c88
      Brad King authored
      Part of this test does "git pull" on a dirty work tree.  We need to make
      sure that 'branch.master.rebase' is false for the test repository.
      Otherwise if it is true in the user configuration then pull will refuse
      to rebase and the test will fail.
      06332c88
    • Brad King's avatar
      Test the user package registry · 07f029d6
      Brad King authored
      We teach the FindPackageTest to build a sample project that stores its
      build tree in the user package registry using export(PACKAGE), and then
      find it with find_package.
      07f029d6
    • Brad King's avatar
      Test link multiplicity export/import · d2591288
      Brad King authored
      We test that LINK_INTERFACE_MULTIPLICITY propagates through export() and
      install(EXPORT) into dependent projects.  A simple cycle of two archives
      that need to be scanned three times ensures that the importing project
      uses the multiplicity correctly.
      d2591288
    • Brad King's avatar
      Test link multiplicity · 0cfd8c41
      Brad King authored
      This tests the LINK_INTERFACE_MULTIPLICITY property for a cycle of three
      static libraries that must be scanned three times to link properly.
      0cfd8c41
  2. 28 Aug, 2009 1 commit
  3. 24 Aug, 2009 2 commits
    • Brad King's avatar
      Enforce FortranCInterface_VERIFY in Fortran test · 6e7020b4
      Brad King authored
      This removes the QUIET option from FortranCInterface_VERIFY in the
      Fortran test to really test the detected interface everywhere.
      6e7020b4
    • Brad King's avatar
      Create FortranCInterface_VERIFY function · a9be85da
      Brad King authored
      This function builds a simple test project using a combination of
      Fortran and C (and optionally C++) to verify that the compilers are
      compatible.  The idea is to help projects report very early to users
      that the compilers specified cannot mix languages.
      a9be85da
  4. 11 Aug, 2009 2 commits
  5. 05 Aug, 2009 2 commits
    • Brad King's avatar
      Rewrite FortranCInterface module · 80f0201b
      Brad King authored
      This is a new FortranCInterface.cmake module to replace the previous
      prototype.  All module support files lie in a FortranCInterface
      directory next to it.
      
      This module uses a new approach to detect Fortran symbol mangling.  We
      build a single test project which defines symbols in a Fortran library
      (one per object-file) and calls them from a Fortran executable.  The
      executable links to a C library which defines symbols encoding all known
      manglings (one per object-file).  The C library falls back to the
      Fortran library for symbols it cannot provide.  Therefore the executable
      will always link, but prefers the C-implemented symbols when they match.
      These symbols store string literals of the form INFO:symbol[<name>] so
      we can parse them out of the executable.
      
      This module also provides a simpler interface.  It always detects the
      mangling as soon as it is included.  A single macro is provided to
      generate mangling macros and optionally pre-mangled symbols.
      80f0201b
    • Brad King's avatar
      Remove WXDialog source code · 87442aef
      Brad King authored
      The QtDialog is our supported cross-platform GUI, so the WXDialog source
      is no longer needed.
      87442aef
  6. 04 Aug, 2009 2 commits
    • Brad King's avatar
      No /fast targets in try_compile project mode · 80c947b3
      Brad King authored
      The try_compile command builds the cmTryCompileExec executable using the
      cmTryCompileExec/fast target with Makefile generators in order to save
      time since dependencies are not needed.  However, in project mode the
      command builds an entire source tree that may have dependencies.
      Therefore we can use the /fast target approach only in one-source mode.
      80c947b3
    • Brad King's avatar
      Test C, C++, Fortran interface combinations · f3cd1e06
      Brad King authored
      Previously the Fortran test created a single executable containing C,
      C++, and Fortran sources.  This commit divides the executable into three
      libraries corresponding to each language, and two executables testing
      Fortran/C only and Fortran/C/C++ together.  The result tests more
      combinations of using the languages together, and that language
      requirements propagate through linking.
      f3cd1e06
  7. 03 Aug, 2009 2 commits
    • Brad King's avatar
      Fix recursive try_compile calls · 73de2362
      Brad King authored
      When building an entire source tree with try_compile instead of just a
      single source file, it is possible that the CMakeLists.txt file in the
      try-compiled project invokes try_compile.  This commit fixes propagation
      of language-initialization results from the outer-most project into any
      number of try-compile levels.
      73de2362
    • Brad King's avatar
      Test try_compile project mode · 1a159bbf
      Brad King authored
      The try_compile command project mode builds an entire source tree
      instead of one source file.  It uses an existing CMakeLists.txt file in
      the given source tree instead of generating one.  This commit creates a
      test for the mode in the TryCompile test.
      1a159bbf
  8. 29 Jul, 2009 3 commits
  9. 28 Jul, 2009 1 commit
    • Brad King's avatar
      BUG: Parse implicit link editor -z*extract options · 83644766
      Brad King authored
      The Sun Fortran compiler passes -zallextract and -zdefaultextract to the
      linker so that all objects from one of its archives are included in the
      link.  This teaches the implicit options parser to recognize the flags.
      We need to pass them explicitly on C++ link lines when Fortran code is
      linked.
      83644766
  10. 27 Jul, 2009 5 commits
    • Brad King's avatar
      ENH: Test Fortran and C++ in one executable · 2b849a77
      Brad King authored
      This extends the Fortran-to-C interface test to add a C++ source file.
      The executable can only link with the C++ linker and with the proper
      Fortran runtime libraries.  These libraries should be detected by CMake
      automatically, so this tests verifies the detection functionality.
      2b849a77
    • Brad King's avatar
      ENH: Remove EXTRA_FORTRAN_C_LIBS Fortran test hack · 1c98cdf2
      Brad King authored
      This hack was created to help the Fortran test executables link to the
      implicit C libraries added by BullsEye.  Now that implicit libraries
      from all languages are detected and included automatically the hack is
      no longer needed.
      1c98cdf2
    • Brad King's avatar
      ENH: Report CMake logs in SystemInformation test · 0afa7a95
      Brad King authored
      This teaches the SystemInformation test to report the CMake log files
      CMakeOutput.log and CMakeError.log from the CMake build tree and from
      the SystemInformation test build tree.  These logs may help diagnose
      dashboard problems remotely.
      0afa7a95
    • David Cole's avatar
      ENH: Make the CheckSourceTree test emit a warning (but pass instead of fail)... · 7ae028eb
      David Cole authored
      ENH: Make the CheckSourceTree test emit a warning (but pass instead of fail) when there is an in-source build on a dashboard machine.
      7ae028eb
    • Brad King's avatar
      ENH: Require language libs in Fortran/C test · 38d1ff59
      Brad King authored
      This extends the Fortran/C interface test to require that the executable
      link to the fortran language runtime libraries.  We must verify that the
      proper linker is chosen.
      38d1ff59
  11. 25 Jul, 2009 2 commits
  12. 24 Jul, 2009 8 commits
  13. 23 Jul, 2009 2 commits
    • Brad King's avatar
      ENH: Create ImplicitLinkInfo test · c98aaceb
      Brad King authored
      This tests the internal CMakeParseImplicitLinkInfo.cmake module to
      ensure that implicit link information is extracted correctly.  The test
      contains many manually verified examples from a variety of systems.
      c98aaceb
    • Brad King's avatar
      ENH: Implicit link info for C, CXX, and Fortran · 07ea19ad
      Brad King authored
      This teaches CMake to detect implicit link information for C, C++, and
      Fortran compilers.  We detect the implicit linker search directories and
      implicit linker options for UNIX-like environments using verbose output
      from compiler front-ends.  We store results in new variables called
      
        CMAKE_<LANG>_IMPLICIT_LINK_LIBRARIES
        CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
      
      The implicit libraries can contain linker flags as well as library
      names.
      07ea19ad
  14. 22 Jul, 2009 1 commit
    • Brad King's avatar
      ENH: Improve strictness of Function test · 267085f3
      Brad King authored
      The command "set(... PARENT_SCOPE)" should never affect the calling
      scope.  This improves the Function test to check that such calls in a
      subdirectory scope affect the parent but not the child.
      267085f3
  15. 21 Jul, 2009 1 commit
    • Brad King's avatar
      BUG: Fix SystemInformation dump output · 924dd344
      Brad King authored
      When this test was renamed from DumpInformation to SystemInformation the
      configured header that points the dump executable to the directory
      containing information files was broken.  No information has been dumped
      by this test for 2 years!  This fixes it.
      924dd344
  16. 20 Jul, 2009 1 commit
  17. 14 Jul, 2009 1 commit