diff options
author | Paul Wicking <paul.wicking@qt.io> | 2019-07-23 10:32:30 +0200 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-07-25 17:00:24 +0000 |
commit | c825330078a994f4ecd76569b80f47538f674610 (patch) | |
tree | 76af0319e9a17c36f344689d3056ab8ffd730774 /src/qdoc/clangcodeparser.cpp | |
parent | 5ef4fc5759bf242c8c9a501dd2253f8feabe985d (diff) | |
download | qttools-c825330078a994f4ecd76569b80f47538f674610.tar.gz |
QDoc: Accept command-line arguments from @-files
This enables QDoc to read files given as command-line arguments
that are prepended with '@'. Such a file can include any and all
valid command-line arguments. Specifically, this lets the build
system pass include paths as a file, which may be a requirement
in certain Windows environments due to a platform limitation.
argumentsFromCommandLineAndFile() was shamelessly stolen from moc.
As adding unit tests here basically calls for refactoring the
qdocCommandLineParser class, it was decided to test this in
production. As it works for moc, the assumption is that it will
work also for QDoc.
Task-number: QTBUG-68259
Change-Id: I71698f6514b1343f0a99e7deef82857c1739742e
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/qdoc/clangcodeparser.cpp')
0 files changed, 0 insertions, 0 deletions