xiaoxiang781216 commented on code in PR #1407: URL: https://github.com/apache/incubator-nuttx-apps/pull/1407#discussion_r1025500954
########## 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: why need -var, do you use a special toolchain? -- 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