From c8a437d1fe77ea41a7a813c62621f4376bd54053 Mon Sep 17 00:00:00 2001 From: Daniel Jennings <582974+danieljennings@users.noreply.github.com> Date: Tue, 17 Aug 2021 12:42:23 -0700 Subject: [PATCH] Minor fix the libclangsharp build instructions Create the artifacts folder and do the work under the cloned clangsharp directory, not its parent. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 3084574a..12095976 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ You can then open `LLVM.sln` in Visual Studio, change the configuration to `Rele Afterwards, you can then build `libClangSharp` where the process followed is roughly: ```cmd git clone https://github.com/microsoft/clangsharp +cd clangsharp mkdir artifacts/bin/native cd artifacts/bin/native cmake -DPATH_TO_LLVM=../../../../llvm-project/artifacts/install/ -G "Visual Studio 16 2019" -A x64 -Thost=x64 ../../.. @@ -86,6 +87,7 @@ You can then open `libClangSharp.sln` in Visual Studio, change the configuration If you building on Linux ``` git clone https://github.com/microsoft/clangsharp +cd clangsharp mkdir artifacts/bin/native cd artifacts/bin/native cmake -DPATH_TO_LLVM=/usr/lib/llvm/12/ ../../.. @@ -95,6 +97,7 @@ make or if you prefer Ninja ``` git clone https://github.com/microsoft/clangsharp +cd clangsharp mkdir artifacts/bin/native cd artifacts/bin/native cmake -DPATH_TO_LLVM=/usr/lib/llvm/12/ -G Ninja ../../..