Add a CMakeLists.txt file to be used as root file
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 4 Jul 2017 16:47:34 +0000 (18:47 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Tue, 4 Jul 2017 16:47:34 +0000 (18:47 +0200)
Change-Id: I62900402fe9d3ef0ff4f4f19793cb08a67b116dd
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
cmake/CMakeLists.txt.sample [new file with mode: 0644]

diff --git a/cmake/CMakeLists.txt.sample b/cmake/CMakeLists.txt.sample
new file mode 100644 (file)
index 0000000..b485097
--- /dev/null
@@ -0,0 +1,21 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: Romain Forlot <romain.forlot@iot.bzh>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+###########################################################################
+
+CMAKE_MINIMUM_REQUIRED(VERSION 3.3)
+
+include(${CMAKE_CURRENT_SOURCE_DIR}/conf.d/cmake/config.cmake)