You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo" LIB_TYPE Library type to copy (static, dynamic, or both)"
18
+
echo" OUT_DIR Output directory for the compiled libraries"
19
+
echo" BUILD_TOOL Build tool to use (cargo or zigbuild)"
18
20
echo
19
21
echo"Examples:"
20
-
echo"$0 # Uses the system's OS and architecture, copies both libraries to the default directory with the default library name"
21
-
echo"$0 Linux x86_64 my_lib static # Compiles for Linux on x86_64 and copies only static libraries to the default directory with the library name 'my_lib'"
22
-
echo"$0 Darwin arm64 my_lib dynamic ./out/dir # Compiles for macOS on ARM (Apple Silicon) and copies only dynamic libraries to './out/dir' with the library name 'my_lib'"
23
-
echo"$0 Darwin universal my_lib both ./out/dir # Compiles a universal binary for macOS and copies both static and dynamic libraries to './out/dir' with the library name 'my_lib'"
22
+
echo"$0 # Uses the system's OS and architecture, copies both libraries to the default directory with the default library name, using cargo"
23
+
echo"$0 Linux x86_64 my_lib static . cargo # Compiles for Linux on x86_64 and copies only static libraries to the current directory with the library name 'my_lib', using cargo"
24
+
echo"$0 Darwin arm64 my_lib dynamic ./out/dir zigbuild # Compiles for macOS on ARM (Apple Silicon) and copies only dynamic libraries to './out/dir' with the library name 'my_lib', using zigbuild"
0 commit comments