diff options
author | José Bollo <jose.bollo@iot.bzh> | 2019-04-11 13:09:56 +0200 |
---|---|---|
committer | Jose Bollo <jose.bollo@iot.bzh> | 2019-04-12 10:55:54 +0200 |
commit | 6b2b09db8ee3cf88b09b59696d50b4fa2de79a72 (patch) | |
tree | 081c5ce2ad13790500dd14078d355796380539cf /bindings/tutorial/CMakeLists.txt | |
parent | 9cf1fcea338281f76eaac000930479b18dacef01 (diff) |
Reordering of sample and tutorial bindings
The main idea here is to install the sample and
tutorial bindings in specific directory.
This will at the end help to package parts
of the binder.
It also includes a simplification of CMakeLists
files.
Also fix an error in packaging rpm.
Bug-AGL: SPEC-2165
Change-Id: I494cc753796848cde849de1c3596893c78fa228f
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'bindings/tutorial/CMakeLists.txt')
-rw-r--r-- | bindings/tutorial/CMakeLists.txt | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/bindings/tutorial/CMakeLists.txt b/bindings/tutorial/CMakeLists.txt deleted file mode 100644 index f05fa541..00000000 --- a/bindings/tutorial/CMakeLists.txt +++ /dev/null @@ -1,38 +0,0 @@ -########################################################################### -# Copyright (C) 2015-2019 "IoT.bzh" -# -# author: José Bollo <jose.bollo@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. -########################################################################### - - -#INCLUDE_DIRECTORIES(${include_dirs}) - -MACRO(tuto num ext) - ADD_LIBRARY(tuto-${num} MODULE tuto-${num}.${ext}) - SET_TARGET_PROPERTIES(tuto-${num} PROPERTIES - PREFIX "" - LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/export.map" - ) - TARGET_LINK_LIBRARIES(tuto-${num} ${link_libraries}) -ENDMACRO(tuto) - - -tuto(1 c) -tuto(2 c) -tuto(3 cpp) -tuto(4 c) -tuto(5 cpp) - -tuto(app1 c) |