diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-25 11:28:02 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2016-11-29 16:16:33 (GMT) |
commit | 59dbd3f891ed79d56df468235c47be3538be734d (patch) | |
tree | 8b9377eba91b5e03176a1f1abedabed53e5a28c3 /Tests/QtAutogen/rccOnly.cpp | |
parent | 6eb654c06e7efbbf27d3be220078561b3e9da968 (diff) | |
download | CMake-59dbd3f891ed79d56df468235c47be3538be734d.zip CMake-59dbd3f891ed79d56df468235c47be3538be734d.tar.gz CMake-59dbd3f891ed79d56df468235c47be3538be734d.tar.bz2 |
QtAutogen tests: Rename rcconly target to camel case rccOnly.
Also add dedicated rccOnlyRes.qrc file for the rccOnly target.
Diffstat (limited to 'Tests/QtAutogen/rccOnly.cpp')
-rw-r--r-- | Tests/QtAutogen/rccOnly.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/QtAutogen/rccOnly.cpp b/Tests/QtAutogen/rccOnly.cpp new file mode 100644 index 0000000..61c7bf4 --- /dev/null +++ b/Tests/QtAutogen/rccOnly.cpp @@ -0,0 +1,9 @@ + +extern int qInitResources_rccOnlyRes(); + +int main(int, char**) +{ + // Fails to link if the symbol is not present. + qInitResources_rccOnlyRes(); + return 0; +} |