#======================================================================================================================= # 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') opencv_incl_dir = opencv.get_variable(cmake : 'OpenCV_INCLUDE_DIRECTORIES', pkgconfig : 'includedir') include = include_directories(opencv_incl_dir) # 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], include_directories : include) # server executable server_exe = executable('server', server, dependencies : [opencv, boost], include_directories : include)