1. 30 Aug, 2019 1 commit
  2. 07 Feb, 2019 1 commit
  3. 04 Feb, 2019 1 commit
  4. 16 Jan, 2019 1 commit
    • Fred Baksik's avatar
      GHS: Add Compiler ID detection · 72e0c115
      Fred Baksik authored
      -- Detect GHS compiler and version
         Detect ARCHITECTURE_ID for PPC / ARM / 86 targets
         Detect PLATFORM_ID for Integrity and Integrity178 platforms
         Using defines specified in the documents for the compilers: 201416 PPC / 201754 ARM / 201714 86
      -- Fallback C/CXX compiler ID to GHS if not otherwise detected and using GHS MULTI generator
         Works around issue with some GHS compilers not setting __ghs__ compiler define
      -- Tweak Compiler ID checking so major id of 002017 is not replaced with 217
      -- Prefer try_compile() library targets when testing for working GHS compilers
      -- Avoid CMake errors if reading past end of file for checking if file is PE executable
      72e0c115
  5. 24 Aug, 2018 1 commit
  6. 18 Jun, 2018 1 commit
  7. 29 May, 2018 1 commit
  8. 19 Sep, 2017 1 commit
  9. 22 Apr, 2017 1 commit
  10. 31 Mar, 2017 1 commit
    • Brad King's avatar
      Xcode: Detect CURRENT_ARCH for use by generator · a1221905
      Brad King authored
      During compiler identification, extract the Xcode `CURRENT_ARCH` value
      and save it for later use by the Xcode generator in an internal compiler
      information variable.  This will be useful to know the locations of
      object files when only one architecture is built.
      a1221905
  11. 10 Mar, 2017 2 commits
  12. 31 Jan, 2017 1 commit
  13. 15 Dec, 2016 1 commit
  14. 14 Oct, 2016 1 commit
    • Brad King's avatar
      VS: Provide an option to use x64 host tools · d079e71c
      Brad King authored
      Visual Studio provides toolchains that are themselves built for 32-bit
      or 64-bit host architectures.  By default it uses the 32-bit tools, but
      it can be told to prefer the 64-bit tools on 64-bit hosts.  Extend the
      `CMAKE_GENERATOR_TOOLSET` specification to provide a way to request
      use of the 64-bit host tools.
      
      Closes: #15622
      d079e71c
  15. 23 Sep, 2016 1 commit
  16. 09 Mar, 2016 1 commit
    • Brad King's avatar
      Drop Visual Studio 6 generator · b42866a3
      Brad King authored
      This generator has been deprecated since CMake 3.3.  Remove it.
      Update documentation, modules, and tests to drop content specific
      to this generator.
      b42866a3
  17. 02 Oct, 2015 1 commit
    • Gilles Khouzam's avatar
      VS: Add support for selecting the Windows 10 SDK (#15670) · 3f077996
      Gilles Khouzam authored
      Teach the VS 2015 generator to produce a WindowsTargetPlatformVersion
      value.  Use the CMAKE_SYSTEM_VERSION to specify the version and if not
      set choose a default based on available SDKs.  Activate this behavior
      when targeting Windows 10.
      
      Co-Author: Brad King <brad.king@kitware.com>
      3f077996
  18. 03 Sep, 2015 1 commit
  19. 06 Jul, 2015 1 commit
    • Brad King's avatar
      Add rudimentary support for the Apple Swift language with Xcode · bf112531
      Brad King authored
      Allow the `Swift` language to be enabled with the Xcode generator for
      Xcode >= 6.1.  Reject it on other generators and with older Xcode
      versions.  Since Apple is the only vendor implementing the language
      right now, the compiler id can be just `Apple`.
      bf112531
  20. 27 Mar, 2015 1 commit
  21. 11 Jan, 2015 1 commit
    • Brad King's avatar
      Xcode: Do not require code signing for compiler id (#15214) · 7b7209f6
      Brad King authored
      The approach in commit v3.1.0-rc1~1^2 (Xcode: Fix compiler id detection
      when code signing is required, 2014-10-22) still requires a code signing
      key when targeting a real device.  Instead set CODE_SIGNING_REQUIRED to
      "NO" to tell Xcode not to sign at all.  Drop the corresponding setting
      of the code signing identity.
      7b7209f6
  22. 22 Oct, 2014 2 commits
    • Brad King's avatar
      Xcode: Fix compiler id detection when code signing is required · b91020f6
      Brad King authored
      The iOS product type 'com.apple.package-type.bundle.unit-test' requires
      code signing on Xcode 6.  Other iOS target types do too.  Until CMake
      learns to add the CODE_SIGN_IDENTITY build attribute itself, toolchain
      files can set CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY to tell the Xcode
      generator to add the attribute.  Teach CMakeDetermineCompilerId to
      recognize this variable and add the CODE_SIGN_IDENTITY build attribute
      to the compiler id project.
      b91020f6
    • Brad King's avatar
      Xcode: Fix compiler id detection for iOS tools (#15214) · c48f6e12
      Brad King authored
      Since commit 0cce556b (Xcode: Use sysroot and deployment target to
      identify compiler, 2014-04-29) our compiler id detection project uses
      the target platform SDK in case Xcode selects a different compiler based
      on it.  Now the compiler id project actually compiles with the target
      compiler and SDK when cross-compiling.
      
      The iOS tools do not support the 'com.apple.product-type.tool' product
      type we use in our compiler id detection project.  When targeting
      iPhone, use product type 'com.apple.product-type.bundle.unit-test'
      instead.
      c48f6e12
  23. 29 Sep, 2014 1 commit
    • Brad King's avatar
      VS: Detect compiler id of Nsight Tegra-Android toolchains · d09b60f5
      Brad King authored
      Teach CMakeDetermineCompilerId to recognize the Tegra-Android platform
      and generate a test project for Nsight Tegra tools.  Locate the full
      path to CMAKE_<LANG>_COMPILER by computing it within the test project
      build environment.
      
      Also teach CMakeFindBinUtils that this variant of the Visual Studio
      generator uses UNIX-like instead of MS-like archiving and linking tools.
      d09b60f5
  24. 12 Aug, 2014 1 commit
  25. 31 Jul, 2014 1 commit
  26. 29 Apr, 2014 1 commit
    • Brad King's avatar
      Xcode: Use sysroot and deployment target to identify compiler · 0cce556b
      Brad King authored
      Use CMAKE_OSX_SYSROOT and CMAKE_OSX_DEPLOYMENT_TARGET to set the Xcode
      SDKROOT and MACOSX_DEPLOYMENT_TARGET build settings.  This is necessary
      because some versions of Xcode select a different compiler based on
      these settings.  We need to make sure the compiler identified during
      language initialization matches what will be used for the actual build.
      0cce556b
  27. 18 Oct, 2013 1 commit
  28. 05 Aug, 2013 3 commits
  29. 16 Apr, 2013 1 commit
  30. 07 Feb, 2013 1 commit
  31. 30 Nov, 2012 3 commits
  32. 27 Nov, 2012 1 commit
  33. 20 Nov, 2012 1 commit
  34. 22 Aug, 2012 1 commit
    • Brad King's avatar
      VS: Detect the compiler id and tool location · 66cb3356
      Brad King authored
      Configure a hand-generated Visual Studio project to build the compiler id
      source file since we cannot run the compiler command-line tool directly.
      Add a post-build command to print out the full path to the compiler tool.
      Parse the full path to the compiler tool from the build output.
      66cb3356