sorenfriis commented on code in PR #17427:
URL: https://github.com/apache/nuttx/pull/17427#discussion_r2590562101
##########
CMakeLists.txt:
##########
@@ -426,6 +426,14 @@ if(CONFIG_ARCH_BOARD_COMMON)
"${NUTTX_DIR}/boards/${CONFIG_ARCH}/${CONFIG_ARCH_CHIP}/common")
endif()
+# Setup ccache ###############################################################
+
+if(CONFIG_CCACHE)
+ find_program(CCACHE_PROGRAM ccache REQUIRED)
+ message(STATUS "Using ccache: ${CCACHE_PROGRAM}")
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
+endif()
Review Comment:
Sure - added.
My thinking was, that if it was configured to use ccache, it should be
required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]