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
|
||||
# https://ortogonal.github.io/ccache-and-qmake-qtcreator/
|
||||
if [ $QMAKE_CCACHE = 1 ]; then
|
||||
if [ "$QMAKE_CCACHE" = 1 ]; then
|
||||
qmake_options+=(
|
||||
CONFIG+="ccache"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -15,9 +15,16 @@ SOURCES = \
|
|||
bdStrmcmpTests.cc \
|
||||
bdStrmxorTests.cc \
|
||||
bdStrmrunTests.cc \
|
||||
|
||||
equals(HAVE_RUBY, "1") {
|
||||
|
||||
# the basic tests require Ruby as they use Ruby unittest
|
||||
SOURCES += \
|
||||
buddies_main.cc \
|
||||
|
||||
}
|
||||
|
||||
INCLUDEPATH += $$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") {
|
||||
RBA_INC = $$PWD/rba/rba
|
||||
RBA_LIB = klayout_rba
|
||||
} else {
|
||||
RBA_INC = $$PWD/rbastub
|
||||
RBA_LIB = klayout_rbastub
|
||||
}
|
||||
|
||||
equals(HAVE_PYTHON, "1") {
|
||||
PYA_INC = $$PWD/pya/pya
|
||||
PYA_LIB = klayout_pya
|
||||
} else {
|
||||
PYA_INC = $$PWD/pyastub
|
||||
PYA_LIB = klayout_pyastub
|
||||
}
|
||||
|
||||
equals(HAVE_QTBINDINGS, "1") {
|
||||
|
|
|
|||
Loading…
Reference in New Issue