xiaoxiang781216 commented on code in PR #13085:
URL: https://github.com/apache/nuttx/pull/13085#discussion_r1725471548


##########
CMakeLists.txt:
##########
@@ -528,11 +528,13 @@ endif()
 # failure logs more deterministic and most importantly makes builds more
 # deterministic. Debuggers usually have a path mapping feature to ensure the
 # files are still found.
-if(CONFIG_OUTPUT_STRIP_PATHS)
-  add_compile_options(-fmacro-prefix-map=${NUTTX_DIR}=)
-  add_compile_options(-fmacro-prefix-map=${NUTTX_APPS_DIR}=)
-  add_compile_options(-fmacro-prefix-map=${NUTTX_BOARD_ABS_DIR}=)
-  add_compile_options(-fmacro-prefix-map=${NUTTX_CHIP_ABS_DIR}=)
+if(NOT MSVC)
+  if(CONFIG_OUTPUT_STRIP_PATHS)

Review Comment:
   should we disable CONFIG_OUTPUT_STRIP_PATHS when build with MSVC directly



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