mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-16 15:27:35 +08:00
Topic listener: Re-enable in build
This commit is contained in:
@@ -31,23 +31,23 @@
|
||||
#
|
||||
############################################################################
|
||||
|
||||
#add_custom_command(OUTPUT topic_listener.cpp
|
||||
# COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/generate_listener.py ${CMAKE_SOURCE_DIR} > topic_listener.cpp
|
||||
# )
|
||||
add_custom_command(OUTPUT topic_listener.cpp
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/Tools/generate_listener.py ${CMAKE_SOURCE_DIR} > topic_listener.cpp
|
||||
)
|
||||
|
||||
#add_custom_target(generate_topic_listener
|
||||
# DEPENDS topic_listener.cpp)
|
||||
add_custom_target(generate_topic_listener
|
||||
DEPENDS topic_listener.cpp)
|
||||
|
||||
#px4_add_module(
|
||||
# MODULE systemcmds__topic_listener
|
||||
# MAIN listener
|
||||
# STACK 1800
|
||||
# COMPILE_FLAGS
|
||||
# -Os
|
||||
# SRCS
|
||||
# topic_listener.cpp
|
||||
# DEPENDS
|
||||
# platforms__common
|
||||
# generate_topic_listener
|
||||
# )
|
||||
px4_add_module(
|
||||
MODULE systemcmds__topic_listener
|
||||
MAIN listener
|
||||
STACK 1800
|
||||
COMPILE_FLAGS
|
||||
-Os
|
||||
SRCS
|
||||
topic_listener.cpp
|
||||
DEPENDS
|
||||
platforms__common
|
||||
generate_topic_listener
|
||||
)
|
||||
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
|
||||
|
||||
Reference in New Issue
Block a user