mirror of https://github.com/KLayout/klayout.git
22 lines
503 B
Prolog
22 lines
503 B
Prolog
|
|
LIBDIR = $$OUT_PWD/../..
|
|
DESTDIR = $$LIBDIR/pymod
|
|
TARGET = db
|
|
|
|
include($$PWD/../../lib.pri)
|
|
|
|
SOURCES = \
|
|
dbMain.cc \
|
|
|
|
HEADERS += \
|
|
|
|
INCLUDEPATH += $$PYTHONINCLUDE $$TL_INC $$GSI_INC $$PYA_INC
|
|
DEPENDPATH += $$PYTHONINCLUDE $$TL_INC $$GSI_INC $$PYA_INC
|
|
LIBS += $$PYTHONLIBFILE -L$$LIBDIR -lklayout_tl -lklayout_gsi -lklayout_db -lklayout_pya
|
|
|
|
# Python is somewhat sloppy and relies on the compiler initializing fields
|
|
# of strucs to 0:
|
|
QMAKE_CXXFLAGS_WARN_ON += \
|
|
-Wno-missing-field-initializers
|
|
|