Details
-
Suggestion
-
Resolution: Unresolved
-
P4: Low
-
1.0.0
-
None
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.