#
# List the non-generated source files (*.h, *.cc, *.ui, *.qrc).
#
# Add and remove source files here by hand, keeping the list in alphabetical order.
# (CMake discourages 'file(GLOB)': if source files are added or removed, CMake is not
# automatically re-run, so the build would be unaware of the change.)
#
set(srcs
    ApplicationStateTest.cc
    CircleSweepTest.cc
    CommandLineParserTest.cc
    CptPaletteTest.cc
    CsvExportTest.cc
    DataAssociationDataTableTest.cc
    ExportTemplateFilenameTest.cc
    FlowlineUtilsTest.cc
    GenerateVelocityDomainCitcomsTest.cc
    GeometryDistanceTest.cc
    GeometryIntersectTest.cc
    GeoscimlReaderTest.cc
    GrotFileTest.cc
    GsmlXmlQueryTest.cc
    MipmapperTest.cc
    PartitionFeatureUtilsTest.cc
    PointInPolygonTest.cc
    PolygonOnSphereTest.cc
    PolygonOverlayOracle.h
    PolygonOverlayPrototypeTest.cc
    PolygonOverlayRealDataTest.cc
    PolygonOverlayTest.cc
    PolygonPartitionerTest.cc
    RealTest.cc
    ScribeExportUnitTest.h
    SmartNodeLinkedListTest.cc
    StringSetTest.cc
    TopologyReconstructTest.cc
    TranscribeTest.cc
    TranscribeTest.h
)

# Add the source files to the gplates "unit test" executable
# (if it exists; might not exist if could not find GoogleTest).
#
# Note: This is different to the other sub-directories (which add to 'gplates-lib' static library).
#       This is because source code in this sub-directory is only needed for unit testing.
if (TARGET gplates-unit-test)
    target_sources(gplates-unit-test PRIVATE ${srcs})
endif()
