1. 24 Feb, 2019 3 commits
  2. 16 Jan, 2019 1 commit
    • Fred Baksik's avatar
      GHS: try_compile() now uses GHS platform variables · 436cc5e9
      Fred Baksik authored
      -- Forward GHS platform variables to try_compile()
         CMAKE_TRY_COMPILE_PLATFORM_VARIABLES only worked for source signature try_compile()
      -- Update tests to no longer add GHS platform variables to try_compile()
      -- Avoid linker error in GhsMulti/GhsMultiCompilerOptions/CMakeLists.txt by building library
  3. 19 Dec, 2018 1 commit
  4. 01 Dec, 2018 1 commit
  5. 19 Nov, 2018 1 commit
  6. 25 Oct, 2018 1 commit
  7. 12 Dec, 2016 1 commit
  8. 06 Dec, 2016 2 commits
    • Brad King's avatar
      try_compile: Add policy CMP0067 to honor language standards · f72ba42b
      Brad King authored
      Projects use `try_compile` to check if they will be able to compile some
      particular source code.  When a language standard variable like
      `CMAKE_CXX_STANDARD` is set, then the project intends to compile source
      code using a compiler mode for that standard.  Therefore it makes sense
      for `try_compile` to use that standard in the test project too.
      Unfortunately this was not done when support for the
      `CMAKE_CXX_STANDARD` variable was first implemented.  Add a policy to
      introduce the improved behavior in a compatible way.
      Closes: #16456
    • Brad King's avatar
      try_compile: Add options to specify language standards · 45aa03b9
      Brad King authored
      Give `try_compile` callers a way to control the `CXX_STANDARD`,
      `CXX_STANDARD_REQUIRED`, and `CXX_EXTENSIONS` properties of the
      generated test target (or the `C` equivalents) in order to compile a
      test source for a particular language standard.
      Issue: #16456
  9. 25 May, 2016 1 commit
    • Brad King's avatar
      try_compile: Optionally forward custom platform variables to test project · d256ba07
      Brad King authored
      Add a `CMAKE_TRY_COMPILE_PLATFORM_VARIABLES` variable to specify a list
      of custom variables to be forwarded to a `try_compile` test project.
      This will be useful for platform information modules or toolchain files
      to forward some platform-specific set of variables from the host project
      (perhaps set in its cache) to the test project so that it can build the
      same way.
  10. 19 Feb, 2016 1 commit
    • Brad King's avatar
      try_compile: Add option to control type of target · 7f1bd9fe
      Brad King authored
      Create a `CMAKE_TRY_COMPILE_TARGET_TYPE` option to specify use
      of `add_library(... STATIC ...)` for the generated test project.
      This will be useful for cross-compiling toolchains that cannot
      link a binary without custom flags or scripts.
  11. 21 Sep, 2015 1 commit
  12. 14 Aug, 2015 2 commits
  13. 04 Feb, 2015 1 commit
  14. 03 Sep, 2014 1 commit
  15. 15 Oct, 2013 1 commit