mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 04:03:34 +08:00
Hack to get posix build partially working
Created a dummy build_git_version.h so I did not have to figure out how to generate it. Commented out topic_listener.cpp from src/systemcmds/CMakeLists.txt because it depends on a generated cpp file. Link doesn't work mut many modules build Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -16,7 +16,7 @@ set(directories
|
||||
./motor_test
|
||||
./esc_calib
|
||||
./perf
|
||||
./topic_listener
|
||||
# ./topic_listener
|
||||
./dumpfile
|
||||
./pwm
|
||||
)
|
||||
|
||||
@@ -30,15 +30,15 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
#px4_add_module(
|
||||
#MODULE systemcmds__topic_listener
|
||||
#MAIN listener
|
||||
#STACK 1800
|
||||
#COMPILE_FLAGS
|
||||
#-Os
|
||||
#SRCS
|
||||
#topic_listener.cpp
|
||||
#DEPENDS
|
||||
#platforms__common
|
||||
#)
|
||||
px4_add_module(
|
||||
MODULE systemcmds__topic_listener
|
||||
MAIN listener
|
||||
STACK 1800
|
||||
COMPILE_FLAGS
|
||||
-Os
|
||||
SRCS
|
||||
topic_listener.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
Reference in New Issue
Block a user