1. 22 Jan, 2010 1 commit
  2. 21 Jan, 2010 4 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 634011f7
      Kitware Robot authored
      634011f7
    • Brad King's avatar
      Do not export all symbols from DLLs on Cygwin · 3684f623
      Brad King authored
      In commit "use export all symbols on cygwin" (2003-01-21) we started
      passing -Wl,--export-all-symbols when linking shared libraries.  Now
      cygwin exports all symbols automatically if no symbols are explicitly
      exported.  When symbols are explicitly exported we want to honor that
      narrow interface.  Therefore this flag should not be passed.
      
      Change based on patch from issue #10122.
      3684f623
    • Brad King's avatar
      Fix CMAKE_DL_LIBS on Cygwin · 41024b00
      Brad King authored
      The variable should contain the name of a library needed to link the
      symbol equivalent to dlopen.  On Cygwin no special library is needed,
      and certainly not "gdi32".
      
      Change based on patch from issue #10122.
      41024b00
    • Brad King's avatar
      Add PathScale shared library flags on Linux · 1804c6bf
      Brad King authored
      We add platform-specific compiler information files
      
        Platform/Linux-PathScale-<lang>.cmake
      
      to enable -fPIC and -shared flags for shared libraries.
      1804c6bf
  3. 20 Jan, 2010 1 commit
  4. 19 Jan, 2010 1 commit
  5. 18 Jan, 2010 4 commits
  6. 17 Jan, 2010 2 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · a17e3219
      Kitware Robot authored
      a17e3219
    • Alexander Neundorf's avatar
      -create imported library targets for the Qt4 libs · 6d393130
      Alexander Neundorf authored
      This commit syncs FindQt4.cmake again with KDEs version.
      Now for every Qt library an imported target with the name
      Qt4ImportedTarget__<LIBNAME> is created.
      This way we can now finally handle the release and debug versions of the Qt
      libraries correctly.
      Also, if a Qt-using project A installs a file with exported targets, these
      targets now depend on the imported Qt targets, e.g.
      Qt4ImportedTarget__QtCore. The location of QtCore is then resolved at
      buildtime of project B, which uses the exported targets from project A.
       Before this patch the full path to the QtCore on the original build machine
      of project A was stored, so this had to match the directory layout on the
      build machine for project B.
      
      Alex
      6d393130
  7. 16 Jan, 2010 1 commit
  8. 15 Jan, 2010 1 commit
  9. 14 Jan, 2010 1 commit
  10. 13 Jan, 2010 14 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 7249e7d5
      Kitware Robot authored
      7249e7d5
    • Clinton Stimpson's avatar
      55a3967e
    • Brad King's avatar
      Do not find cyg*.dll on Cygwin · e46e8fb9
      Brad King authored
      While Cygwin supports linking directly to .dll files, the behavior is
      now discouraged.  All Cygwin packages now provide import libraries of
      the form lib*.dll.a and CMake has built the import libraries for years.
      
      We believe it is now safe to stop explicitly searching for .dll files
      because their import libraries will always be available when the
      corresponding header files are available.  Users can always set
      find_library cache entries to point at a .dll file by hand if they
      really must use one.
      
      Change based on patch from issue #10122.
      e46e8fb9
    • Brad King's avatar
      Fix KDE3 .la file format on Cygwin · 3cba2b3a
      Brad King authored
      We teach KDE3Macros.cmake to generate .la files on Cygwin that match
      those produced by libtool.  See issue #10122.
      3cba2b3a
    • Brad King's avatar
      Remove unused #include <windows.h> · 8779559d
      Brad King authored
      8779559d
    • Brad King's avatar
      Search prefix /usr before root prefix / · 12dcf9e4
      Brad King authored
      Commit "Find locally installed software first" made /usr/local the first
      prefix searched to be consistent with the Filesystem Hierarchy Standard:
      
        http://www.pathname.com/fhs/
      
      The standard also implies that the root prefix "/" should not have any
      package or development files.  The "/bin" and "/lib" directories should
      have only minimal contents to boot the system.  No "/include" ever
      exists.  This commit re-orders the search path prefix list from
      
        /usr/local
        /
        /usr
      
      to
      
        /usr/local
        /usr
        /
      
      to prefer package and development files over low-level system files.
      See issue #10136.
      
      On Cygwin /usr/lib == /lib and /usr/bin == /bin.  This change also makes
      search results report locations as "/usr/..." instead of "/lib/...".
      See issue #10122.
      12dcf9e4
    • Brad King's avatar
      Name Cygwin DLLs with SOVERSION, not VERSION · b05ed467
      Brad King authored
      Cygwin versions .dll files by putting the version number in the file
      name.  Our fix to issue #3571 taught CMake to do this, but it used the
      VERSION target property.  It is better to use the SOVERSION property
      since that is the interface (rather than implementation) version.
      
      Change based on patch from issue #10122.
      b05ed467
    • Brad King's avatar
      KWSys: Fix SharedForward on Cygwin without -mwin32 · 879b47e6
      Brad King authored
      When building on Cygwin without -mwin32, the _WIN32 macro may not be
      defined.  SharedForward must still set the PATH environment variable to
      ensure runtime dependencies are found.
      
      The 'ldd' wrapping feature uses 'cygcheck' for now since a real ldd tool
      is not available in Cygwin 1.5.  We can change to use the real ldd when
      we choose to stop supporting legacy Cygwin and require 1.7.
      879b47e6
    • Brad King's avatar
      Enable extra CodeBlocks generator on Cygwin · 5b537205
      Brad King authored
      This generator builds correctly on Cygwin so it should be enabled.
      Change based on patch from issue #10122.
      5b537205
    • Brad King's avatar
      Use if(CYGWIN) instead of if(WIN32 AND UNIX) · fdbe16c1
      Brad King authored
      CMake has defined CYGWIN on Cygwin for years, so we no longer need the
      legacy form of the test.  Change based on patch from issue #10122.
      fdbe16c1
    • Brad King's avatar
      PathScale C/C++/Fortran Compiler Information · da36cde0
      Brad King authored
      We add compiler information files
      
        Compiler/PathScale-<lang>.cmake
      
      to specify PathScale compiler information for C, C++, and Fortran
      languages.  We use a macro in Compiler/PathScale.cmake to consolidate
      the information common to all languages.
      da36cde0
    • Brad King's avatar
      1e9f58e6
    • Brad King's avatar
      Restore -rdynamic in Linux build rules · 9ef3f8e8
      Brad King authored
      The commit "Drop -rdynamic from Linux build rules" removed default use
      of the flag on Linux.  It was expected to be compatible because any
      project using plugins should set ENABLE_EXPORTS on its executables to
      export their symbols for use by the plugins in a cross-platform way.
      However, it is possible to build without ENABLE_EXPORTS and load plugins
      that do not link to any symbols from the executable explicitly.  These
      plugins may need to see RTTI and other executable symbols needed by the
      language implementation.  Executables using such plugins were broken by
      the change.
      
      If we want to remove the -rdynamic flag in the future we should do so in
      a compatible way.  At that time we should also remove equivalent flags
      on other platforms (like -bexpall on AIX).  We will either need a policy
      or an explicit API to disable symbol exports on executables.
      
      The primary purpose of the above-mentioned commit was to avoid passing
      the -rdynamic flag to compilers on Linux that do not support it.  In
      this commit we restore the flag but only on GNU and Intel compilers
      which are known to support it.
      
      See issue #9985.
      9ef3f8e8
    • Brad King's avatar
      Create Linux GNU compiler flag consolidation macro · 7b106a6f
      Brad King authored
      This macro will be used for GNU compiler flags that are specific to
      Linux but not to any language.
      7b106a6f
  11. 12 Jan, 2010 3 commits
    • Kitware Robot's avatar
      KWSys Nightly Date Stamp · 113013fe
      Kitware Robot authored
      113013fe
    • Brad King's avatar
      Trust umask for file permissions · 8d0161c8
      Brad King authored
      Open output files with mode 0666 so that permissions are not more strict
      than umask permits.  See issue #10126.
      8d0161c8
    • Brad King's avatar
      Detect Fortran ABI Information · 6c1e2427
      Brad King authored
      Implement Fortran 32/64-bit ABI detection on some platforms.  We need to
      set CMAKE_SIZEOF_VOID_P correctly in Fortran-only projects so that the
      find_library() command knows whether to look for 64-bit binaries.  We
      also detect ELF binaries to enable RPATH replacement.  See issue #10119.
      6c1e2427
  12. 11 Jan, 2010 1 commit
  13. 10 Jan, 2010 1 commit
  14. 09 Jan, 2010 1 commit
  15. 08 Jan, 2010 4 commits