Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-962

Add an option to sysrootify header and library paths to prevent host contamination

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P3: Somewhat important
    • some future version
    • None
    • General
    • None

    Description

      We should have a new boolean property "cpp.prependSysroot", which is enabled by default. If cpp.sysroot is set, this would result in all paths sourced from cpp.includePaths, cpp.systemIncludePaths, cpp.frameworkPaths, cpp.systemFrameworkPaths, cpp.libraryPaths, etc., to be prepended with the value of cpp.sysroot when they are passed to the compiler and linker (unless of course these paths are children of the project's sourceDirectory or buildDirectory).

      This will help prevent host contamination when cross compiling.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes