summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-04 18:47:34 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:22:47 +0200
commit9e01b88db70d572967b2122a0195f6d38121a49b (patch)
tree7a507cf5f128322f1c1548b55692a7c4254cac36
parent0642dec82cef7f94f358ed2526b415aab939430f (diff)
Add a CMakeLists.txt file to be used as root file
Change-Id: I62900402fe9d3ef0ff4f4f19793cb08a67b116dd Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--cmake/CMakeLists.txt.sample21
1 files changed, 21 insertions, 0 deletions
diff --git a/cmake/CMakeLists.txt.sample b/cmake/CMakeLists.txt.sample
new file mode 100644
index 0000000..b485097
--- /dev/null
+++ b/cmake/CMakeLists.txt.sample
@@ -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)