diff options
-rw-r--r-- | CMakeLists.txt | 5 | ||||
-rw-r--r-- | packaging/deb/agl-cmake-apps-module.dsc | 14 | ||||
-rw-r--r-- | packaging/deb/debian.agl-cmake-apps-module-bin.install | 1 | ||||
-rw-r--r-- | packaging/deb/debian.changelog | 5 | ||||
-rw-r--r-- | packaging/deb/debian.compat | 1 | ||||
-rw-r--r-- | packaging/deb/debian.control | 14 | ||||
-rw-r--r-- | packaging/deb/debian.rules | 9 | ||||
-rw-r--r-- | packaging/rpm/agl-cmake-apps-module.spec | 49 | ||||
-rw-r--r-- | src/cmake/cmake.d/01-build_options.cmake (renamed from cmake/cmake.d/01-build_options.cmake) | 0 | ||||
-rw-r--r-- | src/cmake/cmake.d/02-variables.cmake (renamed from cmake/cmake.d/02-variables.cmake) | 0 | ||||
-rw-r--r-- | src/cmake/cmake.d/03-macros.cmake (renamed from cmake/cmake.d/03-macros.cmake) | 0 | ||||
-rw-r--r-- | src/cmake/cmake.d/04-extra_targets.cmake (renamed from cmake/cmake.d/04-extra_targets.cmake) | 0 | ||||
-rw-r--r-- | src/cmake/common.cmake (renamed from cmake/common.cmake) | 0 | ||||
-rw-r--r-- | src/cmake/configure_file.cmake (renamed from cmake/configure_file.cmake) | 0 | ||||
-rw-r--r-- | src/cmake/export.map (renamed from cmake/export.map) | 0 | ||||
-rw-r--r-- | src/samples.d/CMakeLists.txt.sample (renamed from samples.d/CMakeLists.txt.sample) | 0 | ||||
-rw-r--r-- | src/samples.d/config.cmake.sample (renamed from samples.d/config.cmake.sample) | 0 | ||||
-rw-r--r-- | src/samples.d/config.xml.in.sample (renamed from samples.d/config.xml.in.sample) | 0 | ||||
-rw-r--r-- | src/samples.d/xds-config.env.sample (renamed from samples.d/xds-config.env.sample) | 0 | ||||
-rwxr-xr-x | src/template.d/autobuild/agl/autobuild.in (renamed from template.d/autobuild/agl/autobuild.in) | 0 | ||||
-rwxr-xr-x | src/template.d/autobuild/linux/autobuild.in (renamed from template.d/autobuild/linux/autobuild.in) | 0 | ||||
-rw-r--r-- | src/template.d/config.xml.in (renamed from template.d/config.xml.in) | 0 | ||||
-rw-r--r-- | src/template.d/deb-config.dsc.in (renamed from template.d/deb-config.dsc.in) | 0 | ||||
-rw-r--r-- | src/template.d/deb-config.install.in (renamed from template.d/deb-config.install.in) | 0 | ||||
-rw-r--r-- | src/template.d/debian.changelog.in (renamed from template.d/debian.changelog.in) | 0 | ||||
-rw-r--r-- | src/template.d/debian.compat.in (renamed from template.d/debian.compat.in) | 0 | ||||
-rw-r--r-- | src/template.d/debian.control.in (renamed from template.d/debian.control.in) | 0 | ||||
-rw-r--r-- | src/template.d/debian.rules.in (renamed from template.d/debian.rules.in) | 0 | ||||
-rw-r--r-- | src/template.d/gdb-on-target.ini.in (renamed from template.d/gdb-on-target.ini.in) | 0 | ||||
-rwxr-xr-x | src/template.d/install-wgt-on-target.sh.in (renamed from template.d/install-wgt-on-target.sh.in) | 0 | ||||
-rw-r--r-- | src/template.d/rpm-config.spec.in (renamed from template.d/rpm-config.spec.in) | 0 | ||||
-rwxr-xr-x | src/template.d/start-on-target.sh.in (renamed from template.d/start-on-target.sh.in) | 0 | ||||
-rw-r--r-- | src/template.d/xds-project-target.conf.in (renamed from template.d/xds-project-target.conf.in) | 0 | ||||
-rw-r--r-- | src/test-wgt/launcher.sh.in (renamed from test-wgt/launcher.sh.in) | 0 | ||||
-rw-r--r-- | src/test-wgt/test-config.xml.in (renamed from test-wgt/test-config.xml.in) | 0 | ||||
-rw-r--r-- | src/wgt/icon-default.png (renamed from wgt/icon-default.png) | bin | 10651 -> 10651 bytes | |||
-rw-r--r-- | src/wgt/icon-html5.png (renamed from wgt/icon-html5.png) | bin | 6848 -> 6848 bytes | |||
-rw-r--r-- | src/wgt/icon-native.png (renamed from wgt/icon-native.png) | bin | 5276 -> 5276 bytes | |||
-rw-r--r-- | src/wgt/icon-qml.png (renamed from wgt/icon-qml.png) | bin | 4971 -> 4971 bytes | |||
-rw-r--r-- | src/wgt/icon-service.png (renamed from wgt/icon-service.png) | bin | 13273 -> 13273 bytes |
40 files changed, 95 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8449464..cd1eb5d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,10 +16,9 @@ # limitations under the License. ########################################################################### -cmake_minimum_required(VERSION 3.6) +cmake_minimum_required(VERSION 3.5) include(GNUInstallDirs) INSTALL(FILES CMakeAfbTemplates.cmake DESTINATION ${CMAKE_ROOT}/Modules) -INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/ DESTINATION ${CMAKE_ROOT}/Modules/CMakeAfbTemplates - REGEX "(CMakeAfbTemplates.cmake|gendocs.sh|book.json|CMakeLists.txt|docs|build|.*\/\.git.*)" EXCLUDE) +INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/src/ DESTINATION ${CMAKE_ROOT}/Modules/CMakeAfbTemplates) diff --git a/packaging/deb/agl-cmake-apps-module.dsc b/packaging/deb/agl-cmake-apps-module.dsc new file mode 100644 index 0000000..11749b5 --- /dev/null +++ b/packaging/deb/agl-cmake-apps-module.dsc @@ -0,0 +1,14 @@ +Format: 3.0 (native) +Source: agl-cmake-apps-module +Binary: agl-cmake-apps-module-bin, agl-cmake-apps-module-dev +Architecture: any +Version: 6.90-0 +Maintainer: Romain Forlot <romain.forlot@iot.bzh> +Standards-Version: 3.8.2 +Homepage: https://gerrit.automotivelinux.org/gerrit/src/cmake-apps-module +Build-Depends: debhelper (>= 5), + dpkg-dev, + cmake, +DEBTRANSFORM-RELEASE: 1 +Files: + cmake-apps-module_6.90.tar.gz diff --git a/packaging/deb/debian.agl-cmake-apps-module-bin.install b/packaging/deb/debian.agl-cmake-apps-module-bin.install new file mode 100644 index 0000000..d9da1b1 --- /dev/null +++ b/packaging/deb/debian.agl-cmake-apps-module-bin.install @@ -0,0 +1 @@ +usr/share/*/Modules/CMakeAfbTemplates* diff --git a/packaging/deb/debian.changelog b/packaging/deb/debian.changelog new file mode 100644 index 0000000..a245cdf --- /dev/null +++ b/packaging/deb/debian.changelog @@ -0,0 +1,5 @@ +agl-cmake-apps-module (6.90-0) unstable; urgency=low + + * init build + + -- Romain Forlot <romain.forlot@iot.bzh> Mon, 5 Oct 2018 10:50:38 +0100 diff --git a/packaging/deb/debian.compat b/packaging/deb/debian.compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/packaging/deb/debian.compat @@ -0,0 +1 @@ +9 diff --git a/packaging/deb/debian.control b/packaging/deb/debian.control new file mode 100644 index 0000000..0bac4c7 --- /dev/null +++ b/packaging/deb/debian.control @@ -0,0 +1,14 @@ +Priority: optional +Maintainer: Romain Forlot <romain.forlot@iot.bzh> +Source: agl-cmake-apps-module +Build-Depends: + debhelper (>= 5), + cmake, +Standards-Version: 3.8.2 +Homepage: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module + +Package: agl-cmake-apps-module-bin +Section: devel +Architecture: any +Description: agl-cmake-apps-module is a CMake module made to ease application + framework binding. diff --git a/packaging/deb/debian.rules b/packaging/deb/debian.rules new file mode 100644 index 0000000..9a535f2 --- /dev/null +++ b/packaging/deb/debian.rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install --destdir=/usr/src/packages/BUILD/debian/tmp diff --git a/packaging/rpm/agl-cmake-apps-module.spec b/packaging/rpm/agl-cmake-apps-module.spec new file mode 100644 index 0000000..950514c --- /dev/null +++ b/packaging/rpm/agl-cmake-apps-module.spec @@ -0,0 +1,49 @@ +# +# spec file for package cmake-apps-module +# + +%define __cmake cmake + +%if 0%{?fedora_version} +%global debug_package %{nil} +%endif + +Name: agl-cmake-apps-module +# WARNING {name} is not used for tar file name in source nor for setup +# Check hard coded values required to match git directory naming +BuildArchitectures: noarch +Version: 6.90 +Release: 0 +License: Apache-2.0 +Summary: AGL cmake-apps-module +Group: Development/Libraries/C and C++ +Url: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/cmake-apps-module +Source: cmake-apps-module-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +This is a CMake module made to ease development of binding and application +framework binder apps. + +%prep +%setup -q -n cmake-apps-module-%{version} + +%build +[ ! -d build ] && mkdir build +cd build +cmake .. + +%install +[ -d build ] && cd build +%make_install + +%files +%defattr(-,root,root) +%dir %{_datadir}/cmake/Modules/ +%{_datadir}/cmake/Modules/* + +%changelog +* Thu Nov 5 2018 Romain +- initial creation diff --git a/cmake/cmake.d/01-build_options.cmake b/src/cmake/cmake.d/01-build_options.cmake index 3b1eca7..3b1eca7 100644 --- a/cmake/cmake.d/01-build_options.cmake +++ b/src/cmake/cmake.d/01-build_options.cmake diff --git a/cmake/cmake.d/02-variables.cmake b/src/cmake/cmake.d/02-variables.cmake index 951a681..951a681 100644 --- a/cmake/cmake.d/02-variables.cmake +++ b/src/cmake/cmake.d/02-variables.cmake diff --git a/cmake/cmake.d/03-macros.cmake b/src/cmake/cmake.d/03-macros.cmake index 0a94564..0a94564 100644 --- a/cmake/cmake.d/03-macros.cmake +++ b/src/cmake/cmake.d/03-macros.cmake diff --git a/cmake/cmake.d/04-extra_targets.cmake b/src/cmake/cmake.d/04-extra_targets.cmake index 1cde843..1cde843 100644 --- a/cmake/cmake.d/04-extra_targets.cmake +++ b/src/cmake/cmake.d/04-extra_targets.cmake diff --git a/cmake/common.cmake b/src/cmake/common.cmake index 6e43d13..6e43d13 100644 --- a/cmake/common.cmake +++ b/src/cmake/common.cmake diff --git a/cmake/configure_file.cmake b/src/cmake/configure_file.cmake index 2028388..2028388 100644 --- a/cmake/configure_file.cmake +++ b/src/cmake/configure_file.cmake diff --git a/cmake/export.map b/src/cmake/export.map index ee2f413..ee2f413 100644 --- a/cmake/export.map +++ b/src/cmake/export.map diff --git a/samples.d/CMakeLists.txt.sample b/src/samples.d/CMakeLists.txt.sample index b485097..b485097 100644 --- a/samples.d/CMakeLists.txt.sample +++ b/src/samples.d/CMakeLists.txt.sample diff --git a/samples.d/config.cmake.sample b/src/samples.d/config.cmake.sample index 2681113..2681113 100644 --- a/samples.d/config.cmake.sample +++ b/src/samples.d/config.cmake.sample diff --git a/samples.d/config.xml.in.sample b/src/samples.d/config.xml.in.sample index b93f3d9..b93f3d9 100644 --- a/samples.d/config.xml.in.sample +++ b/src/samples.d/config.xml.in.sample diff --git a/samples.d/xds-config.env.sample b/src/samples.d/xds-config.env.sample index a4c51b1..a4c51b1 100644 --- a/samples.d/xds-config.env.sample +++ b/src/samples.d/xds-config.env.sample diff --git a/template.d/autobuild/agl/autobuild.in b/src/template.d/autobuild/agl/autobuild.in index a832db4..a832db4 100755 --- a/template.d/autobuild/agl/autobuild.in +++ b/src/template.d/autobuild/agl/autobuild.in diff --git a/template.d/autobuild/linux/autobuild.in b/src/template.d/autobuild/linux/autobuild.in index a832db4..a832db4 100755 --- a/template.d/autobuild/linux/autobuild.in +++ b/src/template.d/autobuild/linux/autobuild.in diff --git a/template.d/config.xml.in b/src/template.d/config.xml.in index 35d20b8..35d20b8 100644 --- a/template.d/config.xml.in +++ b/src/template.d/config.xml.in diff --git a/template.d/deb-config.dsc.in b/src/template.d/deb-config.dsc.in index 28a4835..28a4835 100644 --- a/template.d/deb-config.dsc.in +++ b/src/template.d/deb-config.dsc.in diff --git a/template.d/deb-config.install.in b/src/template.d/deb-config.install.in index 5858efd..5858efd 100644 --- a/template.d/deb-config.install.in +++ b/src/template.d/deb-config.install.in diff --git a/template.d/debian.changelog.in b/src/template.d/debian.changelog.in index f72c717..f72c717 100644 --- a/template.d/debian.changelog.in +++ b/src/template.d/debian.changelog.in diff --git a/template.d/debian.compat.in b/src/template.d/debian.compat.in index 45a4fb7..45a4fb7 100644 --- a/template.d/debian.compat.in +++ b/src/template.d/debian.compat.in diff --git a/template.d/debian.control.in b/src/template.d/debian.control.in index ea4ad8a..ea4ad8a 100644 --- a/template.d/debian.control.in +++ b/src/template.d/debian.control.in diff --git a/template.d/debian.rules.in b/src/template.d/debian.rules.in index 6bb2825..6bb2825 100644 --- a/template.d/debian.rules.in +++ b/src/template.d/debian.rules.in diff --git a/template.d/gdb-on-target.ini.in b/src/template.d/gdb-on-target.ini.in index 20c8d30..20c8d30 100644 --- a/template.d/gdb-on-target.ini.in +++ b/src/template.d/gdb-on-target.ini.in diff --git a/template.d/install-wgt-on-target.sh.in b/src/template.d/install-wgt-on-target.sh.in index 39a69d5..39a69d5 100755 --- a/template.d/install-wgt-on-target.sh.in +++ b/src/template.d/install-wgt-on-target.sh.in diff --git a/template.d/rpm-config.spec.in b/src/template.d/rpm-config.spec.in index 34a605d..34a605d 100644 --- a/template.d/rpm-config.spec.in +++ b/src/template.d/rpm-config.spec.in diff --git a/template.d/start-on-target.sh.in b/src/template.d/start-on-target.sh.in index ae28506..ae28506 100755 --- a/template.d/start-on-target.sh.in +++ b/src/template.d/start-on-target.sh.in diff --git a/template.d/xds-project-target.conf.in b/src/template.d/xds-project-target.conf.in index 814597c..814597c 100644 --- a/template.d/xds-project-target.conf.in +++ b/src/template.d/xds-project-target.conf.in diff --git a/test-wgt/launcher.sh.in b/src/test-wgt/launcher.sh.in index 1dac914..1dac914 100644 --- a/test-wgt/launcher.sh.in +++ b/src/test-wgt/launcher.sh.in diff --git a/test-wgt/test-config.xml.in b/src/test-wgt/test-config.xml.in index a5e645b..a5e645b 100644 --- a/test-wgt/test-config.xml.in +++ b/src/test-wgt/test-config.xml.in diff --git a/wgt/icon-default.png b/src/wgt/icon-default.png Binary files differindex def888b..def888b 100644 --- a/wgt/icon-default.png +++ b/src/wgt/icon-default.png diff --git a/wgt/icon-html5.png b/src/wgt/icon-html5.png Binary files differindex a3573ef..a3573ef 100644 --- a/wgt/icon-html5.png +++ b/src/wgt/icon-html5.png diff --git a/wgt/icon-native.png b/src/wgt/icon-native.png Binary files differindex fcb5d35..fcb5d35 100644 --- a/wgt/icon-native.png +++ b/src/wgt/icon-native.png diff --git a/wgt/icon-qml.png b/src/wgt/icon-qml.png Binary files differindex ba248ea..ba248ea 100644 --- a/wgt/icon-qml.png +++ b/src/wgt/icon-qml.png diff --git a/wgt/icon-service.png b/src/wgt/icon-service.png Binary files differindex 3aeb6f0..3aeb6f0 100644 --- a/wgt/icon-service.png +++ b/src/wgt/icon-service.png |