1. 21 Jan, 2019 1 commit
  2. 15 Jan, 2019 1 commit
  3. 27 Aug, 2018 1 commit
  4. 15 Aug, 2018 1 commit
  5. 27 Jun, 2018 1 commit
  6. 06 Jun, 2018 2 commits
  7. 16 May, 2018 1 commit
    • Viktor Mukha's avatar
      Makefile: Fix command line limits for static libs · b6c49713
      Viktor Mukha authored
      I have been hitting the Windows command-line limit when cross-compiling
      static library (POCO) and having more than 8000 characters in the call
      to "ar". Calculating exact limits here are tricky, since this particular
      limit will only take into account object file strings, which is correct
      for response files, but not for the archive rules (link.txt files),
      since they also contain the call to "ar" and its arguments.
      Also, there can be other additional arguments if "ar" tool is wrapped
      into something else, so it is a good idea to leave more space than
      trying to exactly fit the limit.
      Since response files use half of the limit as a heuristic, we reproduce
      it here for consistency.
      b6c49713
  8. 05 Apr, 2018 1 commit
  9. 31 Jan, 2018 1 commit
    • Pavel Solodovnikov's avatar
      Reduce raw string pointers usage. · 653b8946
      Pavel Solodovnikov authored
      * Change some functions to take `std::string` instead of
        `const char*` in the following classes: `cmMakeFile`, `cmake`,
        `cmCoreTryCompile`, `cmSystemTools`,  `cmState`, `cmLocalGenerator`
        and a few others.
      * Greatly reduce using of `const char*` overloads for
        `cmSystemTools::MakeDirectory` and `cmSystemTools::RelativePath`.
      * Remove many redundant `c_str()` conversions throughout the code.
      653b8946
  10. 26 Jan, 2018 1 commit
  11. 14 Dec, 2017 1 commit
    • Yurii Batrak's avatar
      Makefiles: Drop 'requires' step and its supporting infrastructure · 7ab9a625
      Yurii Batrak authored
      The 'requires' step was used to provide implicit dependencies between
      the generated Fortran module files and a Fortran target that needs these
      module files to ensure the correct compilation order.  After recent
      refactoring to resolve all dependencies explicitly through `.mod.stamp`
      make targets, the separate 'requires' step is not needed anymore.
      7ab9a625
  12. 25 Sep, 2017 1 commit
  13. 13 Sep, 2017 1 commit
    • Bill Hoffman's avatar
      Clean up iwyu code to not be one big if statement. · 3bbe95f5
      Bill Hoffman authored
      This commit changes the internal -E__run_iwyu to be -E__run_co_compile. This
      is used for co-compile commands. These are tools that want to mirror the
      compiler. For each compiler invocation the tool will be invoked first. This
      started as a way to implement include what you use (iwyu), but has expanded
      to include cpplint, cppcheck and others. Likely there will be more in the
      future as well. This commit implements each one in its own function and
      provides a way to add additional ones in the future with less work.
      3bbe95f5
  14. 12 Sep, 2017 1 commit
  15. 24 Aug, 2017 1 commit
  16. 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
      ba247cca
  17. 01 May, 2017 1 commit
    • 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.
      d037be12
  18. 28 Apr, 2017 1 commit
  19. 27 Apr, 2017 1 commit
  20. 26 Apr, 2017 2 commits
  21. 20 Apr, 2017 1 commit
  22. 30 Mar, 2017 2 commits
  23. 09 Mar, 2017 1 commit
    • Brad King's avatar
      Refactor WINDOWS_EXPORT_ALL_SYMBOLS implementation · f36eaf6a
      Brad King authored
      Use `cmGeneratorTarget::ModuleDefinitionInfo` to combine the
      implementation of `WINDOWS_EXPORT_ALL_SYMBOLS` with that of using a
      `.def` file as a source.  Only one of these could be used within a
      single target before anyway.
      f36eaf6a
  24. 17 Feb, 2017 1 commit
  25. 26 Jan, 2017 2 commits
  26. 12 Jan, 2017 2 commits
  27. 14 Nov, 2016 1 commit
  28. 08 Nov, 2016 1 commit
  29. 19 Oct, 2016 3 commits
  30. 15 Oct, 2016 4 commits