1. 27 May, 2011 1 commit
    • Clinton Stimpson's avatar
      BundleUtilities: Work w/ non .app exes on Mac (#12034) · 7ac7b437
      Clinton Stimpson authored
      Also add a test of BundleUtilities including an exe,
      some shared libs, a plugin, and a framework-style lib.
      
      This test presently runs (and this functionality works)
      on Linux, Mac and Windows.
      
      For now, the framework-style lib is built as a plain old
      shared lib because there is another yet-unresolved issue
      with local frameworks without rpaths on the Mac.
      7ac7b437
  2. 21 May, 2011 1 commit
  3. 20 May, 2011 2 commits
    • Brad King's avatar
      Absoft: Detect implicit link libraries on Linux and Mac · d7b376b3
      Brad King authored
      Use the "-X -v" flag to the Absoft front-end to pass "-v" to the gcc it
      invokes under the hood.  Teach CMakeParseImplicitLinkInfo to exclude
      linker version lines from consideration as link lines.  Fix parsing of
      Sun's linker search path option "-Y..." to avoid conflict with the Mac
      linker option "-Y<num>".
      d7b376b3
    • Brad King's avatar
      Add Absoft Fortran compiler id and basic flags · ac5b999f
      Brad King authored
      Identification at preprocessing time depends on definition of __ABSOFT__
      to be added in service pack V11.1.2 of the compiler.
      ac5b999f
  4. 16 May, 2011 1 commit
  5. 02 May, 2011 1 commit
  6. 25 Apr, 2011 1 commit
  7. 24 Apr, 2011 1 commit
  8. 18 Apr, 2011 2 commits
    • Brad King's avatar
      FindITK: Use passthru find_package config mode for messages · aa170c20
      Brad King authored
      The custom error message that mentions PREFIX/lib/InsightToolkit is not
      accurate for ITKv4.  Just use the more generic message that find_package
      generates by default.  This module is now almost a no-op but exists to
      tell find_package to look for the InsightToolkit name as well as ITK.
      aa170c20
    • David Cole's avatar
      ExternalProject: Always use --non-interactive with svn · 12a36993
      David Cole authored
      The previous commit added --non-interactive as a "side effect"
      of turning on SVN_TRUST_CERT. While reviewing that commit, we
      decided all ExternalProject svn usage should be non-interactive.
      
      That way, if there's any sort of problem, svn will return an
      error right away rather than hang forever waiting for input...
      12a36993
  9. 17 Apr, 2011 1 commit
  10. 11 Apr, 2011 1 commit
    • David Cole's avatar
      ExternalProject: Add SVN_TRUST_CERT argument · 3a5a402a
      David Cole authored
      Which adds --non-interactive and --trust-server-cert to the svn
      checkout and update command lines. This allows ExternalProject
      clients to pull from an https:// based svn server even though
      the server may not have a valid or trusted certificate.
      
      Caveat emptor: I would NOT recommend using this except as a
      short-term work-around. Rather, the server should have a valid,
      trusted certificate, or the client should be using "http" instead
      of "https".
      3a5a402a
  11. 08 Apr, 2011 8 commits
    • Mathieu Malaterre's avatar
      Add support for FindJava on HP-UX and alpha · 4f35488f
      Mathieu Malaterre authored
      This commit fixes BUG: 0010242. It now properly inspect specific directory
      on hp-ux and alpha implementation of the JRE
      4f35488f
    • Mathieu Malaterre's avatar
      UseSWIG.cmake did not support multiple modules and parallel builds · 0378396e
      Mathieu Malaterre authored
      This commit fixes BUG: 0011782. UseSWIG would be using the same variable
      to declare module information. The problem would only be noticed in parallel builds
      Fix this variable declaration by properly resetting it.
      0378396e
    • Mathieu Malaterre's avatar
      Add support for new swig 2.0 application · 55b7c87e
      Mathieu Malaterre authored
      This commit fixes BUG: 0011843. It now properly discover if swig2.0
      is in the PATH
      55b7c87e
    • Mathieu Malaterre's avatar
      UseSWIG.cmake does not expand $(OutDir) · c0885365
      Mathieu Malaterre authored
      This commit fixes BUG: 0011215 by properly expanding $(OutDir)
      Instead of creating the output directory using file(MAKE_DIRECTORY)
      we use cmake -E to create the directory at execution time
      c0885365
    • Mathieu Malaterre's avatar
      Add support for java on fedora · a59d198a
      Mathieu Malaterre authored
      This commit fixes BUG: 0011183 by adding new paths used on fedora,
      specifically: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0
      a59d198a
    • Mathieu Malaterre's avatar
      Add support for Java on HP · 5f768331
      Mathieu Malaterre authored
      This commit fixes Bug: 0011676 by adding support for version
      numbering of JRE used on HP: 1.6.0.06-jinteg_20_jan_2010_05_50-b00
      5f768331
    • Mathieu Malaterre's avatar
      Add a new function SWIG_GET_WRAPPER_DEPENDENCIES to UseSWIG.cmake · 1088b027
      Mathieu Malaterre authored
      This commit fixes BUG: 0004147 it directly uses swig executable
      to compute a list of dependencies directly from the .i files
      to make sure to rebuild the swig module any of its direct dep.
      is touched
      1088b027
    • Brad King's avatar
      XL: Avoid copying archives into shared libraries that link them · d468a2c2
      Brad King authored
      The XL toolchain supports shared object files stored in archives.  Since
      CMake lists libraries on link lines by full path it is common for a
      shared library link line to contain the path to an archive file.
      
      When linking a shared library the compiler front-end by default runs
      CreateExportList to construct the list of symbols to be exported.
      Unfortunately it passes all files found on the command line to the tool
      so archive and library files get processed along with the object files.
      The tool returns a list of all symbols in all objects, archives, and
      libraries on the command line.  This causes the linker to copy every
      object file out of every archive into the shared library whether they
      are dependencies of the original object files or not.
      
      Work around this problem by running CreateExportList ourselves with just
      the original object files intended for inclusion in the shared library.
      Then pass the list it produces on the link line to prevent the compiler
      front-end from constructing its own.  This tells the linker to export
      only the symbols provided by the original source files of the shared
      library.
      d468a2c2
  12. 07 Apr, 2011 3 commits
  13. 04 Apr, 2011 1 commit
  14. 03 Apr, 2011 2 commits
  15. 01 Apr, 2011 3 commits
  16. 31 Mar, 2011 4 commits
  17. 28 Mar, 2011 2 commits
  18. 24 Mar, 2011 2 commits
    • Brad King's avatar
      FortranCInterface: Fix mangling detection with Cray Fortran >= 7.3.2 · d0203fb5
      Brad King authored
      The Cray Fortran compiler started using module init symbols in version 7.3.2.
      Starting in commit 71287734 (Teach FortranC interface for Intel, PGI, and gcc
      4.2, 2009-08-05) we provide C versions of the module init symbols so that the
      detection executable can link when the C versions of the module-mangled symbols
      are picked up.
      
      If no C module-mangled symbol matches then we cannot let the C module init
      symbol appear because it will be duplicated by the Fortran copy that provides
      the module-mangled symbol.  This was first handled for the PathScale compiler
      in commit 21faaa5d (FortranCInterface: Fix PathScale detection, 2010-01-22) and
      commit 46858720 (FortranCInterface: Fix PathScale detection again, 2010-02-16).
      Handle it now for the Cray compiler too.
      d0203fb5
    • Martin Konrad's avatar
      33391c69
  19. 23 Mar, 2011 1 commit
  20. 18 Mar, 2011 2 commits
    • David Cole's avatar
      ProcessorCount: Use ERROR_QUIET with execute_process (#11302) · e6c27010
      David Cole authored
      Also, comment out all "debugging" calls to message() that helped
      us interpret the output on other platforms when running on the
      dashboard clients.
      
      Using ERROR_QUIET avoids unnecessary stderr output while calling
      external tools to determine the processor count. If there's an
      error parsing the output, we set the count to 0 anyhow.
      
      Also, the test will fail on a CMake dashboard run if the count
      comes back equal to 0.
      
      Now that the code is "done"-ish, remove the debugging output.
      Expect no output on stdout or stderr when calling the
      ProcessorCount function from now on.
      e6c27010
    • Andreas Schneider's avatar
      Modules: Added CheckPrototypeDefinition module. · 4f252abe
      Andreas Schneider authored
      This check if the function exists and the prototype we want to use is
      correct. There are still functions which have different prototypes on
      different UNIX systems.
      4f252abe