This commit is contained in:
2025-06-04 00:18:32 +03:00
parent 804711f2c4
commit 5d85ebd85f
17 changed files with 108 additions and 7 deletions

View File

@@ -3,6 +3,8 @@
#include "ld.h"
#include "tier1/utlstring.h"
CUtlString rapier_lib;
int rapier_build()
{
CUtlVector<CUtlString> cargo_args = {
@@ -22,6 +24,7 @@ int rapier_build()
"../public/physics_gen.h",
};
IRunner::Run("cbindgen", "rapier", cbindgen_args);
rapier_lib = "rapier/target/x86_64-unknown-linux-gnu/release/librapier_rtt.a";
return 0;
};