Skip to content

Instantly share code, notes, and snippets.

@faywong
Created March 26, 2024 11:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save faywong/ac477ffc175329035a512fec282824c5 to your computer and use it in GitHub Desktop.
Save faywong/ac477ffc175329035a512fec282824c5 to your computer and use it in GitHub Desktop.
华为鸿蒙上如何使用 vim + coc.nvim 写 c++ 代码

export OHOS_SDK=/Users/faywong/Library/Huawei/Sdk/HarmonyOS-NEXT-DP1 cmake -DOHOS_STL=c++_shared -DOHOS_ARCH=armeabi-v7a -DOHOS_PLATFORM=OHOS -DCMAKE_TOOLCHAIN_FILE=${OHOS_SDK}/base/native/build/cmake/ohos.toolchain.cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment