diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-18 14:26:18 +0530 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-12-18 14:26:18 +0530 |
| commit | eaafca6f4af11290331cbc4788688407c0fb654f (patch) | |
| tree | 632f88f4e883db31167cd67d9307dff6ecf501f2 /test cases | |
| parent | ade1f695a6105f2e39299e707b5f2e1120e37f0d (diff) | |
| download | meson-eaafca6f4af11290331cbc4788688407c0fb654f.tar.gz | |
Qt: Allow passing a name arg to preprocess()
This sets a unique name for the CustomTarget and the output cpp file.
Closes #959
Diffstat (limited to 'test cases')
| -rw-r--r-- | test cases/frameworks/4 qt/meson.build | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build index 013f14df1..4523babf8 100644 --- a/test cases/frameworks/4 qt/meson.build +++ b/test cases/frameworks/4 qt/meson.build @@ -30,6 +30,9 @@ foreach qt : ['qt4', 'qt5'] qresources : ['stuff.qrc', 'stuff2.qrc'], # Resource file for rcc compiler. ) + # Test that setting a unique name with a positional argument works + qtmodule.preprocess(qt + 'teststuff', qresources : ['stuff.qrc']) + qexe = executable(qt + 'app', sources : ['main.cpp', 'mainWindow.cpp', # Sources that don't need preprocessing. prep], |
