Hello
we use colcon to build our middleware code,now we create a new layer for our code ,and want to build it by colcon in yocto
I add
do_compile () {
export colcon = "usr/local/bin/colcon"
${colcon} build
}
in bb file,but build failed ,"could not find camke executable"
when I add inherit cmake,will show does not appear to contain CMakeList.txt
Can anyone give some hints,thanks
Hello zk-panfei,
Are you sure that this package is building and compiling with ARM? since there is no cmakelist.
Regards
Hi Bio
Yes ,but our source code tree is like this :cmakelist in next level dir ,not root dir
├── tsync
│ ├── CMakeLists.txt
│ ├── example
└── zklog
├── CMakeLists.txt
├── doc
You have to fix it, since colcon is not part of the BSP and you are using it on your own meta-layer we are on hand tie.
Regards