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

SDK • Redirecting cmake output to a file

$
0
0
Not really Pico related, but the Linux guys here might be familiar with this.

If I direct the output from cmake thusly:

Code:

cmake .. > ../out.txt
It writes the first section to the screen and NOT to the file. The rest of the cmake output does, though, get written to the file.

Here's the section that doesn't make it into the file:

Code:

PICO_SDK_PATH is /home/mike/pico/pico-sdkPICO platform is rp2040.Defaulting PICO platform compiler to pico_arm_gcc since not specified.PICO compiler is pico_arm_gccBuild type is ReleasePICO target board is waveshare_rp2040_zero.Using board configuration from /home/mike/pico/pico-sdk/src/boards/include/boards/waveshare_rp2040_zero.hTinyUSB available at /home/mike/pico/pico-sdk/lib/tinyusb/src/portable/raspberrypi/rp2040; enabling build support for USB.BTstack available at /home/mike/pico/pico-sdk/lib/btstackcyw43-driver available at /home/mike/pico/pico-sdk/lib/cyw43-driverPico W Bluetooth build support available.lwIP available at /home/mike/pico/pico-sdk/lib/lwipmbedtls available at /home/mike/pico/pico-sdk/lib/mbedtlsUsing PICO_EXAMPLES_PATH from environment ('/home/mike/pico/pico-examples')
What is that? And is there a way to get ALL of the cmake output into the file?

Also, referring to the last line above...Why is pico-examples being referenced? My project doesn't use code from pico-examples and it isn't referenced in my CMakeLists.txt.

Statistics: Posted by Mike**K — Sun Mar 02, 2025 6:26 pm — Replies 4 — Views 63



Viewing all articles
Browse latest Browse all 6987

Trending Articles