mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 04:11:36 +08:00
exclude macro hack for tests target
This commit is contained in:
@@ -11,6 +11,7 @@ include_directories(${CMAKE_SOURCE_DIR}/../src/modules)
|
||||
include_directories(${CMAKE_SOURCE_DIR}/../src/lib)
|
||||
|
||||
add_definitions(-D__EXPORT=)
|
||||
add_definitions(-D__PX4_TESTS)
|
||||
|
||||
function(add_gtest)
|
||||
foreach(test_name ${ARGN})
|
||||
|
||||
Reference in New Issue
Block a user