jasonbu commented on code in PR #14440:
URL: https://github.com/apache/nuttx/pull/14440#discussion_r1809915076


##########
arch/sim/src/sim/CMakeLists.txt:
##########
@@ -288,4 +288,11 @@ endforeach()
 set(HOSTSRCS ${WINHOSTSRCS})
 
 target_sources(nuttx PRIVATE ${HOSTSRCS})
+
+get_target_property(HOST_COMPILE_OPTIONS nuttx COMPILE_OPTIONS)
+foreach(remove_item IN LISTS SIM_NO_HOST_OPTIONS)
+  list(REMOVE_ITEM HOST_COMPILE_OPTIONS ${remove_item})
+endforeach()
+set_target_properties(nuttx PROPERTIES COMPILE_OPTIONS
+                                       "${HOST_COMPILE_OPTIONS}")

Review Comment:
   nuttx_remove_compile_options not able to solve my problem, can you provide 
some sample how to make it work?



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

Reply via email to