mirror of
https://github.com/status-im/dotherside.git
synced 2025-02-11 12:06:37 +00:00
Fix MSVC Meson build
This commit is contained in:
parent
41c33f7751
commit
b551d44955
@ -11,7 +11,7 @@ lib_sources = [
|
||||
'src/OnSlotExecutedHandler.cpp',
|
||||
]
|
||||
lib_include_directories = ['include', 'include/Qt']
|
||||
lib_pch = '../pch/lib_pch.h'
|
||||
lib_pch = ['../pch/lib_pch.h', '../pch/lib_pch.cpp']
|
||||
|
||||
lib = shared_library('DOtherSide',
|
||||
sources : lib_sources,
|
||||
|
1
pch/lib_pch.cpp
Normal file
1
pch/lib_pch.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "lib_pch.h"
|
1
pch/test_pch.cpp
Normal file
1
pch/test_pch.cpp
Normal file
@ -0,0 +1 @@
|
||||
#include "test_pch.h"
|
@ -2,7 +2,7 @@ test_dependencies = dependency('qt5', modules : ['Core', 'Gui', 'Widgets', 'Quic
|
||||
test_sources = ['test_dotherside.cpp', 'MockQAbstractItemModel.cpp', 'MockQObject.cpp']
|
||||
test_resources = 'Resources.qrc'
|
||||
test_include_directories = ['../lib/include', '../lib/include/Qt']
|
||||
test_pch = '../pch/test_pch.h'
|
||||
test_pch = ['../pch/test_pch.h', '../pch/test_pch.cpp']
|
||||
|
||||
qt5 = import('qt5')
|
||||
test_moc_files = qt5.preprocess(moc_sources : test_sources, qresources : test_resources)
|
||||
|
Loading…
x
Reference in New Issue
Block a user