1. 08 Dec, 2011 1 commit
  2. 05 Dec, 2011 1 commit
    • Brad King's avatar
      Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .lib · afb00fef
      Brad King authored
      Teach the Windows-GNU.cmake platform file to look for Visual Studio
      tools matching the target ABI.  Add an extra step to the link command
      for shared libraries and executables that export symbols and on which a
      new GNUtoMS property is set (initialized by the CMAKE_GNUtoMS option).
      Tell the GNU linker to output a module definition (.def) file listing
      exported symbols in addition to the GNU-format import library (.dll.a).
      Pass the .def file to the MS "lib" tool to construct a MS-format DLL
      import library (.lib).
      
      Teach the install(TARGETS) command to install the MS import library next
      to the GNU one.  Teach the install(EXPORT) and export() command to set
      the IMPORTED_IMPLIB property pointing at the import library to use the
      import library matching the tools in the importing project.
      afb00fef
  3. 17 Mar, 2011 1 commit
    • Brad King's avatar
      Pass include directories with response files to GNU on Windows · 86cb17b1
      Brad King authored
      The GNU 4.x toolchain on MinGW (and therefore MSYS) allows compiler
      options to be passed via response files.  Use this to pass include
      directory -I options.  This allows the include file search path to be
      very long despite shell and mingw32-make command line length limits.
      86cb17b1
  4. 23 Feb, 2011 1 commit
    • Brad King's avatar
      Pass .def files directly to MinGW tools (#9997) · 76162164
      Brad King authored
      Commit 6a61a8a5 (Honor module .def files with MinGW tools, 2011-02-21)
      set CMAKE_LINK_DEF_FILE_FLAG to "-Wl," to enable passing .def files to
      the linker on MinGW.  However, older GNU tools in the MSYS shell do not
      know how to translate "-Wl,/c/..." to "c:/..." and complain that the
      file does not exist.  Instead set the flag to just "" which tells CMake
      it can pass the file through the front-end with no special flag.
      76162164
  5. 21 Feb, 2011 1 commit
    • Brad King's avatar
      Honor module .def files with MinGW tools (#9997) · 6a61a8a5
      Brad King authored
      Since commit 024d05ad (Fix use of module .def files for MS tools,
      2009-09-29) module .def files work for any platform that sets
      CMAKE_LINK_DEF_FILE_FLAG correctly.  Set it in the Windows-GNU platform
      information file to enable support with MinGW tools.  Also enable the
      test added by commit 0db2c850 (Test use of module .def files for MS
      tools, 2009-09-29) for MinGW and MSYS generators.
      6a61a8a5
  6. 23 Dec, 2010 1 commit
  7. 17 Sep, 2010 1 commit
    • Brad King's avatar
      MinGW: Support long object file lists · 5f05a3c2
      Brad King authored
      Use a combination of response files and the archiver to support long
      object file lists that do not fit in the Windows command-line length
      limit.  This can work only with GCC >= 4 because the MinGW GCC 3.x
      front-ends do not support response-file syntax.
      5f05a3c2
  8. 09 Aug, 2010 1 commit
  9. 06 Aug, 2010 1 commit
  10. 11 Mar, 2010 1 commit
  11. 05 Mar, 2010 1 commit
    • Brad King's avatar
      CMake 2.8.1-rc4 · 6dde1543
      Brad King authored
      This commit cherry-picks and squashes the following commits:
      
        46858720 "FortranCInterface: Fix PathScale detection..." (2010-02-16)
        b39fe940 "Fix problem with ExternalProject test..." (2010-02-17)
        70290e1f "Add support for QtDeclartive module" (2010-02-17)
        282ba895 "Clarify CMAKE_MODULE_PATH documentation" (2010-02-18)
        4eba05de "Suppress GNU flag -fPIC on Windows" (2010-02-19)
        57efb4a4 "BUG: We shouldn't be setting the HideWindow..." (2010-02-19)
      6dde1543
  12. 19 Feb, 2010 1 commit
    • Brad King's avatar
      Suppress GNU flag -fPIC on Windows · 4eba05de
      Brad King authored
      Commit "Modernize GNU compiler info on Windows" (2009-12-02) reorganized
      GNU flags on Windows but let -fPIC slip through for compilation of
      objects in shared libraries.  While this flag is valid on most GNU
      compiler platforms we need to suppress it in Windows-GNU.cmake just as
      we already do in CYGWIN-GNU.cmake.
      4eba05de
  13. 28 Jan, 2010 1 commit
  14. 02 Dec, 2009 1 commit
    • 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
      
        Platform/Windows-GNU-<lang>.cmake
      
      using language-independent helper module
      
        Platform/Windows-GNU.cmake
      
      to define macros consolidating the information.
      aff31479