2018-06-13 00:33:43 +02:00
|
|
|
|
|
|
|
|
include($$PWD/../klayout.pri)
|
|
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
|
|
2022-05-15 10:31:09 +02:00
|
|
|
INCLUDEPATH += $$DB_INC $$TL_INC $$GSI_INC $$LAYBASIC_INC $$LAYUI_INC $$LAYVIEW_INC $$LAYUI_INC $$LAY_INC $$PWD/common
|
|
|
|
|
DEPENDPATH += $$DB_INC $$TL_INC $$GSI_INC $$LAYBASIC_INC $$LAYUI_INC $$LAYVIEW_INC $$LAYUI_INC $$LAY_INC $$PWD/common
|
|
|
|
|
LIBS += -L$$DESTDIR/.. -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasic -lklayout_layui -lklayout_layview -lklayout_lay -lklayout_lay
|
2018-06-17 09:43:25 +02:00
|
|
|
|
|
|
|
|
DEFINES += MAKE_LAY_PLUGIN_LIBRARY
|
2018-06-18 00:06:38 +02:00
|
|
|
|
|
|
|
|
win32 {
|
2018-06-19 21:21:44 +02:00
|
|
|
|
|
|
|
|
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
|
2018-06-19 21:21:44 +02:00
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
target.path = $$PREFIX/lay_plugins
|
|
|
|
|
INSTALLS += target
|
|
|
|
|
|
2018-06-18 00:06:38 +02:00
|
|
|
}
|