1. 11 Apr, 2019 1 commit
  2. 21 Mar, 2019 1 commit
  3. 16 Jan, 2019 7 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: 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: 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
  4. 16 May, 2016 1 commit
    • Kitware Robot's avatar
      Revise C++ coding style using clang-format · d9fd2f54
      Kitware Robot authored
      Run the `Utilities/Scripts/clang-format.bash` script to update
      all our C++ code to a new style defined by `.clang-format`.
      Use `clang-format` version 3.8.
      
      * If you reached this commit for a line in `git blame`, re-run the blame
        operation starting at the parent of this commit to see older history
        for the content.
      
      * See the parent commit for instructions to rebase a change across this
        style transition commit.
      d9fd2f54
  5. 20 Apr, 2015 1 commit