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

Add the ability to show preprocessed and ASM output for a given C/C++ file

    XMLWordPrintable

Details

    Description

      It would be nice to have an integrated ability to have QBS produce a preprocessed source file or ASM file, that is accessible from IDEs. For example, Xcode has such a feature: Product > Perform Action > Preprocess

      {filename} and Product > Perform Action > Assemble {filename}

      This should be doable by adding an option to the compiler command line that would otherwise be run, for the given source file.

      GCC also has -save-temps which'll compile to an object file, preprocessed output, and ASM in a single pass. MSVC requires separate invocations, I think.

      Given that we now have (or almost have?) a build single file option, I think these options would also be valuable for debugging.

      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:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes