1. 19 Jan, 2018 1 commit
  2. 17 Jan, 2018 2 commits
  3. 16 Jan, 2018 1 commit
  4. 15 Jan, 2018 1 commit
  5. 12 Jan, 2018 2 commits
    • Brad King's avatar
      Genex: Enable COMPILE_LANGUAGE for INCLUDE_DIRECTORIES with VS and Xcode · 506fda1c
      Brad King authored
      The set of compile flags used for a target's C and C++ sources is based
      on the linker language.  By default this is always the C++ flags if any
      C++ sources appear in the target, and otherwise the C flags.  Therefore
      we can define the `COMPILE_LANGUAGE` generator expression in
      `INCLUDE_DIRECTORIES` to match the selected language.
      
      This is not exactly the same as for other generators, but is the best VS
      and Xcode can do.  It is also sufficient for many use cases since the
      set of include directories for C and C++ is frequently similar but may
      be distinct from those for other languages like CUDA.
      
      Fixes: #17435
      506fda1c
    • Brad King's avatar
      Genex: Enable COMPILE_LANGUAGE for COMPILE_DEFINITIONS with VS and Xcode · c2f79c98
      Brad King authored
      The set of compile flags used for a target's C and C++ sources is based
      on the linker language.  By default this is always the C++ flags if any
      C++ sources appear in the target, and otherwise the C flags.  Therefore
      we can define the `COMPILE_LANGUAGE` generator expression in
      `COMPILE_DEFINITIONS` to match the selected language.
      
      This is not exactly the same as for other generators, but is the best VS
      and Xcode can do.  It is also sufficient for many use cases since the
      set of definitions for C and C++ is frequently similar but may be
      distinct from those for other languages like CUDA.
      
      Issue: #17435
      c2f79c98
  6. 10 Jan, 2018 3 commits
  7. 08 Jan, 2018 7 commits
  8. 03 Jan, 2018 1 commit
  9. 02 Jan, 2018 1 commit
  10. 27 Dec, 2017 1 commit
    • Craig Scott's avatar
      execute_process: Allow UTF-8 as a synonym for the UTF8 keyword · 8caec41e
      Craig Scott authored
      UTF-8 is the proper naming according to the UTF-8 RFC and is also the
      name used for a similar keyword in the file() command. This commit
      brings (backward compatible) consistency to the keyword names and allows
      the standard UTF-8 name to be used with execute_process(). The old UTF8
      keyword is still supported.
      8caec41e
  11. 22 Dec, 2017 1 commit
  12. 15 Dec, 2017 2 commits
  13. 06 Dec, 2017 5 commits
    • Craig Scott's avatar
      b8b87489
    • Domen Vrankar's avatar
      CPack/RPM: check executable flags for debuginfo packages · a2031d3a
      Domen Vrankar authored
      Debuginfo packages can not be created from programs and
      shared libraries that do not have execute permissions.
      a2031d3a
    • Brad King's avatar
      server: drop "ctestInfo" backtrace information · 976370d1
      Brad King authored
      Backtrace information was included by commit 35a52bd1 (server: add
      "ctestInfo" request to get test info, 2017-10-25) to match that already
      provided for targets.  However, the backtrace representation uses too
      much memory and needs to be dropped.  Remove it from test information.
      
      Issue: #17502
      976370d1
    • Brad King's avatar
      server: Revert "Report backtraces in codemodel response" · 8b2736c7
      Brad King authored
      The backtrace information is very repetitive and hugely increases the
      size of the codemodel object.  We need to remove it until an alternative
      representation can be developed.  Revert commit v3.10.0-rc1~393^2
      (server: Report backtraces in codemodel response, 2017-06-20), except
      for the protocol version number (because it indicates other new things).
      
      Unfortunately this is incompatible with clients that expect the
      "crossReferences" field in targets.  However, the regression in memory
      usage is quite serious, especially on large projects, and therefore
      breaks even older clients that do not use backtraces.  Since the
      "crossReferences" field was only provided by one release (3.10.0), it is
      simplest to revert it outright for 3.10.1.
      
      Fixes: #17502
      8b2736c7
    • Brad King's avatar
      Help: Document that ASM should be enabled last · 6ecd8b60
      Brad King authored
      ASM should be enabled after C and/or CXX because we consider the
      compilers for those languages as possible assemblers.
      
      Issue: #17532
      6ecd8b60
  14. 05 Dec, 2017 1 commit
  15. 01 Dec, 2017 1 commit
  16. 29 Nov, 2017 2 commits
  17. 27 Nov, 2017 1 commit
    • Melven Roehrig-Zoellner's avatar
      CodeBlocks: add option for the CB compiler ID · e04f1d1b
      Melven Roehrig-Zoellner authored
      CodeBlocks uses his own compiler ID string which may differ from
      CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large
      number of different compiler configurations (with different IDs)
      This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID",
      so the user might adjust it when needed.
      e04f1d1b
  18. 21 Nov, 2017 3 commits
  19. 20 Nov, 2017 2 commits
    • Justin Goshi's avatar
      server: return whether or not a target is generator provided · afd9a339
      Justin Goshi authored
      Some generators auto-generate targets. For example VS generators create
      the ALL_BUILD target. Add the ability to mark targets as generator
      provided and return that info through cmake-server codemodel.
      afd9a339
    • Brad King's avatar
      Genex: Enable COMPILE_LANGUAGE for COMPILE_OPTIONS with Visual Studio · 2ae880fa
      Brad King authored
      Since commit v3.9.0-rc4~3^2~1 (VS: Fix target_compile_options for CUDA,
      2017-06-21), the evaluation of `COMPILE_LANGUAGE` receives the proper
      language.  The set of compile flags used for a target's C and C++
      sources is based on the linker language.  By default this is always the
      C++ flags if any C++ sources appear in the target, and otherwise the C
      flags.  Therefore we can define the `COMPILE_LANGUAGE` generator
      expression in `COMPILE_OPTIONS` to match the selected language.
      
      This is not exactly the same as for other generators, but is the best VS
      can do.  It is also sufficient for many use cases since the set of
      allowed flags for C and C++ is almost the same in Visual Studio.
      Furthermore, since the VS generator moves many of the flags to
      declarative `.vcxproj` elements, it will automatically avoid passing
      C++ flags for C sources.
      
      Issue: #17435
      2ae880fa
  20. 18 Nov, 2017 1 commit
  21. 17 Nov, 2017 1 commit