33 lines
1.7 KiB
Meson
33 lines
1.7 KiB
Meson
#=======================================================================================================================
|
|
# PROJECT SETTINGS
|
|
#=======================================================================================================================
|
|
project('video-streaming-poc', 'cpp', version : '0.0.1-SNAPSHOT',
|
|
default_options : ['c_std=c17', 'cpp_std=c++20'])
|
|
|
|
#=======================================================================================================================
|
|
# DEPENDENCIES
|
|
#=======================================================================================================================
|
|
# opencv dependency
|
|
opencv = dependency('opencv4', version : '>=4.0.0')
|
|
# boost dependency
|
|
boost = dependency('boost')
|
|
|
|
#=======================================================================================================================
|
|
# SOURCE FILES
|
|
#=======================================================================================================================
|
|
# common files between client / server
|
|
common = ['transfer.h', 'logging.h']
|
|
# client-only files
|
|
client = common + ['client.cpp']
|
|
# server-only files
|
|
server = common + ['server.cpp']
|
|
|
|
#=======================================================================================================================
|
|
# BUILD TARGETS
|
|
#=======================================================================================================================
|
|
# client executable
|
|
client_exe = executable('client', client,
|
|
dependencies : [opencv, boost])
|
|
# server executable
|
|
server_exe = executable('server', server,
|
|
dependencies : [opencv, boost]) |