CMakeLists.txt
482 Bytes
cmake_minimum_required(VERSION 3.0)
project(osdev_mqtt)
LIST(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/submodules/cmake)
# ==============================================================================
# = Include build information
include(projectheader)
project_header(osdev_mqtt)
add_subdirectory(src)
add_subdirectory(examples/connect)
add_subdirectory(examples/pub)
add_subdirectory(examples/sub)
add_subdirectory(examples/subunsub)
include(packaging)
package_component()