mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 23:01:39 +08:00
cmake enable -Wcast-align and disable per module
This commit is contained in:
@@ -30,18 +30,15 @@
|
||||
# POSSIBILITY OF SUCH DAMAGE.
|
||||
#
|
||||
############################################################################
|
||||
set(srcs
|
||||
ms5611_spi.cpp
|
||||
ms5611_i2c.cpp
|
||||
ms5611.cpp
|
||||
)
|
||||
|
||||
px4_add_module(
|
||||
MODULE drivers__ms5611
|
||||
MAIN ms5611
|
||||
STACK_MAIN 1500
|
||||
COMPILE_FLAGS
|
||||
SRCS ${srcs}
|
||||
DEPENDS
|
||||
-Wno-cast-align # TODO: fix and enable
|
||||
SRCS
|
||||
ms5611_spi.cpp
|
||||
ms5611_i2c.cpp
|
||||
ms5611.cpp
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user