From cf23923e734807de5128dd69fc7a81cfa2f914a0 Mon Sep 17 00:00:00 2001 From: Booklordofthedings Date: Fri, 17 May 2024 21:43:33 +0200 Subject: [PATCH 1/2] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a9f2d62..6aa763b 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # libclang-beef +*This binding is still wip, which means that its useable but some specifc bindings might be incorrect, the api might change and you might need to cast enums instead of being able to nativly input them into their respective locations* -A beef binding for libclang \ No newline at end of file +## How to use +- Get the relevant libclang.lib and libclang.dll/libclang.so files and put them into the deps folder + - They can be gotten from the llvm website, from your package manager or you can compile them yourself +- Add libclang-beef as a dependency to your project +- Add the namespace to your using \ No newline at end of file From 689e34f8d4e32399c95921135063b0979ca9c950 Mon Sep 17 00:00:00 2001 From: Booklordofthedings Date: Fri, 24 May 2024 16:33:31 +0200 Subject: [PATCH 2/2] added string flag I think --- BeefProj.toml | 1 + BeefSpace.toml | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/BeefProj.toml b/BeefProj.toml index a58815f..ad66887 100644 --- a/BeefProj.toml +++ b/BeefProj.toml @@ -2,6 +2,7 @@ FileVersion = 1 [Project] Name = "libclang-beef" +TargetType = "BeefLib" StartupObject = "libclang_beef.Program" [Configs.Debug.Win32] diff --git a/BeefSpace.toml b/BeefSpace.toml index 5f512bd..3656bd8 100644 --- a/BeefSpace.toml +++ b/BeefSpace.toml @@ -1,5 +1,11 @@ FileVersion = 1 -Projects = {libclang-beef = {Path = "."}} +Projects = {libclang-beef = {Path = "."}, libclang-beef = {Path = "../../Program Files/BeefLang/BeefLibs/libclang-beef"}} [Workspace] StartupProject = "libclang-beef" + +[Configs.Test.Win32] +ConfigSelections = {libclang-beef = {Config = "Debug"}} + +[Configs.Test.Win64] +ConfigSelections = {libclang-beef = {Config = "Debug"}}