1. 26 Jan, 2018 1 commit
  2. 24 Jan, 2018 1 commit
  3. 23 Jan, 2018 1 commit
  4. 08 Nov, 2017 1 commit
    • Domen Vrankar's avatar
      CMake: enable setting default dir creation permissions · deeba85f
      Domen Vrankar authored
      variable which enables the user to specify the default
      permissions for directory creation. This setting is then
      used to auto set the permissions on directories which
      are implicitly created by install() and file(INSTALL)
      commands such as CMAKE_INSTALL_PREFIX directories.
  5. 03 Nov, 2017 1 commit
  6. 23 Oct, 2017 1 commit
    • Matthias Männich's avatar
      Replace cmArray{Begin,End,Size} by their standard counterparts · 57132765
      Matthias Männich authored
      std::{begin,end} are part of C++11, std::{cbegin,cend} are part of C++14
      and an standard compliant implementation has been introduced within the
      'cm' namespace: cm::{cbegin,cend}.
      std::size is only part of C++17, hence exposing a compliant implementation
      within namespace cm (cm::size).
      where possible, the standard implementations are reused.
  7. 21 Sep, 2017 1 commit
  8. 12 Sep, 2017 1 commit
  9. 30 Aug, 2017 1 commit
  10. 24 Aug, 2017 1 commit
  11. 16 Aug, 2017 1 commit
    • Aaron Orenstein's avatar
      Performance: Add an index to Change cmLocalGenerator::GeneratorTargets. · af3fd6f2
      Aaron Orenstein authored
      Add an index to Change cmLocalGenerator::GeneratorTargets for faster lookup by
      Also changed a bunch of uses of cmLocalGenerator::GetGeneratorTargets() to take
      const references instead of copying the vector.
      Represent generator targets as a map (name -> target) to make name lookups more
      efficient instead of looping through the entire vector to find the desired one.
  12. 14 Jul, 2017 3 commits
  13. 13 Jul, 2017 1 commit
    • Brad King's avatar
      Android: Always add standard include directories last · 4bafa392
      Brad King authored
      The logic added in commit v3.6.0-rc1~30^2 (Add a variable to specify
      language-wide system include directories, 2016-05-24) to use
      `CMAKE_<LANG>_STANDARD_INCLUDE_DIRECTORIES` incorrectly filters them by
      `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES`.  Rather than recognizing
      this, commit v3.8.0-rc1~60^2 (Android: Pass sysroot include directory
      explicitly, 2017-01-20) worked around the problem by incorrectly
      removing `/usr/include` from `CMAKE_<LANG>_IMPLICIT_INCLUDE_DIRECTORIES`
      By not filtering out `/usr/include` from user-specified include
      directories, we allow the code
      to place the include directory too early on the command line.
      Fix support for standard include directories to not be filtered by
      implicit include directories, and do not remove `/usr/include` from the
      list of implicit include directories for Android builds.  Add a test
      case to verify that an explicit `/usr/include` is ignored in favor
      of the standard directory at the end.
      Fixes: #17059
  14. 12 Jul, 2017 1 commit
    • Matthew Woehlke's avatar
      Add TEST_INCLUDE_FILES · ed5bde30
      Matthew Woehlke authored
      Add new directory property TEST_INCLUDE_FILES. This supersedes
      TEST_INCLUDE_FILE, though the latter is of course retained for
      Basically, this is a list rather than a single file. This allows the
      feature to be used by generic utilities without conflicting with local
  15. 10 Jul, 2017 1 commit
  16. 29 Jun, 2017 3 commits
  17. 28 Jun, 2017 1 commit
  18. 14 Jun, 2017 1 commit
    • Brad King's avatar
      IPO: Consider support for each language separately · ba247cca
      Brad King authored
      We only define `INTERPROCEDURAL_OPTIMIZATION` behavior for C, CXX, and
      Fortran languages.  Do not try to enable support for other languages.
      Furthermore, each language builds with a different compiler, so check
      for support by CMake and the compiler for each language independently.
      Fixes: #16944
  19. 03 Jun, 2017 1 commit
  20. 01 Jun, 2017 1 commit
  21. 26 May, 2017 1 commit
  22. 11 May, 2017 1 commit
  23. 09 May, 2017 1 commit
    • Brad King's avatar
      Add options for separate compile and link sysroots · 53e89b6a
      Brad King authored
      Add `CMAKE_SYSROOT_COMPILE` and `CMAKE_SYSROOT_LINK` variables to as
      operation-specific alternatives to `CMAKE_SYSROOT`.  This will be useful
      for Android NDKs that compile and link with different sysroot values
      (e.g. `r14` with unified headers).
      Co-Author: Florent Castelli <florent.castelli@gmail.com>
  24. 01 May, 2017 4 commits
    • Chuck Atkins's avatar
    • Brad King's avatar
      Features: On SunPro link with language standard compiler flag · e17b1791
      Brad King authored
      When C++ feature requirements or `CXX_STANDARD` cause us to compile
      on SunPro with the `-std=c++11` option, link with the option too.
      This is needed to make the compiler use the matching standard library.
    • Brad King's avatar
      cmLocalGenerator: Add a hook for compiler flags used at link time · d037be12
      Brad King authored
      When using a compiler to drive linking we add compiler flags from
      `CMAKE_<LANG>_FLAGS` in case they affect the way the compiler invokes
      the linker, but we don't add flags from other places that are meant only
      for compiling sources.  Rather than calling the `AddLanguageFlags`
      method (which is used to add flags for compiling sources) directly, add
      an intermediate method that is used when adding the flags for linking.
      This will give us a way to add language-specific compiler flags needed
      when driving the linker in the same place on the command line as other
      compiler flags go.
    • Brad King's avatar
      Features: Refactor <LANG>_STANDARD update · b115bc49
      Brad King authored
      In order to support generator expressions in target COMPILE_FEATURES
      we apply them at generate time.  Move this step to the beginning of
      generation instead of doing it on demand while collecting flags.
      This avoids repeating the process unnecessarily, and will then allow
      `cmLocalGenerator::AddCompilerRequirementFlag` to be used any time
      during generation.
  25. 28 Apr, 2017 1 commit
  26. 27 Apr, 2017 1 commit
  27. 20 Apr, 2017 1 commit
  28. 11 Apr, 2017 1 commit
    • Daniel Pfeifer's avatar
      Use quotes for non-system includes · 1d829c86
      Daniel Pfeifer authored
      Automate with:
      git grep -l '#include <cm_' -- Source \
        | xargs sed -i 's/#include <\(cm_.*\)>/#include "\1"/g'
      git grep -l '#include <cmsys/' -- Source \
        | xargs sed -i 's/#include <\(cmsys\/.*\)>/#include "\1"/g'
      git grep -l '#include <cm[A-Z]' -- Source \
        | xargs sed -i 's/#include <\(cm[A-Z].*\)>/#include "\1"/g'
  29. 30 Mar, 2017 1 commit
  30. 06 Mar, 2017 1 commit
  31. 17 Feb, 2017 1 commit
  32. 12 Jan, 2017 1 commit
    • Robert Maynard's avatar
      CUDA: Now pass correct FLAGS when device link cuda executables. · 8d1f9e5b
      Robert Maynard authored
      Previously we had a two issues when building cuda executables
      that required separable compilation. The first was that we didn't
      propagate FLAGS causing any -arch / -gencode flags to be dropped, and
      secondly generators such as ninja would use the CXX language flags
      instead of CUDA when the executable was mixed language.
  33. 02 Dec, 2016 1 commit