I am trying to build a simple external module (px4_test) with a simple external library (transformations). I think this should be a simple mistake, but i am unable to figure it out.
-Testing
|- src
|- CMakeLists.txt
|- src
|- modules
|- px4_test
|- transformations
The CMakeLists.txt in src contains:
add_subdirectory(modules/transformations)
set(config_module_list_external
modules/px4_test
PARENT_SCOPE
)
The CMakeLists.txt in px4_test contains:
px4_add_module(
MODULE examples__px4_simple
MAIN px4_simple
SRCS
px4_simple.cpp
DEPENDS
# transformations
EXTERNAL
)
The CMakeLists.txt in transformations contains:
px4_add_library(transformations
transformation.cpp
)
I am building with make px4_sitl EXTERNAL_MODULES_LOCATION=~/Testing/