1. 14 Mar, 2019 1 commit
  2. 26 Feb, 2019 1 commit
    • Brad King's avatar
      FindOctave: Remove module pending further work · 7a1f3fe0
      Brad King authored
      The `FindOctave` module added by commit 170bcb6f (FindOctave: Add
      module to find GNU octave, 2018-11-17, v3.14.0-rc1~283^2) has a few
      problems in its implementation that need to be worked out before the
      module can be included in a CMake release.  These were missed during
      review.  Remove the module for now.  It can be restored later with a
      fresh review.
      
      Issue: #18991
      7a1f3fe0
  3. 13 Feb, 2019 1 commit
  4. 11 Feb, 2019 1 commit
    • Zsolt Parragi's avatar
      Tests: Teach tests when to treat clang-cl as MSVC · 091afa73
      Zsolt Parragi authored
      * Disable the system include unused variable test in ExportImport when
        clang is in MSVC compatible mode.
      
      * Disable CxxDialect testcase when clang is in MSVC compatible mode, as
        it doesn't support `typeof`.
      
      * Teach Module.WriteCompilerDetectionHeader to treat clang-cl as MSVC.
      
      * Disable the SystemIncludeDirectories testcase within
        IncludeDirectories when clang is in MSVC compatible mode.
      
      * Disable the CMakeOnly.CheckCXXCompilerFlag testcase when clang is in
        MSVC compatible mode.
      
      * Treat clang-cl as MSVC in LinkOptions.cmake in the try_run and
        try_compile testcases.
      091afa73
  5. 08 Feb, 2019 1 commit
  6. 06 Feb, 2019 2 commits
  7. 27 Jan, 2019 1 commit
  8. 24 Jan, 2019 1 commit
  9. 21 Jan, 2019 1 commit
  10. 18 Jan, 2019 1 commit
    • Andrew Paprocki's avatar
      Fortran: Add compiler ID/Version generator expressions · a0809142
      Andrew Paprocki authored
      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
  11. 17 Jan, 2019 2 commits
  12. 16 Jan, 2019 6 commits
    • Fred Baksik's avatar
      GHS: Update test suite · 21ab58d3
      Fred Baksik authored
      -- Allow for testing default toolset settings
         If CMake_TEST_GreenHillsMULTI_config is not defined then
         just run the GHS tests using defaults.
      -- Handle paths that contain spaces
      -- Update test suite to use "-non_shared" linker option
         Fixes linking issue if GHS is not shipped with shared libraries
      -- Other minor cleanup
      21ab58d3
    • 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: Append ".gpj" to target name when generating build command · 1a66acde
      Fred Baksik authored
      -- Add test demonstrating issue
      -- In the case of executable targets the target name is usually the same as used in "-o filename"
         But for static libraries the target name is usually "-o libname.a"
         "gbuild.exe target" will build whatever target matches against even the output from the compiler or linker
         But the targets in "cmake --build . --target name" should be target names in CMakeLists.txt not the actual filenames
         So change the "name" to "name.gpj" so it matches the target name in CMakeLists.txt.
      
      Fixes #15975
      1a66acde
    • 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: Cleanup how source files are listed · e7825386
      Fred Baksik authored
      -- Sort the items of the project files, previously they were unsorted
         The layout is similar to Visual Studio projects
      -- Do not make a make a tree of directories and projects files
         The main project file is in the binary folder
         The sub-project files are located in the project object directory
         This is similar to the Makefile generator
      -- Allow the creation of a single project file
         If the variable or target property GHS_NO_SOURCE_GROUP_FILE is set
         then all sources will be listed in the main project file
      e7825386
    • Fred Baksik's avatar
      GHS: Update test suite · 5cef3c61
      Fred Baksik authored
      -- Update test suite so that CMake can use multiple toolsets
             CMake_TEST_GreenHillsMULTI_config
             ghs_config_name
             ghs_target_arch
             ghs_tools
             ghs_toolset_name
             ghs_os_root
             ghs_os_dir
             ghs_target_platform
             ghs_bsp_name
      
      -- Change ARM Integrity test to generic Integrity test
         Add Monolithic build test
      
      -- Add other GHS generator tests
      5cef3c61
  13. 11 Jan, 2019 1 commit
  14. 10 Jan, 2019 2 commits
  15. 12 Dec, 2018 1 commit
  16. 06 Dec, 2018 1 commit
  17. 20 Nov, 2018 1 commit
    • Maximilian Heinzler's avatar
      FindGIF: Add test · 6962a41e
      Maximilian Heinzler authored
      This tests whether GIFLIB can be found and the linker works. For newer
      versions (>=5) it also tests if the version was parsed correctly.
      6962a41e
  18. 15 Nov, 2018 1 commit
  19. 06 Nov, 2018 1 commit
  20. 01 Nov, 2018 2 commits
  21. 24 Oct, 2018 1 commit
  22. 18 Oct, 2018 1 commit
  23. 16 Oct, 2018 1 commit
    • Joe Snyder's avatar
      CTest: Fix GTM coverage handling of entry point named "%" · f7d92def
      Joe Snyder authored
      Removing the "%" character from the name of the routine in the line
      parser causes CTest to be unable to find a routine entry point that is
      only named "%".  Instead leave it during line parsing and handle routine
      names ending in "%" explicitly when loading files.
      f7d92def
  24. 11 Oct, 2018 1 commit
  25. 26 Sep, 2018 2 commits
  26. 25 Sep, 2018 2 commits
  27. 19 Sep, 2018 3 commits