Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

SDK • Re: pico_sdk_import.cmake question

$
0
0
Well, yes, if you change the path or other variables, then you need to reconfigure. My preferred method is to delete the build directory, and run cmake again.

The script works as intended, but also apparently populates the cache so it doesn't have to redo the environment variable again. So, ultimately, it did get the value from the environment in the first place.

This is all about the cmake cache:
https://cmake.org/cmake/help/book/maste ... Cache.html

unset a variable
https://cmake.org/cmake/help/latest/command/unset.html

Was there actually a build malfunction?

Statistics: Posted by breaker — Wed Mar 13, 2024 8:17 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles