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

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • None
    • General
    • None

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes