mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
Fix Android example app build.
Add VS solution gen batch file with Python.
This commit is contained in:
@@ -1,15 +1,17 @@
|
||||
rem assume
|
||||
|
||||
rmdir /s /q build
|
||||
mkdir build
|
||||
rmdir /s /q build_with_py
|
||||
mkdir build_with_py
|
||||
|
||||
rem Specify absolute python.exe path if required.
|
||||
rem Use `whre python` to find abosolute path to python.exe in cmd
|
||||
rem Conda/Miniconda installed Python recommended.
|
||||
rem
|
||||
rem -DPython3_EXECUTABLE=C:\Users\%%HOME%%\miniconda3\envs\pytinyusdz\python.exe ^
|
||||
|
||||
cmake -G "Visual Studio 17 2022" -A x64 ^
|
||||
-DTINYUSDZ_WITH_OPENSUBDIV=On ^
|
||||
-DTINYUSDZ_WITH_PYTHON=1 ^
|
||||
-DTINYUSDZ_PREFER_LOCAL_PYTHON_INSTALLATION=1 ^
|
||||
-DPython3_EXECUTABLE=C:\Users\%%HOME%%\miniconda3\envs\pytinyusdz\python.exe
|
||||
-Bbuild -S.
|
||||
-Bbuild_with_py -S.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user