File tree 1 file changed +16
-3
lines changed
1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change 10
10
11
11
bin_PROGRAMS = testqgsapplication
12
12
13
+ #
14
+ # Define some global variables that will be used for building each test
15
+ #
16
+
17
+ GLOBALLDADD = $(QT_LDADD ) $(PG_LIB ) $(GDAL_LDADD ) -lproj ../../../src/core/libqgis_core.la ../../../src/gui/libqgis_gui.la
18
+ GLOBALCXXFLAGS = $(CXXFLAGS ) $(EXTRA_CXXFLAGS ) $(GDAL_CFLAGS ) $(QT_CXXFLAGS ) $(PG_INC ) -I../../../src/core
19
+
20
+ #
21
+ # Instruction for running the qt4 meta object compiler
22
+ #
13
23
14
24
% .moc.cpp : % .h
15
25
$(MOC ) -o $@ $<
16
26
27
+ #
28
+ # Specify the compilation files for each unit test now
29
+ #
30
+
17
31
testqgsapplication_MOC = testqgsapplication.moc.cpp
18
32
testqgsapplication_SOURCES = testqgsapplication.cpp
19
-
20
- testqgsapplication_LDADD = $(QT_LDADD ) $(PG_LIB ) $(GDAL_LDADD ) -lproj ../../../src/core/libqgis_core.la ../../../src/gui/libqgis_gui.la
21
- testqgsapplication_CXXFLAGS = $(CXXFLAGS ) $(EXTRA_CXXFLAGS ) $(GDAL_CFLAGS ) $(QT_CXXFLAGS ) $(PG_INC ) -I../../../src/core
33
+ testqgsapplication_LDADD = $(GLOBALLDADD )
34
+ testqgsapplication_CXXFLAGS = $(GLOBALCXXFLAGS )
22
35
23
36
BUILT_SOURCES = $(testqgsapplication_MOC )
24
37
You can’t perform that action at this time.
0 commit comments