# CMakeLists files in this project can # refer to the root source directory of the project as ${HELLO_SOURCE_DIR} and # to the root binary directory of the project as ${HELLO_BINARY_DIR}. cmake_minimum_required (VERSION 3.0) project (domo-iot) set(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/build/bin") set(LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/build/lib") set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake-modules/") add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/../nats.c ${CMAKE_CURRENT_BINARY_DIR}/nats.c) add_subdirectory (src)