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

    • Type: Task
    • Status: Reported
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: some future version
    • Component/s: General
    • Labels:
      None
    • Technical Risk:
      Normal

      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

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes