Skip to content

Commit

Permalink
feat(yocto): add datastruct-cpp example project
Browse files Browse the repository at this point in the history
  • Loading branch information
nikAizuddin committed Jul 9, 2023
1 parent 2b0c392 commit d7d8925
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@
/project/yocto/build/tmp*
/project/yocto/build/*.log
/project/yocto/build/*.lock
/project/yocto/layers/meta-user/recipes-apps/datastruct-cpp/files/build

/project/third-party/*.bsp
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
[submodule "project/yocto/layers/meta-clang"]
path = project/yocto/layers/meta-clang
url = https://github.com/kraj/meta-clang.git
[submodule "project/yocto/layers/meta-user/recipes-apps/datastruct-cpp/files/datastruct-cpp"]
path = project/yocto/layers/meta-user/recipes-apps/datastruct-cpp/files/datastruct-cpp
url = https://github.com/extra2000/datastruct-cpp.git
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
SUMMARY = "C++ Data Struct Application"
DESCRIPTION = "${SUMMARY}"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=a16e19e8a5232b504f7645a00425532f"

DEPENDS = "boost"

SRC_URI = "\
file://datastruct-cpp/LICENSE \
file://datastruct-cpp/CMakeLists.txt \
file://datastruct-cpp/projects/logger/CMakeLists.txt \
file://datastruct-cpp/projects/logger/src/ \
file://datastruct-cpp/projects/datastruct_asm_inline/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_asm_inline/src/ \
file://datastruct-cpp/projects/datastruct_async_signal/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_async_signal/src/ \
file://datastruct-cpp/projects/datastruct_async_timer/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_async_timer/src/ \
file://datastruct-cpp/projects/datastruct_big_integer/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_big_integer/src/ \
file://datastruct-cpp/projects/datastruct_class/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_class/src/ \
file://datastruct-cpp/projects/datastruct_class_template/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_class_template/src/ \
file://datastruct-cpp/projects/datastruct_file_operations/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_file_operations/src/ \
file://datastruct-cpp/projects/datastruct_float_multiprecision/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_float_multiprecision/src/ \
file://datastruct-cpp/projects/datastruct_linkedlist/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_linkedlist/src/ \
file://datastruct-cpp/projects/datastruct_thread_timer/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_thread_timer/src/ \
file://datastruct-cpp/projects/datastruct_thread_timer_class/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_thread_timer_class/src/ \
file://datastruct-cpp/projects/datastruct_vector/CMakeLists.txt \
file://datastruct-cpp/projects/datastruct_vector/src/ \
file://datastruct-cpp/projects/helloworld/CMakeLists.txt \
file://datastruct-cpp/projects/helloworld/src/ \
"

S = "${WORKDIR}/datastruct-cpp"

inherit cmake

EXTRA_OECMAKE = ""
Submodule datastruct-cpp added at 2511d7
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,17 @@ SELINUX = " \
selinux-custom-policy \
"

DATASTRUCT_APPS = " \
datastruct-cpp \
"

IMAGE_INSTALL:append = " \
${ROS_SYSROOT_BUILD_DEPENDENCIES} \
${NETWORKING} \
${CAMERA} \
${HARDENING} \
${SELINUX} \
${DATASTRUCT_APPS} \
ros-core \
python3-pip \
python3-argcomplete \
Expand Down

0 comments on commit d7d8925

Please sign in to comment.