KevinOConnor/can2040

Add cmake import

HondaRulez opened this issue · 3 comments

Hi,
pls add this file to the project to allow importing as a library (like RTOS, and so on..) into the project.

usage: add few lines to the main CMakeLists.txt of the project as follows

#Add the next line after pico_sd_init ()
include(path_to_the/can2040-import.cmake)

edit the existing line

target_link_libraries ( your-project
your_lib1
your_lib2
.
can2040
.
your_libx
)

The gzipped import cmake file:

can2040-import.cmake.gz

Thanks, but every project is likely to have notabaly different build rules. It's not a goal of mine to track the many possible build rules in the can2040 repository.

Cheers,
-Kevin

Hello,

It looks like there hasn't been any recent updates on this
github ticket. We prefer to only list tickets as "open" if
they are actively being worked on. Feel free to provide an
update on this ticket. Otherwise the ticket will be
automatically closed in a few days.

Best regards,

~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

Thanks for providing this! I was trying to implement this myself, and you saved me some time trying to figure this out.