mirror of https://github.com/KLayout/klayout.git
Fixed Ruby-less builds.
This commit is contained in:
parent
6a305cfbbf
commit
9c301f9744
2
build.sh
2
build.sh
|
|
@ -615,7 +615,7 @@ qmake_options=(
|
||||||
|
|
||||||
# This should speed up build time considerably
|
# This should speed up build time considerably
|
||||||
# https://ortogonal.github.io/ccache-and-qmake-qtcreator/
|
# https://ortogonal.github.io/ccache-and-qmake-qtcreator/
|
||||||
if [ $QMAKE_CCACHE = 1 ]; then
|
if [ "$QMAKE_CCACHE" = 1 ]; then
|
||||||
qmake_options+=(
|
qmake_options+=(
|
||||||
CONFIG+="ccache"
|
CONFIG+="ccache"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -15,9 +15,16 @@ SOURCES = \
|
||||||
bdStrmcmpTests.cc \
|
bdStrmcmpTests.cc \
|
||||||
bdStrmxorTests.cc \
|
bdStrmxorTests.cc \
|
||||||
bdStrmrunTests.cc \
|
bdStrmrunTests.cc \
|
||||||
|
|
||||||
|
equals(HAVE_RUBY, "1") {
|
||||||
|
|
||||||
|
# the basic tests require Ruby as they use Ruby unittest
|
||||||
|
SOURCES += \
|
||||||
buddies_main.cc \
|
buddies_main.cc \
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
INCLUDEPATH += $$BD_INC $$DB_INC $$TL_INC $$GSI_INC $$RBA_INC
|
INCLUDEPATH += $$BD_INC $$DB_INC $$TL_INC $$GSI_INC $$RBA_INC
|
||||||
DEPENDPATH += $$BD_INC $$DB_INC $$TL_INC $$GSI_INC $$RBA_INC
|
DEPENDPATH += $$BD_INC $$DB_INC $$TL_INC $$GSI_INC $$RBA_INC
|
||||||
|
|
||||||
LIBS += -L$$DESTDIR_UT -lklayout_bd -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_rba
|
LIBS += -L$$DESTDIR_UT -lklayout_bd -lklayout_db -lklayout_tl -lklayout_gsi -l$$RBA_LIB
|
||||||
|
|
|
||||||
|
|
@ -22,14 +22,18 @@ VERSION_INC = $$PWD/version
|
||||||
|
|
||||||
equals(HAVE_RUBY, "1") {
|
equals(HAVE_RUBY, "1") {
|
||||||
RBA_INC = $$PWD/rba/rba
|
RBA_INC = $$PWD/rba/rba
|
||||||
|
RBA_LIB = klayout_rba
|
||||||
} else {
|
} else {
|
||||||
RBA_INC = $$PWD/rbastub
|
RBA_INC = $$PWD/rbastub
|
||||||
|
RBA_LIB = klayout_rbastub
|
||||||
}
|
}
|
||||||
|
|
||||||
equals(HAVE_PYTHON, "1") {
|
equals(HAVE_PYTHON, "1") {
|
||||||
PYA_INC = $$PWD/pya/pya
|
PYA_INC = $$PWD/pya/pya
|
||||||
|
PYA_LIB = klayout_pya
|
||||||
} else {
|
} else {
|
||||||
PYA_INC = $$PWD/pyastub
|
PYA_INC = $$PWD/pyastub
|
||||||
|
PYA_LIB = klayout_pyastub
|
||||||
}
|
}
|
||||||
|
|
||||||
equals(HAVE_QTBINDINGS, "1") {
|
equals(HAVE_QTBINDINGS, "1") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue