xiaoxiang781216 commented on code in PR #1407: URL: https://github.com/apache/nuttx-apps/pull/1407#discussion_r1037921466
########## Application.mk: ########## @@ -191,6 +192,21 @@ else MAINNAME := $(addsuffix _main,$(PROGNAME)) +ifeq ($(CONFIG_WINDOWS_NATIVE),y) +$(MAINCXXOBJ): %$(CXXEXT)$(SUFFIX)$(OBJEXT): %$(CXXEXT) + $(eval $<_CXXFLAGS += ${shell $(DEFINE) "$(CXX)" main -val $(firstword $(MAINNAME))}) Review Comment: @zouboan it's betteer to sync define.bat and define.sh usage to avoid the duplication here. -- 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