CMakeLists.txt 456 Bytes
Newer Older
1
cmake_minimum_required (VERSION 3.0)
2 3

set_property( DIRECTORY
Johan Ström's avatar
Johan Ström committed
4 5 6
    APPEND PROPERTY
    COMPILE_OPTIONS
    -Werror)
7 8 9 10 11 12

OPTION(BUILD_GATEWAY_ImperiHome "Build ImperiHome gateway" ON)
if (BUILD_GATEWAY_ImperiHome)
  add_subdirectory (ImperiHome)
endif()

13 14
OPTION(BUILD_GATEWAY_meloware "Build Meloware Lightswitchserver Gateway" ON)
if (BUILD_GATEWAY_meloware)
Johan Ström's avatar
Johan Ström committed
15
    AgoPythonProgram(meloware DESCRIPTION "ago control Meloware Lightswitchserver Gateway")
16 17
endif()