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

SDK • embedded website html makefsdata.py

$
0
0
Hi, I need some CMAKE magic.

I am using a sample cmake that runs and builds my website.

Code:

message("Running makefsdata python script")execute_process(COMMAND    python3 makefsdata.py    WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
However I run make 10 times as often as cmake, but I would like make to detect an update shtml file and run the makefsdata.py script if I have changed any of them.

Any suggestions for cmake changes to output make targets?

Statistics: Posted by nospamcalfee — Sun Mar 02, 2025 12:46 am — Replies 0 — Views 47



Viewing all articles
Browse latest Browse all 4654

Trending Articles