anchao opened a new pull request, #15596:
URL: https://github.com/apache/nuttx/pull/15596

   ## Summary
   
   cmake: Use EXTRAFLAGS to define customized compilation options
   
   align them with the usage habits of makefiles
   
   cmake:
   ```
   cmake -B build -DBOARD_CONFIG=sim/nsh -GNinja -DEXTRAFLAGS="-DCONFIG_AAA=1 
-DCONFIG_BBB=1 -Werror"
   ```
   makefile:
   ```
   make -j12 EXTRAFLAGS="-DCONFIG_AAA=1 -DCONFIG_BBB=1 -Werror"
   ```
   Signed-off-by: chao an <anchao.arc...@bytedance.com>
   
   
   ## Impact
   
   N/A
   
   ## Testing
   
   ci-check


-- 
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: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to