1. 22 Feb, 2012 3 commits
  2. 29 Nov, 2011 1 commit
  3. 02 Oct, 2011 3 commits
  4. 31 Aug, 2011 1 commit
    • Brad King's avatar
      Fortran: Add support for free- and fixed-form flags · 5c0c635a
      Brad King authored
      Define a "Fortran_FORMAT" target and source file property.  Initialize
      the target property from a "CMAKE_Fortran_FORMAT" variable.  Interpret
      values "FIXED" and "FREE" to indicate the source file format.  Append
      corresponding flags to the compiler command line.
      5c0c635a
  5. 30 Mar, 2011 1 commit
    • Brad King's avatar
      Normalize slashes of add_custom_(command|target) DEPENDS (#11973) · 12860505
      Brad King authored
      All commands accepting file paths should normalize the slashes so that
      the string-represented names can be compared reliably.  The commands
      add_library and add_executable have done this for years.  We taught
      add_custom_command to normalize its OUTPUT names in commit a75a0a14
      (Normalize add_custom_command OUTPUT names, 2010-12-15).  We handled a
      special case of the DEPENDS option in commit 7befc007 (Handle trailing
      slashes on add_custom_command DEPENDS, 2011-01-26).
      
      Teach both add_custom_command and add_custom_target to normalize slashes
      of DEPENDS files up front.  This approach subsumes the above-mentioned
      special case so remove the one line added for it but keep its test.
      Extend the CustomCommand test to check that slash count mismatches
      between custom command OUTPUT and DEPENDS can still be linked correctly.
      12860505
  6. 17 Mar, 2011 1 commit
  7. 15 Mar, 2011 1 commit
  8. 26 Jan, 2011 1 commit
  9. 08 Dec, 2010 3 commits
  10. 08 Sep, 2010 1 commit
  11. 18 Aug, 2010 1 commit
  12. 13 Jul, 2010 1 commit
  13. 01 May, 2010 1 commit
  14. 11 Mar, 2010 1 commit
    • Brad King's avatar
      Use forward slashes for objects in response files · 87f08539
      Brad King authored
      Response files are parsed by tools, not by shells.  We teach
      cmLocalGenerator::Convert() a new "RESPONSE" output format and use it
      for objects listed in response files.  It does not do special slash or
      MSYS root translation like the "SHELL" format does.  This is necessary
      for GNU tools on Windows to understand response file content.
      
      See issue #10401.
      87f08539
  15. 11 Feb, 2010 1 commit
  16. 01 Feb, 2010 1 commit
  17. 29 Jan, 2010 1 commit
    • David Cole's avatar
      Fix issue #10155 - default value of CMAKE_OSX_DEPLOYMENT_TARGET should always... · 6ee87b2e
      David Cole authored
      Fix issue #10155 - default value of CMAKE_OSX_DEPLOYMENT_TARGET should always be the empty string. When the value of CMAKE_OSX_DEPLOYMENT_TARGET is the empty string, the -mmacosx-version-min flag should not show up on the compiler command line. The logic for selecting default value of CMAKE_OSX_SYSROOT is orthogonal to and independent of the value of the deployment target. The default value for CMAKE_OSX_SYSROOT is the SDK that corresponds to the current version of Mac OSX on which cmake is running.
      6ee87b2e
  18. 28 Jan, 2010 1 commit
  19. 30 Nov, 2009 1 commit
    • Brad King's avatar
      Singly-quote target names for Watcom linker · 4f43c1f2
      Brad King authored
      The Watcom tools do their own command-line parsing and do not accept
      double-quotes.  Instead we single-quote the target output name when
      invoking wlink and other Watcom tools.  This fixes support for spaces in
      the target output directory path when it is not under the build tree.
      4f43c1f2
  20. 21 Oct, 2009 1 commit
    • Brad King's avatar
      Define per-target OSX_ARCHITECTURES property · 2dc39b8c
      Brad King authored
      The CMAKE_OSX_ARCHITECTURES variable works only as a global setting.
      This commit defines target properties
      
        OSX_ARCHITECTURES
        OSX_ARCHITECTURES_<CONFIG>
      
      to specify OS X architectures on a per-target and per-configuration
      basis.  See issue #8725.
      2dc39b8c
  21. 09 Oct, 2009 1 commit
  22. 08 Oct, 2009 1 commit
    • Brad King's avatar
      Split Borland compiler information files · 0653286d
      Brad King authored
      This commit re-writes Borland compiler build rules.  We split the rules
      into modern <os>-<id>-<lang> information modules but share a common
      macro between languages to avoid duplication.
      
      We also address a bug in the previous rules that would build some target
      types against the static Borland runtime and others against the shared
      Borland runtime in one build tree.  Now we always use the shared runtime
      as is the default in the rules for MS tools.
      0653286d
  23. 02 Oct, 2009 1 commit
    • Brad King's avatar
      Introduce "build feature" lookup framework · 1e482435
      Brad King authored
      This creates cmTarget::GetFeature and cmMakefile::GetFeature methods to
      query "build feature" properties.  These methods handle local-to-global
      scope and per-configuration property lookup.  Specific build features
      will be defined later.
      1e482435
  24. 01 Oct, 2009 1 commit
  25. 30 Sep, 2009 1 commit
    • Brad King's avatar
      Fix default install prefix on Haiku · f40406ed
      Brad King authored
      Since Haiku does not have /usr (and therefore /usr/local), this commit
      changes the default install prefix to the equivalent directory of
      /boot/common.
      
      See issue #9607.
      f40406ed
  26. 28 Sep, 2009 1 commit
    • Brad King's avatar
      Convert CMake to OSI-approved BSD License · 96afb120
      Brad King authored
      This converts the CMake license to a pure 3-clause OSI-approved BSD
      License.  We drop the previous license clause requiring modified
      versions to be plainly marked.  We also update the CMake copyright to
      cover the full development time range.
      96afb120
  27. 25 Sep, 2009 1 commit
  28. 22 Sep, 2009 1 commit
    • Brad King's avatar
      Optionally force conversion to relative path · 3fe5f8d9
      Brad King authored
      In cmLocalGenerator::ConvertToRelativePath we normally convert to
      relative path only if the local and remote paths both lie inside the
      source tree or both lie inside the build tree.  This commit adds an
      optional 'force' argument to allow conversion even when this rule is
      violated.
      3fe5f8d9
  29. 19 Sep, 2009 1 commit
    • Brad King's avatar
      Fix check for -isysroot on OS X · 180c60a8
      Brad King authored
      Previously we checked for this flag by parsing the version number of GCC
      out of 'gcc --version', but this is not reliable because the format can
      vary greatly.  Now we run 'gcc -v --help' and look for '-isysroot' in
      the list of options.
      
      We also now store the result on a per-language basis in the per-compiler
      info file "CMake<LANG>Compiler.cmake".  This is necessary to make it
      accessible from try-compile projects so that they generate correctly.
      180c60a8
  30. 18 Sep, 2009 2 commits
  31. 17 Sep, 2009 2 commits
  32. 03 Sep, 2009 1 commit
    • Brad King's avatar
      Create CMP0014 to require CMakeLists.txt files · e3086213
      Brad King authored
      Until now CMake accidentally accepted add_subdirectory() and subdirs()
      calls referring to directories that do not contain a CMakeLists.txt
      file.  We introduce CMake Policy CMP0014 to make this case an error.
      e3086213