Skip to content

Commit 175d5a5

Browse files
committed
Add usage to script
1 parent 8382e8f commit 175d5a5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

physx-sys/make-sources.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#!/bin/bash
22
set -e
33

4+
# This script finds all of the cpp files in a <directory> and generates a rust
5+
# array of strings into physx-sys/sources/<name> that is used by the build script
6+
# to compile all of the source files when compiling physx-sys
7+
#
8+
# usage: make-sources.sh <physx c++ source directory path> <name>
49
dir=$1
510
file="$(dirname "$0")/sources/$2"
611

0 commit comments

Comments
 (0)