diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-06-01 14:54:57 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-06-15 12:35:15 -0700 |
commit | 2322804a4df9811ba75db01230b5df36efd20aee (patch) | |
tree | 8115f092c23fdcf976823db7bdd1fcfc1bc539ce /test cases/frameworks | |
parent | ec592a4ecae1db61b9748ec7d2388f738cdb4737 (diff) | |
download | meson-2322804a4df9811ba75db01230b5df36efd20aee.zip meson-2322804a4df9811ba75db01230b5df36efd20aee.tar.gz meson-2322804a4df9811ba75db01230b5df36efd20aee.tar.bz2 |
modules/qt: Add a compile_moc method
This method only compiles moc resources, nothing else
Diffstat (limited to 'test cases/frameworks')
-rw-r--r-- | test cases/frameworks/4 qt/meson.build | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test cases/frameworks/4 qt/meson.build b/test cases/frameworks/4 qt/meson.build index b6f244a..2e85ddb 100644 --- a/test cases/frameworks/4 qt/meson.build +++ b/test cases/frameworks/4 qt/meson.build @@ -100,10 +100,10 @@ foreach qt : ['qt4', 'qt5', 'qt6'] # The build system needs to include the cpp files from # headers but the user must manually include moc # files from sources. - manpreprocessed = qtmodule.preprocess( - moc_extra_arguments : ['-DMOC_EXTRA_FLAG'], # This is just a random macro to test `moc_extra_arguments` - moc_sources : 'manualinclude.cpp', - moc_headers : 'manualinclude.h', + manpreprocessed = qtmodule.compile_moc( + extra_args : ['-DMOC_EXTRA_FLAG'], # This is just a random macro to test `extra_arguments` + sources : 'manualinclude.cpp', + headers : 'manualinclude.h', method : get_option('method')) qtmaninclude = executable(qt + 'maninclude', |