1. 25 Jan, 2019 1 commit
    • Ben Boeckel's avatar
      Help: prefer commit hashes in commit references · 939dc9a5
      Ben Boeckel authored
      The logic is that the describe output is readily available using `git
      tag --contains` locally. In addition, for a hypothetical commit which
      landed in both v3.9.4 and v3.10.1, there is no "better" tag to refer to.
      since v3.10.0's relation to such a commit is unclear either way.
      
      Also mention that a `Fixes` trailer is preferred if the mention is just
      to indicate a commit which introduced an error rather than writing a
      complete sentence about it.
      939dc9a5
  2. 23 Jan, 2019 1 commit
  3. 22 Jan, 2019 1 commit
  4. 21 Jan, 2019 1 commit
  5. 18 Jan, 2019 1 commit
    • Andrew Paprocki's avatar
      Fortran: Add compiler ID/Version generator expressions · a0809142
      Andrew Paprocki authored and Brad King's avatar Brad King committed
      Adds `Fortran_COMPILER_ID` and `Fortran_COMPILER_VERSION` generator
      expression support to match equivalent `C_COMPILER_ID`,
      `CXX_COMPILER_ID`, `C_COMPILER_VERSION`, and `CXX_COMPILER_VERSION`
      support.
      
      This is very helpful in the case where the C/C++ compiler suite is a
      different type of compiler from the platform Fortran compiler and
      projects use generator expressions to assign compiler flags and
      definitions.  (e.g. `GNU` C/C++ and `SunPro` Fortran on Linux)
      a0809142
  6. 17 Jan, 2019 3 commits
  7. 16 Jan, 2019 10 commits
    • 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
    • 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
      436cc5e9
    • Fred Baksik's avatar
      GHS: Fix toolset selection · 4a1ec0de
      Fred Baksik authored
      -- Allow -T to accept full or partial paths
      -- Use "C:/ghs" if GHS_TOOLSET_ROOT is empty string
      -- Put more information in error messages
      4a1ec0de
    • Fred Baksik's avatar
      GHS: Integrity Application updates · 0c9e47d7
      Fred Baksik authored
      -- Check the property "ghs_integrity_app" on executables to set [INTEGRITY Application]
         If the property is not set then check if an integrate file is one of the source files (.int file).
         Dynamic Downloads that do not have an integrate file can use this property along with setting
         the compiler flag "-dynamic".
      
      -- Remove parsing for -dynamic flag; it is only used to print a comment
         The MULTI GUI will show if it is a Monolith or Dynamic Download application
      
      -- Use project references to specify which executables are part of the Integrity Application
         Usually Implicit Dependency Analysis will ensure that executable targets
         become part of the application.  This does not work for Dynamic Download without integrate files.
         Use `add_dependencies(dd vas)` to mark that the vas target is part of dd target.
      
      -- Update file locations in the Integrate files.
      0c9e47d7
    • Fred Baksik's avatar
      GHS: Use the correct compiler flags for CMAKE_BUILD_TYPE · 702121c5
      Fred Baksik authored
      -- Do not use CMAKE_C_FLAGS_RELEASE flags when CMAKE_BUILD_TYPE is empty
         if CMAKE_BUILD_TYPE was not set the generator would use Release settings
         this does not match the documented behavior of CMAKE_BUILD_TYPE
      
      -- CMAKE_C_FLAGS_<CONFIG> not used when -kernel is present
         Fixes issue where CMAKE_C_FLAGS_<CONFIG> is ignored when -kernel option is present as a compiler option
         When the -kernel option is added to an executable it uses a different set of language flags
         This does not occur -kernel=<type> is used or if it is added as part of a link flag
         The variables CMAKE_<LANG>_GHS_KERNEL_FLAGS_<CONFIG> are removed
         NOTE: By default this only added the flag -ldebug which links in the debugger library.
      
      -- Separate compiler options by newlines
      702121c5
    • Fred Baksik's avatar
      GHS: Place build system outputs per target output directives · 2ed2d6b4
      Fred Baksik authored
      -- Set output and object file locations
      -- Suffixes are no longer being forced but will now follow the target properties
         By default GHS tools have no suffix for executable files so
         CMAKE_EXECUTABLE_SUFFIX was changed to meet this behavior
      -- Remove #if 0 blocked out code; it has been replaced.
         Forcing the -relprog option has been removed from non-kernel executable targets.
         The default value of this option (if it is even available) is determined by the
         tool-chain for the specified target and platform (Some tool-chains default to
         -locatedprogram).  The use of -relprog can have unexpected results as it cannot
         always produce a fully relocated executable.
      -- Clarify use of CMAKE_BUILD_TYPE to control build configuration
      2ed2d6b4
    • wahikihiki's avatar
      CTest: Add documentation and release notes for SubmitURL · 2915a756
      wahikihiki authored and Brad King's avatar Brad King committed
      2915a756
    • Nils Gladitz's avatar
      VS: Add support for VS_DEBUGGER_* properties on custom targets · 22b43b00
      Nils Gladitz authored and Brad King's avatar Brad King committed
      Visual studio itself supports the corresponding `LocalDebugger*`
      properties on utility targets; support generating them from CMake as
      well.
      22b43b00
    • Tushar Maheshwari's avatar
      Help: Add documentation for file(CREATE_LINK) subcommand · 8bb7562f
      Tushar Maheshwari authored and Brad King's avatar Brad King committed
      8bb7562f
    • David Aguilar's avatar
      find_package: optionally resolve symlinks when discovering packages · a5e948a3
      David Aguilar authored and Brad King's avatar Brad King committed
      Teach find_package() to resolve symlinks when constructing
      relocatable prefix paths from discovered cmake config files.
      The `CMAKE_FIND_PACKAGE_RESOLVE_SYMLINKS` variable enables
      this behavior when set to `TRUE`.
      
      Fixes: #18704
      a5e948a3
  8. 15 Jan, 2019 1 commit
  9. 14 Jan, 2019 3 commits
  10. 11 Jan, 2019 2 commits
    • Brad King's avatar
      Add deprecation warnings for policies CMP0065 and below · 6845e255
      Brad King authored
      The OLD behaviors of all policies are deprecated, but only by
      documentation.  Add an explicit deprecation diagnostic for some policies
      to encourage projects to port away from setting policies to OLD.
      6845e255
    • Brad King's avatar
      VS: Add Visual Studio 16 2019 generator · 57e48f16
      Brad King authored
      
      
      Add this generator *without* support for specifying the target
      architecture in the generator name.  cmake-gui will be taught
      to provide a field for this, and command-line builds can use -A.
      
      Also, teach this generator to select a default target architecture
      based on the host architecture.
      
      Fixes: #18689
      Inspired-by: Egor Pugin's avatarEgor Pugin <egor.pugin@gmail.com>
      57e48f16
  11. 10 Jan, 2019 9 commits
  12. 02 Jan, 2019 2 commits
  13. 22 Dec, 2018 1 commit
  14. 20 Dec, 2018 1 commit
    • Joachim Wuttke's avatar
      Help: Revise compile options command docs, and provide example · 2439d546
      Joachim Wuttke authored and Joachim Wuttke's avatar Joachim Wuttke committed
      For add_compile_options and target_compile_options:
      - Insert sections.
      - Provide cross-links between the two doc pages
      - Alleviate and explain links to the commands
        ...compile_definitions and ...include_directories.
      - Alleviate link to COMPILE_OPTIONS, and integrate it into
        the synopsis.
      2439d546
  15. 19 Dec, 2018 2 commits
  16. 13 Dec, 2018 1 commit