aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..0db2d0c
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,9 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
+PROJECT(mqtt C)
+
+ADD_SUBDIRECTORY(src)
+
+OPTION(BUILD_TOOLS "Build tools" ON)
+IF(BUILD_TOOLS)
+ ADD_SUBDIRECTORY(tools)
+ENDIF()