Skip to content
Snippets Groups Projects
Commit 4c228eaf authored by Mark Sauder's avatar Mark Sauder Committed by Daniel Agar
Browse files

cmake whitespace fixes to quiet git hook.

parent b35d0485
No related branches found
No related tags found
No related merge requests found
...@@ -43,4 +43,3 @@ px4_add_module( ...@@ -43,4 +43,3 @@ px4_add_module(
bmp280_i2c.cpp bmp280_i2c.cpp
bmp280.cpp bmp280.cpp
) )
...@@ -35,7 +35,7 @@ px4_add_module( ...@@ -35,7 +35,7 @@ px4_add_module(
MAIN leddar_one MAIN leddar_one
STACK_MAIN 1200 STACK_MAIN 1200
COMPILE_FLAGS COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
SRCS SRCS
leddar_one.cpp leddar_one.cpp
MODULE_CONFIG MODULE_CONFIG
......
...@@ -34,7 +34,7 @@ px4_add_module( ...@@ -34,7 +34,7 @@ px4_add_module(
MODULE drivers__sf0x MODULE drivers__sf0x
MAIN sf0x MAIN sf0x
COMPILE_FLAGS COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
SRCS SRCS
sf0x.cpp sf0x.cpp
sf0x_parser.cpp sf0x_parser.cpp
......
...@@ -35,7 +35,7 @@ px4_add_module( ...@@ -35,7 +35,7 @@ px4_add_module(
MODULE drivers__vl53lxx MODULE drivers__vl53lxx
MAIN vl53lxx MAIN vl53lxx
COMPILE_FLAGS COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
SRCS SRCS
vl53lxx.cpp vl53lxx.cpp
) )
...@@ -35,7 +35,7 @@ px4_add_module( ...@@ -35,7 +35,7 @@ px4_add_module(
MAIN adis16448 MAIN adis16448
STACK_MAIN 1200 STACK_MAIN 1200
COMPILE_FLAGS COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
SRCS SRCS
adis16448.cpp adis16448.cpp
) )
...@@ -35,7 +35,7 @@ px4_add_module( ...@@ -35,7 +35,7 @@ px4_add_module(
MAIN bmi055 MAIN bmi055
STACK_MAIN 1500 STACK_MAIN 1500
COMPILE_FLAGS COMPILE_FLAGS
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
SRCS SRCS
BMI055_accel.cpp BMI055_accel.cpp
BMI055_gyro.cpp BMI055_gyro.cpp
......
...@@ -35,11 +35,13 @@ add_library(flashparams ...@@ -35,11 +35,13 @@ add_library(flashparams
flashfs.c flashfs.c
flashparams.cpp flashparams.cpp
) )
add_dependencies(flashparams prebuild_targets) add_dependencies(flashparams prebuild_targets)
target_compile_definitions(flashparams PRIVATE -DMODULE_NAME="flashparams") target_compile_definitions(flashparams PRIVATE -DMODULE_NAME="flashparams")
target_compile_options(flashparams target_compile_options(flashparams
PRIVATE PRIVATE
-Wno-sign-compare # TODO: fix this -Wno-sign-compare # TODO: fix this
-Wno-cast-align # TODO: fix and enable -Wno-cast-align # TODO: fix and enable
) )
target_link_libraries(flashparams PRIVATE nuttx_arch)
\ No newline at end of file target_link_libraries(flashparams PRIVATE nuttx_arch)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment