summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-04 11:21:15 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-10-15 18:21:42 +0200
commit14f27cbe44073ef2ade633a79d40ba11e8ad497b (patch)
tree701423369566b43eb72aca972e3e3a157509c6af /examples
parent37540ff3c6e32f5d02c2bb3cafd964ff1753d1fa (diff)
Put sources into dedicated directories
Change-Id: I424377f4a25f45f6bfcea84ce59812fb674a861b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'examples')
-rw-r--r--examples/native/CMakeLists.txt2
-rw-r--r--examples/native/app/xxxxxx-native-client.c (renamed from examples/native/xxxxxx-native-client.c)0
-rw-r--r--examples/qml/CMakeLists.txt4
-rw-r--r--examples/qml/app/xxxxxx-qml-app.qml (renamed from examples/qml/xxxxxx-qml-app.qml)0
-rw-r--r--examples/service/CMakeLists.txt2
-rw-r--r--examples/service/binding/xxxxxx-service-binding.c (renamed from examples/service/xxxxxx-service-binding.c)0
6 files changed, 4 insertions, 4 deletions
diff --git a/examples/native/CMakeLists.txt b/examples/native/CMakeLists.txt
index e7ae126..0361f72 100644
--- a/examples/native/CMakeLists.txt
+++ b/examples/native/CMakeLists.txt
@@ -25,7 +25,7 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/etc/macros.cmake)
PROJECT_TARGET_ADD(native-example)
# Define project Targets
- add_executable(${TARGET_NAME} xxxxxx-native-client.c
+ add_executable(${TARGET_NAME} app/xxxxxx-native-client.c
)
link_libraries(
diff --git a/examples/native/xxxxxx-native-client.c b/examples/native/app/xxxxxx-native-client.c
index 312fd1a..312fd1a 100644
--- a/examples/native/xxxxxx-native-client.c
+++ b/examples/native/app/xxxxxx-native-client.c
diff --git a/examples/qml/CMakeLists.txt b/examples/qml/CMakeLists.txt
index c8d1bbb..fe6debe 100644
--- a/examples/qml/CMakeLists.txt
+++ b/examples/qml/CMakeLists.txt
@@ -24,12 +24,12 @@ include(${CMAKE_CURRENT_SOURCE_DIR}/etc/macros.cmake)
# Add target to project dependency list
PROJECT_TARGET_ADD(qml-example)
- add_custom_command(OUTPUT xxxxxx-qml-app.qml
+ add_custom_command(OUTPUT app/xxxxxx-qml-app.qml
COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/xxxxxx-qml-app.qml ${CMAKE_CURRENT_BINARY_DIR}
)
# Define project Targets
- add_custom_target(${TARGET_NAME} ALL
+ add_custom_target(${TARGET_NAME} ALL
DEPENDS xxxxxx-qml-app.qml
)
diff --git a/examples/qml/xxxxxx-qml-app.qml b/examples/qml/app/xxxxxx-qml-app.qml
index 6333144..6333144 100644
--- a/examples/qml/xxxxxx-qml-app.qml
+++ b/examples/qml/app/xxxxxx-qml-app.qml
diff --git a/examples/service/CMakeLists.txt b/examples/service/CMakeLists.txt
index 26a852f..ea06ed0 100644
--- a/examples/service/CMakeLists.txt
+++ b/examples/service/CMakeLists.txt
@@ -26,7 +26,7 @@ PROJECT_TARGET_ADD(service-example)
# Define project Targets
add_library(${TARGET_NAME} MODULE
- xxxxxx-service-binding.c
+ binding/xxxxxx-service-binding.c
)
# Binder exposes a unique public entry point
diff --git a/examples/service/xxxxxx-service-binding.c b/examples/service/binding/xxxxxx-service-binding.c
index 5e823d2..5e823d2 100644
--- a/examples/service/xxxxxx-service-binding.c
+++ b/examples/service/binding/xxxxxx-service-binding.c