aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-07-04 18:47:34 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-07-04 18:47:34 +0200
commit6e0d271e61236a3fe38c2f0ca76c784d3c42f8fa (patch)
treecebf3deee7e68925344c8fa6245fa86831085db7
parentb65fa264835921390f4224e4f75ea12692682bab (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)