Skip to content
Permalink
Browse files

Makefile cleanups in prepration for implementing more that one test unit

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@5215 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux
timlinux committed Apr 8, 2006
1 parent b11a4c3 commit ed9f640463369ab32f259f5a0e437aa4e5516029
Showing with 16 additions and 3 deletions.
  1. +16 −3 tests/src/core/Makefile.am
@@ -10,15 +10,28 @@

bin_PROGRAMS = testqgsapplication

#
# Define some global variables that will be used for building each test
#

GLOBALLDADD = $(QT_LDADD) $(PG_LIB) $(GDAL_LDADD) -lproj ../../../src/core/libqgis_core.la ../../../src/gui/libqgis_gui.la
GLOBALCXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) -I../../../src/core

#
# Instruction for running the qt4 meta object compiler
#

%.moc.cpp: %.h
$(MOC) -o $@ $<

#
# Specify the compilation files for each unit test now
#

testqgsapplication_MOC = testqgsapplication.moc.cpp
testqgsapplication_SOURCES = testqgsapplication.cpp

testqgsapplication_LDADD = $(QT_LDADD) $(PG_LIB) $(GDAL_LDADD) -lproj ../../../src/core/libqgis_core.la ../../../src/gui/libqgis_gui.la
testqgsapplication_CXXFLAGS = $(CXXFLAGS) $(EXTRA_CXXFLAGS) $(GDAL_CFLAGS) $(QT_CXXFLAGS) $(PG_INC) -I../../../src/core
testqgsapplication_LDADD = $(GLOBALLDADD)
testqgsapplication_CXXFLAGS = $(GLOBALCXXFLAGS)

BUILT_SOURCES = $(testqgsapplication_MOC)

0 comments on commit ed9f640

Please sign in to comment.
You can’t perform that action at this time.