diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-28 15:39:15 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-10-31 11:08:17 +0100 |
commit | 0d1b18c7ad5bbfe4507f33d5f726b46f39d08677 (patch) | |
tree | 270034545db1c5682dd50719402125ca1035090b /tests/auto/api/testdata/command-extraction | |
parent | 29a977873bc2d8d46926de5f60d1e78da82fde74 (diff) |
Make information about commands available via the API.
Users can supply a file path and a tag, and
they will get the list of commands that are run
to create an output file with the given tag from
the given input file.
This information is needed by Qt Creator.
Change-Id: I36f92c200e78831733fccc4f7b5f54b8218d6311
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tests/auto/api/testdata/command-extraction')
-rw-r--r-- | tests/auto/api/testdata/command-extraction/main.cpp | 1 | ||||
-rw-r--r-- | tests/auto/api/testdata/command-extraction/project.qbs | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/command-extraction/main.cpp b/tests/auto/api/testdata/command-extraction/main.cpp new file mode 100644 index 000000000..237c8ce18 --- /dev/null +++ b/tests/auto/api/testdata/command-extraction/main.cpp @@ -0,0 +1 @@ +int main() {} diff --git a/tests/auto/api/testdata/command-extraction/project.qbs b/tests/auto/api/testdata/command-extraction/project.qbs new file mode 100644 index 000000000..73b66aaa0 --- /dev/null +++ b/tests/auto/api/testdata/command-extraction/project.qbs @@ -0,0 +1,5 @@ +import qbs + +CppApplication { + files: "main.cpp" +} |