mirror of https://github.com/ARMmbed/mbed-os.git
CMAKE_CURRENT_LIST_DIR behaves differently in functions. We store it in the CMakeLists itself, so anyone calling a function would get the actual list dir where the scripts are. To illustrate: if I call a function from src/CMakelists.txt, function located in src/scripts, `CMAKE_CURRENT_LIST_DIR` in the function would point to the src/ folder but not to src/scripts. |
||
---|---|---|
.. | ||
LPC.py | ||
mbed_set_post_build_nxp.cmake |