From da1ed7964441327f7ac95af7327d379c01b5aaf2 Mon Sep 17 00:00:00 2001 From: Oskari Timperi Date: Sat, 18 Feb 2017 15:49:04 +0200 Subject: Add first interop test The tests can be run against the Eclipse Paho interop test broker. https://wiki.eclipse.org/Interop_Testing_Plan https://github.com/eclipse/paho.mqtt.testing --- CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 0db2d0c..416f274 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -7,3 +7,9 @@ OPTION(BUILD_TOOLS "Build tools" ON) IF(BUILD_TOOLS) ADD_SUBDIRECTORY(tools) ENDIF() + +OPTION(BUILD_TESTS "Build tests" ON) +IF(BUILD_TESTS) + ENABLE_TESTING() + ADD_SUBDIRECTORY(test) +ENDIF() -- cgit v1.2.3