File tree Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Expand file tree Collapse file tree 1 file changed +28
-3
lines changed Original file line number Diff line number Diff line change 40
40
# clone the source
41
41
git clone https://github.com/Unity-Technologies/FbxExporters.git
42
42
43
- set PACKAGE_VERSION=0.0.5a
43
+ set PACKAGE_VERSION=0.0.14a
44
44
set FBXSDK_PACKAGE_PATH=/path/to/FbxSdk.unitypackage
45
45
46
- mkdir FbxExporterBuild
47
- cd FbxExporterBuild
46
+ mkdir FbxExportersBuild
47
+ cd FbxExportersBuild
48
48
cmake ../FbxExporters -G"Visual Studio 14 2015 Win64" -DPACKAGE_VERSION=%PACKAGE_VERSION% -DFBXSDK_PACKAGE_PATH=%FBXSDK_PACKAGE_PATH%
49
49
cmake --build . --target ALL_BUILD --config Release
50
50
```
51
+ ** On macOS**
52
+
53
+ ```
54
+ # clone the source
55
+ git clone https://github.com/Unity-Technologies/FbxExporters.git
56
+
57
+ export PACKAGE_VERSION=0.0.14a
58
+ export FBXSDK_PACKAGE_PATH=/path/to/FbxSdk.unitypackage
59
+
60
+ if [ ! -f "${UNITY_EDITOR_PATH}" ]; then
61
+ UNITY_EDITOR_PATH="/Applications/Unity/Unity.app/Contents/MacOS/Unity"
62
+ fi
63
+
64
+ if [ -d FbxExportersBuild ]; then
65
+ rm -rf FbxExportersBuild
66
+ fi
67
+
68
+ mkdir FbxExportersBuild
69
+ cd FbxExportersBuild
70
+ cmake ../FbxExporters -DPACKAGE_VERSION=${PACKAGE_VERSION} \
71
+ -DFBXSDK_PACKAGE_PATH=${FBXSDK_PACKAGE_PATH} \
72
+ -DUNITY_EDITOR_PATH="${UNITY_EDITOR_PATH}"
73
+ make
74
+ ```
75
+
You can’t perform that action at this time.
0 commit comments