[fprime 2.0][cmake] target_link_libraries on PROJECT_NAME #1067
-
Hey there! I'm working with @legounicycler and @teddylambert on Georgia Tech's GT-2 mission (SSDL). We're updating to fprime 2.0 (using fprime as a submodule) and are running into a cmake error when compiling for our ATmega128. We previously made a call to The relevant fprime change seems to be here: https://github.com/nasa/fprime/blob/devel/cmake/API.cmake#L310-L313 We're not super familiar with cmake and have two questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
@LeStarch : I borrowed the seemingly broken approach from your F Prime Community Arduino Library, did you need to tweak that? I can see my students are testing this out before I got a chance to do so. |
Beta Was this translation helpful? Give feedback.
-
To fix your code:
The reason for this is we broke our Ref into two parts:
We need a level at which to set dependence on system level processes (for example We are revisiting this in v3.0.0, but that is still under development. |
Beta Was this translation helpful? Give feedback.
To fix your code:
The reason for this is we broke our Ref into two parts:
We need a level at which to set dependence on system level processes (for example
dict
) while still building/updating when you do a top-level build. Breaking Ref into the above two pieces made the most sense.We are revisiting this in v3.0.0, but that is still under development.