Build onboard application into firmware

Hello! I have problems with bulding onboard application. Before building my own, I tried to build example “px4_simple_app” and “fake_gps”. When I follow instructions written here Writing your First Application · PX4 Developer Guide I do not find any default.cmake files. Looks like this have been changed in new versions, because latest instruction is for 1.11. Also I do not understand what I need to add to that cmake file I canno’t find.
" To enable the compilation of the application into the firmware create a new line for your application somewhere in the cmake file: examples/px4_simple_app" - this makes me stuck.
Can someone please explain me how to build onboard applications?


Not sure what code base you are using, but from GitHub GitHub - PX4/PX4-Autopilot: PX4 Autopilot Software I see a directory cmake

Yeah, I see this folder too. But it doesn’t look like what I need.