use quickjs git submodule
This commit is contained in:
parent
89fe5e4f34
commit
4985b66565
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -7,3 +7,6 @@
|
||||||
[submodule "source/engine/thirdparty/cgltf"]
|
[submodule "source/engine/thirdparty/cgltf"]
|
||||||
path = source/engine/thirdparty/cgltf
|
path = source/engine/thirdparty/cgltf
|
||||||
url = https://github.com/jkuhlmann/cgltf.git
|
url = https://github.com/jkuhlmann/cgltf.git
|
||||||
|
[submodule "quickjs"]
|
||||||
|
path = quickjs
|
||||||
|
url = https://github.com/bellard/quickjs.git
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -256,7 +256,7 @@ input.md: $(INPUTMD)
|
||||||
|
|
||||||
$(BIN)/libquickjs.a: $(QUICKJS_O)
|
$(BIN)/libquickjs.a: $(QUICKJS_O)
|
||||||
make -C quickjs clean
|
make -C quickjs clean
|
||||||
make -C quickjs SYSRT=$(SYSRT) TTARGET=$(TTARGET) ARCH=$(ARCH) DBG=$(DBG) OPT=$(OPT) AR=$(AR) OS=$(OS) libquickjs.a libquickjs.lto.a HOST_CC=$(CC) LEAK=$(LEAK)
|
make -C quickjs SYSRT=$(SYSRT) TTARGET=$(TTARGET) ARCH=$(ARCH) DBG=$(DBG) OPT=$(OPT) AR=$(AR) OS=$(OS) libquickjs.a HOST_CC=$(CC) LEAK=$(LEAK)
|
||||||
@mkdir -p $(BIN)
|
@mkdir -p $(BIN)
|
||||||
cp -rf quickjs/libquickjs.* $(BIN)
|
cp -rf quickjs/libquickjs.* $(BIN)
|
||||||
|
|
||||||
|
|
1
quickjs
Submodule
1
quickjs
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 6a89d7c27099be84e5312a7ec73205d6a7abe1b4
|
Loading…
Reference in a new issue