# Common test utilities and framework (tcutil)

set(TCUTIL_SRCS
	tcuApp.cpp
	tcuApp.hpp
	tcuArray.hpp
	tcuArray.cpp
	tcuBilinearImageCompare.cpp
	tcuBilinearImageCompare.hpp
	tcuCommandLine.cpp
	tcuCommandLine.hpp
	tcuCompressedTexture.cpp
	tcuCompressedTexture.hpp
	tcuDefs.cpp
	tcuDefs.hpp
	tcuFloat.hpp
	tcuFloat.cpp
	tcuFloatFormat.hpp
	tcuFloatFormat.cpp
	tcuFormatUtil.hpp
	tcuFuzzyImageCompare.cpp
	tcuFuzzyImageCompare.hpp
	tcuImageCompare.cpp
	tcuImageCompare.hpp
	tcuImageIO.cpp
	tcuImageIO.hpp
	tcuInterval.cpp
	tcuInterval.hpp
	tcuMatrix.hpp
	tcuMatrix.cpp
	tcuMatrixUtil.hpp
	tcuPixelFormat.hpp
	tcuPlatform.cpp
	tcuPlatform.hpp
	tcuRGBA.cpp
	tcuRGBA.hpp
	tcuRandomValueIterator.cpp
	tcuRandomValueIterator.hpp
	tcuRenderTarget.cpp
	tcuRenderTarget.hpp
	tcuResource.cpp
	tcuResource.hpp
	tcuResultCollector.cpp
	tcuResultCollector.hpp
	tcuSurface.cpp
	tcuSurface.hpp
	tcuTestCase.cpp
	tcuTestCase.hpp
	tcuTestContext.cpp
	tcuTestContext.hpp
	tcuTestSessionExecutor.cpp
	tcuTestSessionExecutor.hpp
	tcuTestLog.cpp
	tcuTestLog.hpp
	tcuTestPackage.cpp
	tcuTestPackage.hpp
	tcuTexture.cpp
	tcuTexture.hpp
	tcuTextureUtil.cpp
	tcuTextureUtil.hpp
	tcuVector.hpp
	tcuVectorType.hpp
	tcuVectorUtil.hpp
	tcuFunctionLibrary.hpp
	tcuFunctionLibrary.cpp
	tcuThreadUtil.hpp
	tcuThreadUtil.cpp
	tcuStringTemplate.hpp
	tcuStringTemplate.cpp
	tcuTexLookupVerifier.cpp
	tcuTexLookupVerifier.hpp
	tcuTexCompareVerifier.cpp
	tcuTexCompareVerifier.hpp
	tcuTexVerifierUtil.cpp
	tcuTexVerifierUtil.hpp
	tcuCPUWarmup.cpp
	tcuCPUWarmup.hpp
	tcuFactoryRegistry.hpp
	tcuFactoryRegistry.cpp
	tcuSeedBuilder.hpp
	tcuSeedBuilder.cpp
	tcuMaybe.hpp
	tcuMaybe.cpp
	tcuEither.hpp
	tcuEither.cpp
	tcuTestHierarchyIterator.cpp
	tcuTestHierarchyIterator.hpp
	tcuTestHierarchyUtil.cpp
	tcuTestHierarchyUtil.hpp
	tcuAstcUtil.cpp
	tcuAstcUtil.hpp
	)

set(TCUTIL_LIBS
	decpp
	qphelper
	dethread
	${PNG_LIBRARY}
	)

add_library(tcutil STATIC ${TCUTIL_SRCS})
target_link_libraries(tcutil ${TCUTIL_LIBS} ${DEQP_PLATFORM_LIBRARIES})