zouboan commented on code in PR #1407:
URL: https://github.com/apache/nuttx-apps/pull/1407#discussion_r1038208846


##########
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:
   is a good idea! although i'm not expert in .bat and .sh but I wouldn't mind 
having a try



-- 
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