mirror of
https://git.mirrors.martin98.com/https://github.com/syoyo/tinygltf.git
synced 2025-08-17 07:45:53 +08:00
Add argument to loader_example run
This commit is contained in:
parent
aca196e8d3
commit
c43266fdc9
6
.github/workflows/c-cpp.yml
vendored
6
.github/workflows/c-cpp.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
|||||||
g++ -std=c++11 -o loader_example loader_example.cc
|
g++ -std=c++11 -o loader_example loader_example.cc
|
||||||
- name: test
|
- name: test
|
||||||
run: |
|
run: |
|
||||||
./loader_example
|
./loader_example models/Cube/Cube.gltf
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
run: |
|
run: |
|
||||||
@ -72,7 +72,7 @@ jobs:
|
|||||||
|
|
||||||
- name: loader_example_test
|
- name: loader_example_test
|
||||||
run: |
|
run: |
|
||||||
./loader_example
|
./loader_example models/Cube/Cube.gltf
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
run: |
|
run: |
|
||||||
@ -116,6 +116,8 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
clang++ -std=c++11 -g -O0 -o loader_example loader_example.cc
|
clang++ -std=c++11 -g -O0 -o loader_example loader_example.cc
|
||||||
|
./loader_example models/Cube/Cube.gltf
|
||||||
|
|
||||||
git clone https://github.com/Tencent/rapidjson
|
git clone https://github.com/Tencent/rapidjson
|
||||||
clang++ -DTINYGLTF_USE_RAPIDJSON -I./rapidjson/include/rapidjson -std=c++11 -g -O0 -o loader_example loader_example.cc
|
clang++ -DTINYGLTF_USE_RAPIDJSON -I./rapidjson/include/rapidjson -std=c++11 -g -O0 -o loader_example loader_example.cc
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user