add v8 as submodule

This commit is contained in:
王劲鹏 2021-04-29 14:30:51 +08:00 committed by osborn
parent 54ea8eab1d
commit 25db4cc194
3 changed files with 10 additions and 6 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "doric-Qt/v8"]
path = doric-Qt/v8
url = git@github.com:doric-pub/v8.git

View File

@ -164,9 +164,9 @@ win32:CONFIG(debug, debug|release): {
LIBS += -lAdvapi32
LIBS += -lDbghelp
INCLUDEPATH += $$PWD/library/v8/win32/include
INCLUDEPATH += $$PWD/../v8/v8/win32/include
LIBS += -L$$PWD/library/v8/win32/release/
LIBS += -L$$PWD/../v8/v8/win32/release/
LIBS += -lv8_monolith
}
else:win32:CONFIG(release, debug|release): {
@ -177,17 +177,17 @@ else:win32:CONFIG(release, debug|release): {
LIBS += -lAdvapi32
LIBS += -lDbghelp
INCLUDEPATH += $$PWD/library/v8/win32/include
INCLUDEPATH += $$PWD/../v8/v8/win32/include
LIBS += -L$$PWD/library/v8/win32/release/
LIBS += -L$$PWD/library/../v8/v8/win32/release/
LIBS += -lv8_monolith
}
else:unix: {
QMAKE_CFLAGS_RELEASE += -MT
QMAKE_CXXFLAGS_RELEASE += -MT
INCLUDEPATH += $$PWD/library/v8/darwin/include
INCLUDEPATH += $$PWD/../v8/v8/darwin/include
LIBS += -L$$PWD/library/v8/darwin/release/
LIBS += -L$$PWD/../v8/v8/darwin/release/
LIBS += -lv8_monolith
}

1
doric-Qt/v8 Submodule

@ -0,0 +1 @@
Subproject commit 7aa0c1cbf176344119e989afdf01156f5c9e0c0d