
cmake_minimum_required(VERSION 3.10)

# Set the project name and version
project(MCDS_DEMOS VERSION 1.0.0)

# Set the C++ standard to C++11
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Include libraries
include(../lib/cmake/McdsLibs/McdsLibsConfig.cmake)
find_package(McdsLibs REQUIRED PATHS "${CMAKE_CURRENT_SOURCE_DIR}/../lib/cmake/McdsLibs")
find_package(McdsLibs CONFIG REQUIRED)

# Add the executable that uses the libraries
add_executable(Simple_mcds_demo simple_mcds_demo.cpp)

# Link the executable to the libraries
target_link_libraries(Simple_mcds_demo McdsLibs::mcds_configurator McdsLibs::mcds_decoder McdsLibs::mcds_recorder)