fixed CMakeLists.txt
authorLoïc Collignon <loic.collignon@iot.bzh>
Thu, 9 Mar 2017 13:32:55 +0000 (14:32 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 16 Mar 2017 16:10:40 +0000 (17:10 +0100)
Change-Id: I62069f71b53a7a0e2131ca92834a9a85995308a7
Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
CMakeLists.txt
src/CMakeLists.txt

index febd4f0..233ee69 100644 (file)
@@ -1 +1,22 @@
+###########################################################################
+# Copyright 2016 IoT.bzh
+#
+# author: José Bollo <jose.bollo@iot.bzh>
+# author: Stéphane Desneux <stephane.desneux@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)
+project(low-can-binding)
 add_subdirectory(src)
index 428f0a7..85a498f 100644 (file)
 # limitations under the License.
 ###########################################################################
 
-project(low-can-binding)
-
-cmake_minimum_required(VERSION 3.3)
-
 include(GNUInstallDirs)
 
 set(TARGET "root@192.168.1.206")
@@ -123,4 +119,4 @@ add_custom_target(widget ALL DEPENDS ${PROJECT_NAME}.wgt)
 install(CODE "execute_process(
        COMMAND scp -r ${CMAKE_SOURCE_DIR} ${PROJECT_NAME}.wgt ${TARGET}:/tmp
        COMMAND ssh ${TARGET} \"/usr/bin/afm-util remove ${PROJECT_NAME}@${PROJECT_VERSION} && /usr/bin/afm-util install /tmp/${PROJECT_NAME}.wgt\")"
-       )
\ No newline at end of file
+       )