mirror of https://github.com/KLayout/klayout.git
Another fix for Ruby/Python-less builds.
This commit is contained in:
parent
4a81e228cf
commit
20a6c5ec6b
|
|
@ -31,7 +31,26 @@ HEADERS = \
|
||||||
|
|
||||||
RESOURCES = \
|
RESOURCES = \
|
||||||
|
|
||||||
INCLUDEPATH += $$TL_INC $$GSI_INC $$VERSION_INC $$DB_INC $$RBA_INC $$PYA_INC $$LIB_INC $$RDB_INC
|
INCLUDEPATH += $$TL_INC $$GSI_INC $$VERSION_INC $$DB_INC $$LIB_INC $$RDB_INC
|
||||||
DEPENDPATH += $$TL_INC $$GSI_INC $$VERSION_INC $$DB_INC $$RBA_INC $$PYA_INC $$LIB_INC $$RDB_INC
|
DEPENDPATH += $$TL_INC $$GSI_INC $$VERSION_INC $$DB_INC $$LIB_INC $$RDB_INC
|
||||||
LIBS += -L$$DESTDIR -lklayout_tl -lklayout_db -lklayout_gsi -lklayout_rba -lklayout_pya -lklayout_lib -lklayout_rdb
|
LIBS += -L$$DESTDIR -lklayout_tl -lklayout_db -lklayout_gsi -lklayout_lib -lklayout_rdb
|
||||||
|
|
||||||
|
INCLUDEPATH += $$RBA_INC
|
||||||
|
DEPENDPATH += $$RBA_INC
|
||||||
|
|
||||||
|
equals(HAVE_RUBY, "1") {
|
||||||
|
LIBS += -lklayout_rba
|
||||||
|
} else {
|
||||||
|
LIBS += -lklayout_rbastub
|
||||||
|
}
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PYA_INC
|
||||||
|
DEPENDPATH += $$PYA_INC
|
||||||
|
|
||||||
|
equals(HAVE_PYTHON, "1") {
|
||||||
|
LIBS += -lklayout_pya
|
||||||
|
} else {
|
||||||
|
LIBS += -lklayout_pyastub
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,8 +11,27 @@ include($$PWD/../../app.pri)
|
||||||
# place - it's not part of the bd sources.
|
# place - it's not part of the bd sources.
|
||||||
SOURCES = $$PWD/bd/main.cc
|
SOURCES = $$PWD/bd/main.cc
|
||||||
|
|
||||||
INCLUDEPATH += $$BD_INC $$TL_INC $$RBA_INC $$GSI_INC
|
INCLUDEPATH += $$BD_INC $$TL_INC $$GSI_INC
|
||||||
DEPENDPATH += $$BD_INC $$TL_INC $$RBA_INC $$GSI_INC
|
DEPENDPATH += $$BD_INC $$TL_INC $$GSI_INC
|
||||||
LIBS += -L$$DESTDIR -lklayout_bd -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_pya -lklayout_rba -lklayout_lib -lklayout_rdb
|
LIBS += -L$$DESTDIR -lklayout_bd -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_lib -lklayout_rdb
|
||||||
|
|
||||||
|
INCLUDEPATH += $$RBA_INC
|
||||||
|
DEPENDPATH += $$RBA_INC
|
||||||
|
|
||||||
|
equals(HAVE_RUBY, "1") {
|
||||||
|
LIBS += -lklayout_rba
|
||||||
|
} else {
|
||||||
|
LIBS += -lklayout_rbastub
|
||||||
|
}
|
||||||
|
|
||||||
|
INCLUDEPATH += $$PYA_INC
|
||||||
|
DEPENDPATH += $$PYA_INC
|
||||||
|
|
||||||
|
equals(HAVE_PYTHON, "1") {
|
||||||
|
LIBS += -lklayout_pya
|
||||||
|
} else {
|
||||||
|
LIBS += -lklayout_pyastub
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
DEFINES += BD_TARGET=$$TARGET
|
DEFINES += BD_TARGET=$$TARGET
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue