klayout/src/plugins/lay_plugin.pri

27 lines
671 B
Plaintext
Raw Normal View History

include($$PWD/../klayout.pri)
TEMPLATE = lib
2018-06-17 09:43:25 +02:00
INCLUDEPATH += $$DB_INC $$TL_INC $$GSI_INC $$LAYBASIC_INC $$LAY_INC $$PWD/common
DEPENDPATH += $$DB_INC $$TL_INC $$GSI_INC $$LAYBASIC_INC $$LAY_INC $$PWD/common
LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasic -lklayout_lay
2018-06-17 09:43:25 +02:00
DEFINES += MAKE_LAY_PLUGIN_LIBRARY
2018-06-18 00:06:38 +02:00
win32 {
dlltarget.path = $$PREFIX/lay_plugins
INSTALLS += dlltarget
2018-06-18 00:06:38 +02:00
# to avoid the major version being appended to the dll name - in this case -lxyz won't link it again
# because the library is called xyx0.dll.
CONFIG += skip_target_version_ext
} else {
target.path = $$PREFIX/lay_plugins
INSTALLS += target
2018-06-18 00:06:38 +02:00
}