Commit 7e9150dc authored by Nils Tonnätt's avatar Nils Tonnätt
Browse files

Add meson build file

parent f899838a
project('jacktrip', 'cpp')
qt5 = import('qt5')
qt5_dep = dependency('qt5', modules: ['Core', 'Network'])
jack_dep = dependency('jack')
rtaudio_dep = dependency('rtaudio')
defines = []
if host_machine.system() == 'linux'
defines += '-D__LINUX__'
elif host_machine.system() == 'osx'
defines += '-D__MAC_OS_X__'
elif host_machine.system() == 'windows'
defines += '-D__WIN_32__'
endif
moc_h = ['src/DataProtocol.h',
'src/JackTrip.h',
'src/JackTripWorker.h',
'src/JackTripWorkerMessages.h',
'src/NetKS.h',
'src/PacketHeader.h',
'src/Settings.h',
'src/ThreadPoolTest.h',
'src/UdpDataProtocol.h',
'src/UdpMasterListener.h']
moc_files = qt5.preprocess(moc_headers : moc_h)
src = ['src/DataProtocol.cpp',
'src/JMess.cpp',
'src/JackTrip.cpp',
'src/jacktrip_globals.cpp',
'src/jacktrip_main.cpp',
'src/JackTripThread.cpp',
'src/JackTripWorker.cpp',
'src/LoopBack.cpp',
'src/PacketHeader.cpp',
'src/ProcessPlugin.cpp',
'src/RingBuffer.cpp',
'src/Settings.cpp',
'src/UdpDataProtocol.cpp',
'src/UdpMasterListener.cpp',
'src/AudioInterface.cpp',
'src/JackAudioInterface.cpp']
executable('jacktrip', src, moc_files, dependencies: [qt5_dep, jack_dep, rtaudio_dep], cpp_args: defines )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment