The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
651 B
18 lines
651 B
project('qt5 build test', 'cpp') |
|
|
|
qt5dep = dependency('qt5', modules : 'Widgets') |
|
|
|
q5exe = executable('qt5app', |
|
sources : ['main.cpp', 'mainWindow.cpp'], # Sources that don't need preprocessing. |
|
moc_headers : ['mainWindow.h'], # These need to be fed through the moc tool before use. |
|
ui_files : 'mainWindow.ui', # XML files that need to be compiled with the uic tol. |
|
resources : 'stuff.qrc', # Resource file for rcc compiler. |
|
deps : qt5dep) |
|
|
|
# We need a console test application because some test environments |
|
# do not have an X server. |
|
|
|
q5core = executable('q5core', 'q5core.cpp', |
|
deps : dependency('qt5', modules : 'Core')) |
|
|
|
test('qt5test', q5core)
|
|
|