[18eecf] | 1 | # PLEASE adhere to the alphabetical ordering in this Makefile!
|
---|
| 2 | # Also indentation by a single tab
|
---|
| 3 |
|
---|
[c0bccb] | 4 | SUBDIRS = \
|
---|
[deddf6] | 5 | ../Actions/unittests \
|
---|
[c0bccb] | 6 | ../Patterns/unittests
|
---|
| 7 |
|
---|
[b9907c] | 8 | INCLUDES = -I$(top_srcdir)/src
|
---|
| 9 |
|
---|
[831a14] | 10 | AM_LDFLAGS = $(CPPUNIT_LIBS) -ldl
|
---|
| 11 | AM_CXXFLAGS = $(CPPUNIT_CFLAGS)
|
---|
[d5240d] | 12 | AM_CPPFLAGS = ${BOOST_CPPFLAGS}
|
---|
[be90f1] | 13 |
|
---|
[9fb860] | 14 | TESTS = \
|
---|
| 15 | AnalysisBondsUnitTests \
|
---|
| 16 | AnalysisCorrelationToPointUnitTest \
|
---|
| 17 | AnalysisCorrelationToSurfaceUnitTest \
|
---|
| 18 | AnalysisPairCorrelationUnitTest \
|
---|
[57adc7] | 19 | atomsCalculationTest \
|
---|
| 20 | AtomDescriptorTest \
|
---|
[9fb860] | 21 | BondGraphUnitTest \
|
---|
[77bc4f] | 22 | BoxUnittest \
|
---|
[57adc7] | 23 | CacheableTest \
|
---|
[dfe8ef] | 24 | CountBondsUnitTest \
|
---|
[9f632c] | 25 | FormulaUnittest \
|
---|
[9fb860] | 26 | InfoUnitTest \
|
---|
[f60610] | 27 | LinearSystemOfEquationsUnitTest \
|
---|
[45ef76] | 28 | LineUnittest \
|
---|
[dcea0f] | 29 | LinkedCellUnitTest \
|
---|
[9fb860] | 30 | ListOfBondsUnitTest \
|
---|
| 31 | LogUnitTest \
|
---|
[57adc7] | 32 | manipulateAtomsTest \
|
---|
[0d4424] | 33 | MatrixContentSymmetricUnitTest \
|
---|
| 34 | MatrixContentUnitTest \
|
---|
[0eb2dc] | 35 | MatrixUnittest \
|
---|
[8bcf3f] | 36 | MenuDescriptionUnitTest \
|
---|
[57adc7] | 37 | MoleculeDescriptorTest \
|
---|
| 38 | ObserverTest \
|
---|
[4fbca9c] | 39 | ParserCommonUnitTest \
|
---|
| 40 | ParserTremoloUnitTest \
|
---|
[4eb4fe] | 41 | periodentafelTest \
|
---|
| 42 | PlaneUnittest \
|
---|
[e4afb4] | 43 | Registry \
|
---|
[997784] | 44 | ShapeUnittest \
|
---|
[b4cf2b] | 45 | SubspaceFactorizerUnitTest \
|
---|
[9fb860] | 46 | TesselationUnitTest \
|
---|
[e9c677] | 47 | Tesselation_BoundaryTriangleUnitTest \
|
---|
| 48 | Tesselation_InOutsideUnitTest \
|
---|
[bbf1bd] | 49 | VectorContentUnitTest \
|
---|
[112f90] | 50 | VectorUnitTest
|
---|
[4fbca9c] | 51 |
|
---|
| 52 |
|
---|
[63c1f6] | 53 | check_PROGRAMS = $(TESTS)
|
---|
[9b6b2f] | 54 | noinst_PROGRAMS = $(TESTS) TestRunner
|
---|
[b9907c] | 55 |
|
---|
[d5240d] | 56 | BOOST_LIB = $(BOOST_LDFLAGS) $(BOOST_MPL_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB)
|
---|
[952f38] | 57 | GSLLIBS = \
|
---|
| 58 | ../LinearAlgebra/libMolecuilderLinearAlgebra-@MOLECUILDER_API_VERSION@.la \
|
---|
| 59 | ../Exceptions/libMolecuilderExceptions-@MOLECUILDER_API_VERSION@.la \
|
---|
| 60 | ../Helpers/libMolecuilderHelpers-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 61 | $(BOOST_LIB)
|
---|
[f4b5b7] | 62 | ALLLIBS = \
|
---|
[9ee38b] | 63 | ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la \
|
---|
[f4b5b7] | 64 | ../Actions/libMolecuilderActions-@MOLECUILDER_API_VERSION@.la \
|
---|
[952f38] | 65 | ${PARSERLIBS} \
|
---|
[255971] | 66 | ../libMolecuilder-@MOLECUILDER_API_VERSION@.la \
|
---|
[e4decc] | 67 | ${GSLLIBS}
|
---|
| 68 |
|
---|
[b37436] | 69 | PARSERLIBS = ../Parser/libMolecuilderParser-@MOLECUILDER_API_VERSION@.la
|
---|
| 70 | UILIBS = ../UIElements/libMolecuilderUI-@MOLECUILDER_API_VERSION@.la
|
---|
[4d9c01] | 71 |
|
---|
[9b6b2f] | 72 | TESTSOURCES = \
|
---|
[deddf6] | 73 | ../Actions/unittests/ActionRegistryUnitTest.cpp \
|
---|
[f7c0c4] | 74 | ../Actions/unittests/ActionSequenceUnitTest.cpp \
|
---|
[9b6b2f] | 75 | analysisbondsunittest.cpp \
|
---|
| 76 | AnalysisCorrelationToPointUnitTest.cpp \
|
---|
| 77 | AnalysisCorrelationToSurfaceUnitTest.cpp \
|
---|
| 78 | AnalysisPairCorrelationUnitTest.cpp \
|
---|
[57adc7] | 79 | AtomDescriptorTest.cpp \
|
---|
| 80 | atomsCalculationTest.cpp \
|
---|
[9b6b2f] | 81 | bondgraphunittest.cpp \
|
---|
[77bc4f] | 82 | BoxUnittest.cpp \
|
---|
[57adc7] | 83 | CacheableTest.cpp \
|
---|
[5f612ee] | 84 | CountBondsUnitTest.cpp \
|
---|
[9f632c] | 85 | FormulaUnittest.cpp \
|
---|
[9b6b2f] | 86 | infounittest.cpp \
|
---|
| 87 | linearsystemofequationsunittest.cpp \
|
---|
[45ef76] | 88 | LineUnittest.cpp \
|
---|
[5f612ee] | 89 | LinkedCellUnitTest.cpp \
|
---|
[9b6b2f] | 90 | listofbondsunittest.cpp \
|
---|
| 91 | logunittest.cpp \
|
---|
[0d4424] | 92 | MatrixContentSymmetricUnittest.cpp \
|
---|
| 93 | MatrixContentUnittest.cpp \
|
---|
[0eb2dc] | 94 | MatrixUnittest.cpp \
|
---|
[57adc7] | 95 | manipulateAtomsTest.cpp \
|
---|
[8bcf3f] | 96 | MenuDescriptionUnitTest.cpp \
|
---|
[57adc7] | 97 | MoleculeDescriptorTest.cpp \
|
---|
| 98 | ObserverTest.cpp \
|
---|
[4fbca9c] | 99 | ParserCommonUnitTest.cpp \
|
---|
| 100 | ParserTremoloUnitTest.cpp \
|
---|
[4eb4fe] | 101 | periodentafelTest.cpp \
|
---|
| 102 | PlaneUnittest.cpp \
|
---|
[e4afb4] | 103 | RegistryUnitTest.cpp \
|
---|
[997784] | 104 | ShapeUnittest.cpp \
|
---|
[c0bccb] | 105 | ../Patterns/unittests/SingletonUnitTest.cpp \
|
---|
[9b6b2f] | 106 | tesselationunittest.cpp \
|
---|
| 107 | tesselation_boundarytriangleunittest.cpp \
|
---|
| 108 | tesselation_insideoutsideunittest.cpp \
|
---|
[bbf1bd] | 109 | VectorContentUnittest.cpp \
|
---|
[57adc7] | 110 | vectorunittest.cpp
|
---|
[9b6b2f] | 111 |
|
---|
| 112 | TESTHEADERS = \
|
---|
[deddf6] | 113 | ../Actions/unittests/ActionRegistryUnitTest.hpp \
|
---|
[f7c0c4] | 114 | ../Actions/unittests/ActionSequenceUnitTest.hpp \
|
---|
[5f612ee] | 115 | analysisbondsunittest.hpp \
|
---|
| 116 | AnalysisCorrelationToPointUnitTest.hpp \
|
---|
| 117 | AnalysisCorrelationToSurfaceUnitTest.hpp \
|
---|
| 118 | AnalysisPairCorrelationUnitTest.hpp \
|
---|
| 119 | AtomDescriptorTest.hpp \
|
---|
| 120 | atomsCalculationTest.hpp \
|
---|
| 121 | bondgraphunittest.hpp \
|
---|
[77bc4f] | 122 | BoxUnittest.hpp \
|
---|
[5f612ee] | 123 | CacheableTest.hpp \
|
---|
| 124 | CountBondsUnitTest.hpp \
|
---|
[9f632c] | 125 | FormulaUnittest.hpp \
|
---|
[5f612ee] | 126 | infounittest.hpp \
|
---|
| 127 | linearsystemofequationsunittest.hpp \
|
---|
[45ef76] | 128 | LineUnittest.hpp \
|
---|
[5f612ee] | 129 | LinkedCellUnitTest.hpp \
|
---|
| 130 | listofbondsunittest.hpp \
|
---|
| 131 | logunittest.hpp \
|
---|
| 132 | manipulateAtomsTest.hpp \
|
---|
[0d4424] | 133 | MatrixContentSymmetricUnittest.hpp \
|
---|
| 134 | MatrixContentUnittest.hpp \
|
---|
[0eb2dc] | 135 | MatrixUnittest.hpp \
|
---|
[8bcf3f] | 136 | MenuDescriptionUnitTest.hpp \
|
---|
[5f612ee] | 137 | MoleculeDescriptorTest.hpp \
|
---|
[e4afb4] | 138 | ObserverTest.hpp \
|
---|
[4eb4fe] | 139 | periodentafelTest.hpp \
|
---|
[4fbca9c] | 140 | ParserCommonUnitTest.hpp \
|
---|
| 141 | ParserTremoloUnitTest.hpp \
|
---|
[fa5a6a] | 142 | PlaneUnittest.hpp \
|
---|
[e4afb4] | 143 | RegistryUnitTest.hpp \
|
---|
[c0bccb] | 144 | ShapeUnittest.hpp \
|
---|
| 145 | ../Patterns/unittests/SingletonUnitTest.hpp \
|
---|
| 146 | stackclassunittest.hpp \
|
---|
[5f612ee] | 147 | tesselationunittest.hpp \
|
---|
| 148 | tesselation_boundarytriangleunittest.hpp \
|
---|
| 149 | tesselation_insideoutsideunittest.hpp \
|
---|
[bbf1bd] | 150 | VectorContentUnittest.hpp \
|
---|
[5f612ee] | 151 | vectorunittest.hpp
|
---|
[9fb860] | 152 |
|
---|
[9b6b2f] | 153 |
|
---|
| 154 | AnalysisBondsUnitTests_SOURCES = UnitTestMain.cpp analysisbondsunittest.cpp analysisbondsunittest.hpp
|
---|
[4d9c01] | 155 | AnalysisBondsUnitTests_LDADD = ${ALLLIBS}
|
---|
[96c961] | 156 |
|
---|
[9b6b2f] | 157 | AnalysisCorrelationToPointUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToPointUnitTest.cpp AnalysisCorrelationToPointUnitTest.hpp
|
---|
[4d9c01] | 158 | AnalysisCorrelationToPointUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 159 |
|
---|
[9b6b2f] | 160 | AnalysisCorrelationToSurfaceUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisCorrelationToSurfaceUnitTest.cpp AnalysisCorrelationToSurfaceUnitTest.hpp
|
---|
[4d9c01] | 161 | AnalysisCorrelationToSurfaceUnitTest_LDADD = ${ALLLIBS}
|
---|
[c4d4df] | 162 |
|
---|
[9b6b2f] | 163 | AnalysisPairCorrelationUnitTest_SOURCES = UnitTestMain.cpp analysis_correlation.hpp AnalysisPairCorrelationUnitTest.cpp AnalysisPairCorrelationUnitTest.hpp
|
---|
[4d9c01] | 164 | AnalysisPairCorrelationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c111db] | 165 |
|
---|
[6e97e5] | 166 | atomsCalculationTest_SOURCES = UnitTestMain.cpp atomsCalculationTest.cpp atomsCalculationTest.hpp
|
---|
| 167 | atomsCalculationTest_LDADD = ${ALLLIBS}
|
---|
| 168 |
|
---|
[18eecf] | 169 | AtomDescriptorTest_SOURCES = UnitTestMain.cpp AtomDescriptorTest.cpp AtomDescriptorTest.hpp
|
---|
| 170 | AtomDescriptorTest_LDADD = ${ALLLIBS}
|
---|
| 171 |
|
---|
[9b6b2f] | 172 | BondGraphUnitTest_SOURCES = UnitTestMain.cpp bondgraphunittest.cpp bondgraphunittest.hpp
|
---|
[4d9c01] | 173 | BondGraphUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 174 |
|
---|
[77bc4f] | 175 | BoxUnittest_SOURCES = UnitTestMain.cpp BoxUnittest.cpp BoxUnittest.hpp
|
---|
| 176 | BoxUnittest_LDADD = ${ALLLIBS}
|
---|
| 177 |
|
---|
[18eecf] | 178 | CacheableTest_SOURCES = UnitTestMain.cpp CacheableTest.cpp CacheableTest.hpp
|
---|
| 179 | CacheableTest_LDADD = ${ALLLIBS}
|
---|
| 180 |
|
---|
[5f612ee] | 181 | CountBondsUnitTest_SOURCES = UnitTestMain.cpp CountBondsUnitTest.cpp CountBondsUnitTest.hpp
|
---|
| 182 | CountBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
| 183 |
|
---|
[9f632c] | 184 | FormulaUnittest_SOURCES = UnitTestMain.cpp FormulaUnittest.cpp FormulaUnittest.hpp
|
---|
| 185 | FormulaUnittest_LDADD = ${ALLLIBS}
|
---|
| 186 |
|
---|
[0d4424] | 187 | MatrixContentSymmetricUnitTest_SOURCES = UnitTestMain.cpp MatrixContentSymmetricUnittest.cpp MatrixContentSymmetricUnittest
|
---|
| 188 | MatrixContentSymmetricUnitTest_LDADD = ${ALLLIBS}
|
---|
[9fb860] | 189 |
|
---|
[0d4424] | 190 | MatrixContentUnitTest_SOURCES = UnitTestMain.cpp MatrixContentUnittest.cpp MatrixContentUnittest.hpp
|
---|
| 191 | MatrixContentUnitTest_LDADD = ${ALLLIBS}
|
---|
[9fb860] | 192 |
|
---|
[9b6b2f] | 193 | InfoUnitTest_SOURCES = UnitTestMain.cpp infounittest.cpp infounittest.hpp
|
---|
[4d9c01] | 194 | InfoUnitTest_LDADD = ${ALLLIBS}
|
---|
[8725ed] | 195 |
|
---|
[9b6b2f] | 196 | LinearSystemOfEquationsUnitTest_SOURCES = UnitTestMain.cpp linearsystemofequationsunittest.cpp linearsystemofequationsunittest.hpp
|
---|
[4d9c01] | 197 | LinearSystemOfEquationsUnitTest_LDADD = ${ALLLIBS}
|
---|
[8725ed] | 198 |
|
---|
[45ef76] | 199 | LineUnittest_SOURCES = UnitTestMain.cpp LineUnittest.cpp LineUnittest.hpp
|
---|
| 200 | LineUnittest_LDADD = ${ALLLIBS}
|
---|
| 201 |
|
---|
[4fbca9c] | 202 | LinkedCellUnitTest_SOURCES = UnitTestMain.cpp LinkedCellUnitTest.cpp LinkedCellUnitTest.hpp
|
---|
[5f612ee] | 203 | LinkedCellUnitTest_LDADD = ${ALLLIBS}
|
---|
[46ea3b] | 204 |
|
---|
[9b6b2f] | 205 | ListOfBondsUnitTest_SOURCES = UnitTestMain.cpp listofbondsunittest.cpp listofbondsunittest.hpp
|
---|
[4d9c01] | 206 | ListOfBondsUnitTest_LDADD = ${ALLLIBS}
|
---|
[266237] | 207 |
|
---|
[4fbca9c] | 208 | LogUnitTest_SOURCES = UnitTestMain.cpp logunittest.cpp logunittest.hpp
|
---|
[4d9c01] | 209 | LogUnitTest_LDADD = ${ALLLIBS}
|
---|
[7326b2] | 210 |
|
---|
[18eecf] | 211 | manipulateAtomsTest_SOURCES = UnitTestMain.cpp manipulateAtomsTest.cpp manipulateAtomsTest.hpp
|
---|
[b37436] | 212 | manipulateAtomsTest_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[18eecf] | 213 |
|
---|
[0eb2dc] | 214 | MatrixUnittest_SOURCES = UnitTestMain.cpp MatrixUnittest.cpp MatrixUnittest.hpp
|
---|
| 215 | MatrixUnittest_LDADD = ${ALLLIBS}
|
---|
| 216 |
|
---|
[8bcf3f] | 217 | MenuDescriptionUnitTest_SOURCES = UnitTestMain.cpp MenuDescriptionUnitTest.cpp MenuDescriptionUnitTest.hpp
|
---|
| 218 | MenuDescriptionUnitTest_LDADD = ${ALLLIBS}
|
---|
| 219 |
|
---|
[57adc7] | 220 | MoleculeDescriptorTest_SOURCES = UnitTestMain.cpp MoleculeDescriptorTest.cpp MoleculeDescriptorTest.hpp
|
---|
| 221 | MoleculeDescriptorTest_LDADD = ${ALLLIBS}
|
---|
| 222 |
|
---|
[18eecf] | 223 | ObserverTest_SOURCES = UnitTestMain.cpp ObserverTest.cpp ObserverTest.hpp
|
---|
| 224 | ObserverTest_LDADD = ${ALLLIBS}
|
---|
| 225 |
|
---|
[4fbca9c] | 226 | ParserCommonUnitTest_SOURCES = UnitTestMain.cpp ParserCommonUnitTest.cpp ParserCommonUnitTest.hpp
|
---|
| 227 | ParserCommonUnitTest_LDADD = ${ALLLIBS}
|
---|
| 228 |
|
---|
| 229 | ParserTremoloUnitTest_SOURCES = UnitTestMain.cpp ParserTremoloUnitTest.cpp ParserTremoloUnitTest.hpp
|
---|
| 230 | ParserTremoloUnitTest_LDADD = ${ALLLIBS}
|
---|
[18eecf] | 231 |
|
---|
[4eb4fe] | 232 | periodentafelTest_SOURCES = UnitTestMain.cpp periodentafelTest.cpp periodentafelTest.hpp
|
---|
| 233 | periodentafelTest_LDADD = ${ALLLIBS}
|
---|
| 234 |
|
---|
[fa5a6a] | 235 | PlaneUnittest_SOURCES = UnitTestMain.cpp PlaneUnittest.cpp PlaneUnittest.hpp
|
---|
| 236 | PlaneUnittest_LDADD = ${ALLLIBS}
|
---|
| 237 |
|
---|
[e4afb4] | 238 | Registry_SOURCES = UnitTestMain.cpp RegistryUnitTest.cpp RegistryUnitTest.hpp
|
---|
| 239 | Registry_LDADD = ${ALLLIBS}
|
---|
| 240 |
|
---|
[997784] | 241 | ShapeUnittest_SOURCES = UnitTestMain.cpp ShapeUnittest.cpp ShapeUnittest.hpp
|
---|
| 242 | ShapeUnittest_LDADD = ${ALLLIBS}
|
---|
| 243 |
|
---|
[b4cf2b] | 244 | SubspaceFactorizerUnitTest_SOURCES = UnitTestMain.cpp SubspaceFactorizerUnittest.cpp SubspaceFactorizerUnittest.hpp
|
---|
[5eec98] | 245 | SubspaceFactorizerUnitTest_LDADD = ${GSLLIBS}
|
---|
[b4cf2b] | 246 |
|
---|
[9b6b2f] | 247 | TesselationUnitTest_SOURCES = UnitTestMain.cpp tesselationunittest.cpp tesselationunittest.hpp
|
---|
[4d9c01] | 248 | TesselationUnitTest_LDADD = ${ALLLIBS}
|
---|
[c15ca2] | 249 |
|
---|
[9b6b2f] | 250 | Tesselation_BoundaryTriangleUnitTest_SOURCES = UnitTestMain.cpp tesselation_boundarytriangleunittest.cpp tesselation_boundarytriangleunittest.hpp
|
---|
[4d9c01] | 251 | Tesselation_BoundaryTriangleUnitTest_LDADD = ${ALLLIBS}
|
---|
[e9c677] | 252 |
|
---|
[9b6b2f] | 253 | Tesselation_InOutsideUnitTest_SOURCES = UnitTestMain.cpp tesselation_insideoutsideunittest.cpp tesselation_insideoutsideunittest.hpp
|
---|
[4d9c01] | 254 | Tesselation_InOutsideUnitTest_LDADD = ${ALLLIBS}
|
---|
[d96277] | 255 |
|
---|
[36166d] | 256 | TestRunner_SOURCES = TestRunnerMain.cpp $(TESTSOURCES) $(TESTHEADERS)
|
---|
[b37436] | 257 | TestRunner_LDADD = ${UILIBS} ${ALLLIBS}
|
---|
[7a1ce5] | 258 |
|
---|
[bbf1bd] | 259 | VectorContentUnitTest_SOURCES = UnitTestMain.cpp VectorContentUnittest.cpp VectorContentUnittest.hpp
|
---|
| 260 | VectorContentUnitTest_LDADD = ${ALLLIBS}
|
---|
| 261 |
|
---|
[18eecf] | 262 | VectorUnitTest_SOURCES = UnitTestMain.cpp vectorunittest.cpp vectorunittest.hpp
|
---|
| 263 | VectorUnitTest_LDADD = ${ALLLIBS}
|
---|
[7326b2] | 264 |
|
---|
[18eecf] | 265 | #AUTOMAKE_OPTIONS = parallel-tests
|
---|