Ver código fonte

修改一下链接文件路径

樊春春 3 meses atrás
pai
commit
0f8b2c7eb4
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      cmake/gcc-arm-none-eabi.cmake

+ 1 - 1
cmake/gcc-arm-none-eabi.cmake

@@ -23,6 +23,6 @@ set(CMAKE_TRY_COMPILE_TARGET_TYPE STATIC_LIBRARY)
 
 if(CMAKE_PROJECT_NAME STREQUAL PROJECT_NAME)
   execute_process(
-    COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/compile_commands.json
+    COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/build/compile_commands.json
   )
 endif()