summaryrefslogtreecommitdiffstats
path: root/docs/samples.d/CMakeLists.txt.sample
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-12-12 10:39:31 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-14 09:15:07 +0000
commitc631646116197507f59008bc4a4560c74756b342 (patch)
tree04e9f003e15837a43d27ee4e04d4ca7aeefc3583 /docs/samples.d/CMakeLists.txt.sample
parentc815f74207220e5e571fece7cbad00b7a39ae8c9 (diff)
Install docs and sample files in a separate dir
Separate the samples files to be installed in the system doc dir which is: - /usr/share/doc Updating the documentation according to the new path to samples. Change-Id: Ib1958fb87d517ad84abddf3ec71102f7ecf877f5 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'docs/samples.d/CMakeLists.txt.sample')
-rw-r--r--docs/samples.d/CMakeLists.txt.sample21
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/samples.d/CMakeLists.txt.sample b/docs/samples.d/CMakeLists.txt.sample
new file mode 100644
index 0000000..b485097
--- /dev/null
+++ b/docs/samples.d/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)