Skip to content

Commit

Permalink
[cmake] windows native: fixed FAILED: System.map
Browse files Browse the repository at this point in the history
fixed

[1025/1027] Generating System.map
FAILED: System.map C:/nuttxgit/nuttx/build/System.map
cmd.exe /C "cd /D C:\nuttxgit\nuttx\build && arm-none-eabi-nm nuttx | grep -v '(compiled)|($)|( [aUw] )|(..ng$)|(LASH[RL]DI)' | sort > System.map"
  • Loading branch information
simbit18 authored and acassis committed Dec 13, 2024
1 parent 566e1c3 commit d90559f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ endif()
# Generate system map using the compiler toolchain. Conventionally, the tool
# which dump symbols are called nm, though, some compiler toolchain may have a
# different name.
if(NOT WIN32)
if(NOT CMAKE_HOST_WIN32)
add_custom_command(
OUTPUT System.map
COMMAND
Expand Down

0 comments on commit d90559f

Please sign in to comment.