You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.2 KiB
29 lines
1.2 KiB
if include_tdeunittestgui
|
|
GUIBINPROGRAM = komacrotestgui
|
|
else
|
|
GUIBINPROGRAM =
|
|
endif
|
|
|
|
bin_PROGRAMS = komacrotest $(GUIBINPROGRAM)
|
|
|
|
komacrotest_SOURCES = komacrotest.cpp testobject.cpp testaction.cpp actiontests.cpp macrotests.cpp macroitemtests.cpp variabletests.cpp xmlhandlertests.cpp xmlhandlertests2.cpp
|
|
komacrotest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
|
|
komacrotest_LDADD = -ltdeunittest ../lib/libkomacro.la $(LIB_TDEUI) $(LIB_TDEPARTS)
|
|
|
|
if include_tdeunittestgui
|
|
komacrotestgui_SOURCES = komacrotestgui.cpp testobject.cpp testaction.cpp actiontests.cpp macrotests.cpp macroitemtests.cpp variabletests.cpp xmlhandlertests.cpp xmlhandlertests2.cpp
|
|
komacrotestgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
|
|
komacrotestgui_LDADD = -ltdeunittestgui ../lib/libkomacro.la $(LIB_TDEUI) $(LIB_TDEPARTS)
|
|
endif
|
|
|
|
KDE_CXXFLAGS = $(USE_EXCEPTIONS)
|
|
INCLUDES = -I$(srcdir)/tests -I$(srcdir)../ $(all_includes)
|
|
METASOURCES = AUTO
|
|
|
|
guicheck: komacrotestgui
|
|
tdeunittest ./komacrotestgui
|
|
|
|
check: komacrotest
|
|
echo $(srcdir)
|
|
tdeunittest ./komacrotest
|