Commit 0f2a5f26 authored by Harald Klein's avatar Harald Klein

add gateways to CMakeLists

parent 48110641
......@@ -115,6 +115,11 @@ if (BUILD_CORE)
install (FILES data/inventory.sql data/datalogger.sql DESTINATION ${DATADIR})
endif()
OPTION(BUILD_GATEWAYS "Build the gateways" ON)
if (BUILD_GATEWAYS)
add_subdirectory (gateways)
endif()
OPTION(BUILD_DEVICES "Build the devices" ON)
if (BUILD_DEVICES)
add_subdirectory (devices)
......
cmake_minimum_required (VERSION 2.6)
set_property( DIRECTORY
APPEND PROPERTY
COMPILE_OPTIONS
-Werror)
OPTION(BUILD_GATEWAY_ImperiHome "Build ImperiHome gateway" ON)
if (BUILD_GATEWAY_ImperiHome)
add_subdirectory (ImperiHome)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment