mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-03 16:30:20 +02:00
Provisions for self-contained plugin tests
Plugin tests are not placed into a "*.klp_ut" shared object and are executed by the unit test runner.
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
DESTDIR_KLP = $$OUT_PWD/../../..
|
||||
|
||||
TEMPLATE = lib
|
||||
|
||||
INCLUDEPATH += ../../../db ../../../tl ../../../gsi ../../../laybasic ../../../lay ../../../common
|
||||
DEPENDPATH += ../../../db ../../../tl ../../../gsi ../../../laybasic ../../../lay ../../../common
|
||||
LIBS += -L$$DESTDIR_KLP -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasic -lklayout_lay
|
||||
|
||||
QMAKE_POST_LINK += $(COPY) $$OUT_PWD/$${SHLIB_PREFIX}$${TARGET}.$${SHLIB_EXT} $$DESTDIR_KLP/$${TARGET}.klp
|
||||
@@ -0,0 +1,10 @@
|
||||
|
||||
DESTDIR_KLP = $$OUT_PWD/../../..
|
||||
|
||||
TEMPLATE = lib
|
||||
|
||||
INCLUDEPATH += ../src ../../../db ../../../tl ../../../gsi ../../../laybasic ../../../lay ../../../common ../../../ut
|
||||
DEPENDPATH += ../src ../../../db ../../../tl ../../../gsi ../../../laybasic ../../../lay ../../../common ../../../ut
|
||||
LIBS += -L$$DESTDIR_KLP -lklayout_db -lklayout_tl -lklayout_gsi -lklayout_laybasic -lklayout_lay -lklayout_ut
|
||||
|
||||
QMAKE_POST_LINK += $(COPY) $$OUT_PWD/$${SHLIB_PREFIX}$${TARGET}.$${SHLIB_EXT} $$DESTDIR_KLP/$${TARGET}.klp_ut
|
||||
@@ -3,5 +3,7 @@ TEMPLATE = subdirs
|
||||
# Automatically include all sub-folders, but not the .pro file
|
||||
SUBDIR_LIST = $$files($$PWD/*)
|
||||
SUBDIR_LIST -= $$PWD/plugins.pro
|
||||
SUBDIR_LIST -= $$PWD/plugin.pri
|
||||
SUBDIR_LIST -= $$PWD/plugin_ut.pri
|
||||
|
||||
SUBDIRS = $$SUBDIR_LIST
|
||||
|
||||
Reference in New Issue
Block a user