Hello,
I am currently configuring a project that I created with fprime.
I started by removing my project from the fprime folder and build it separately, so far no problem my project is working fine.
I would now like to be able to make folders including my components, example:
- my_project/MathComponents/MathTypes/
- my_project/MathComponents/MathPorts/
- my_project/MathComponents/MathReceiver/
I created a test.cmake in the MathComponents folder which calls the CMakeList of each component (MathTypes, MathPorts, ...) and which is called itself (test.cmake) by the CMakeList.txt at the root of my project.
My CMake at the root calls test.cmake using "include("${CMAKE_CURRENT_LIST_DIR}/MathComponents/test.cmake")".
test.cmake calls the CMake of my components using: "add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/MathTypes")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/MathPorts")
add_fprime_subdirectory("${CMAKE_CURRENT_LIST_DIR}/MathReceiver")".
When executing the command some errors appears, I think it's a path problem but I haven't found a solution to fix it.

What should I put in my test.cmake so that I can recursively call CMake to have a tree structure as stated above?
-Ugo