[gnome-commander/googletest] Adds gobject to the list of LDFLAGS for unittests
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander/googletest] Adds gobject to the list of LDFLAGS for unittests
- Date: Sun, 29 Nov 2015 17:06:00 +0000 (UTC)
commit 2014fb0c72e50f0120cd00c3e2e4cf3a9c4e9a4d
Author: Uwe Scholz <uwescholz src gnome org>
Date: Sun Nov 29 18:05:47 2015 +0100
Adds gobject to the list of LDFLAGS for unittests
tests/Makefile.am | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/tests/Makefile.am b/tests/Makefile.am
index afba484..9a57e16 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -12,7 +12,9 @@ INTVLIBS = \
$(GLIB_LIBS) \
$(GTK_LIBS) \
$(GNOMEUI_LIBS) \
- $(top_builddir)/src/intviewer/libgviewer.a
+ $(top_builddir)/src/intviewer/libgviewer.a \
+ -lgtest \
+ -lgobject-2.0
TESTS = \
iv_viewerwidget \
@@ -30,30 +32,30 @@ check_PROGRAMS = $(TESTS)
# viewer library are not fully tested by unit tests.
iv_imagerenderer_SOURCES = iv_imagerenderer_test.cc gcmd_tests_main.cc
iv_imagerenderer_CXXFLAGS = $(INTVLIBS)
-iv_imagerenderer_LDFLAGS = $(INTVLIBS) -lgtest
+iv_imagerenderer_LDFLAGS = $(INTVLIBS)
iv_inputmodes_SOURCES = iv_inputmodes_test.cc gcmd_tests_main.cc
iv_inputmodes_CXXFLAGS = $(INTVLIBS)
-iv_inputmodes_LDFLAGS = $(INTVLIBS) -lgtest
+iv_inputmodes_LDFLAGS = $(INTVLIBS)
iv_textrenderer_SOURCES = iv_textrenderer_test.cc gcmd_tests_main.cc
iv_textrenderer_CXXFLAGS = $(INTVLIBS)
-iv_textrenderer_LDFLAGS = $(INTVLIBS) -lgtest
+iv_textrenderer_LDFLAGS = $(INTVLIBS)
iv_viewerwidget_SOURCES = iv_viewerwidget_test.cc gcmd_tests_main.cc
iv_viewerwidget_CXXFLAGS = $(INTVLIBS)
-iv_viewerwidget_LDFLAGS = $(INTVLIBS) -lgtest
+iv_viewerwidget_LDFLAGS = $(INTVLIBS)
iv_fileops_SOURCES = iv_fileops_test.cc gcmd_tests_main.cc
iv_fileops_CXXFLAGS = $(INTVLIBS)
-iv_fileops_LDFLAGS = $(INTVLIBS) -lgtest
+iv_fileops_LDFLAGS = $(INTVLIBS)
iv_bm_search_SOURCES = iv_bm_search_test.cc gcmd_tests_main.cc
iv_bm_search_CXXFLAGS = $(INTVLIBS)
-iv_bm_search_LDFLAGS = $(INTVLIBS) -lgtest
+iv_bm_search_LDFLAGS = $(INTVLIBS)
iv_datapresentation_SOURCES = iv_datapresentation.cc gcmd_tests_main.cc
iv_datapresentation_CXXFLAGS = $(INTVLIBS)
-iv_datapresentation_LDFLAGS = $(INTVLIBS) -lgtest
+iv_datapresentation_LDFLAGS = $(INTVLIBS)
-include $(top_srcdir)/git.mk
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]