Skip to content
Discussion options

You must be logged in to vote

I am doing this currently. I have a common .cmake file that invokes the cmake files for the modules I wish to build ... for example:

In mymods directory I have the command cmake file and the (git cloned) st7789 and ulab source:

$ls -1 mymods -F
micropython.cmake
st7789_mpy/
ulab/

and the cmake file is:

$ cat mymods/micropython.cmake 
include(${CMAKE_CURRENT_LIST_DIR}/ulab/code/micropython.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/st7789_mpy/st7789/micropython.cmake)

I can then build with

make USER_C_MODULES="${full_path}/mymods/micropython.cmake"

Replies: 6 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@saraverbeecke
Comment options

Answer selected by saraverbeecke
Comment options

You must be logged in to vote
0 replies
Comment options

andrewleech
Dec 1, 2023
Collaborator Sponsor

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
7 participants