aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJonathan Aillet <jonathan.aillet@iot.bzh>2018-05-03 09:52:35 +0200
committerJonathan Aillet <jonathan.aillet@iot.bzh>2018-10-08 15:51:00 +0200
commit7d879a6e180193d772896ba20b8c1c7d53e2a14f (patch)
treeef9bdb006d8c0e20a6f1d62e216e555cfafb350e /plugins
parentee5447ca5751b7cd49fdbb7c59ed0e2c195796f9 (diff)
Add compilation configuration
Add compilation configuration for 4a-hal-gezneric project. Change-Id: If5bc696cbf3170923ea67cef301c71720a70fe70 Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/CMakeLists.txt22
-rw-r--r--plugins/lib/CMakeLists.txt39
-rw-r--r--plugins/lua/CMakeLists.txt32
3 files changed, 93 insertions, 0 deletions
diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt
new file mode 100644
index 0000000..3fd93ec
--- /dev/null
+++ b/plugins/CMakeLists.txt
@@ -0,0 +1,22 @@
+###########################################################################
+# Copyright 2015, 2016, 2017 IoT.bzh
+#
+# author: Fulup Ar Foll <fulup@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 any directory not starting with _
+# -----------------------------------------------------
+PROJECT_SUBDIRS_ADD()
diff --git a/plugins/lib/CMakeLists.txt b/plugins/lib/CMakeLists.txt
new file mode 100644
index 0000000..cea78a8
--- /dev/null
+++ b/plugins/lib/CMakeLists.txt
@@ -0,0 +1,39 @@
+###########################################################################
+# Copyright 2015, 2016, 2017, 2018 IoT.bzh
+#
+# author: Jonathan Aillet <jonathan.aillet@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.
+###########################################################################
+
+#PROJECT_TARGET_ADD(example)
+#
+# # Define targets
+# ADD_LIBRARY(${TARGET_NAME} MODULE ${TARGET_NAME}.c)
+#
+# # Alsa Plugin properties
+# SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
+# LABELS "PLUGIN"
+# PREFIX ""
+# SUFFIX ".ctlso"
+# OUTPUT_NAME ${TARGET_NAME}
+# )
+#
+# # Library dependencies (include updates automatically)
+# TARGET_LINK_LIBRARIES(${TARGET_NAME}
+# ${link_libraries}
+# )
+#
+# target_include_directories(${TARGET_NAME}
+# PRIVATE "../app-controller/ctl-lib"
+# PRIVATE "../4a-hal-manager")
diff --git a/plugins/lua/CMakeLists.txt b/plugins/lua/CMakeLists.txt
new file mode 100644
index 0000000..a23463e
--- /dev/null
+++ b/plugins/lua/CMakeLists.txt
@@ -0,0 +1,32 @@
+###########################################################################
+# Copyright 2017 IoT.bzh
+#
+# author: Fulup Ar Foll <fulup@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.
+###########################################################################
+
+
+##################################################
+# Control Policy Config file
+##################################################
+#PROJECT_TARGET_ADD(lua)
+#
+# file(GLOB LUA_FILES "*.lua")
+#
+# add_input_files("${LUA_FILES}")
+#
+# SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
+# LABELS "DATA"
+# OUTPUT_NAME ${TARGET_NAME}
+# )