"Fossies" - the Fresh Open Source Software Archive

Member "libgd-2.3.2/tests/CMakeLists.txt" (4 Mar 2021, 1946 Bytes) of package /linux/www/libgd-2.3.2.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 2.3.1_vs_2.3.2.

    1 if (BUILD_TEST)
    2 	SET(DART_TESTING_TIMEOUT 5)
    3 
    4 	INCLUDE(Dart)
    5 
    6 	set(GDTEST_SOURCE_DIR ${GD_SOURCE_DIR}/tests/gdtest)
    7 
    8 	IF (ENABLE_GCOV AND CMAKE_COMPILER_IS_GNUCC)
    9 		SET(CMAKE_BUILD_TYPE TESTINGGCOV)
   10 		SET(CMAKE_CXX_FLAGS_TESTINGGCOV "-g3 -O0")
   11 		SET(CMAKE_C_FLAGS_TESTINGGCOV "-g3 -O0")
   12 	endif (ENABLE_GCOV AND CMAKE_COMPILER_IS_GNUCC)
   13 
   14 	message(STATUS "gd include dir: ${GD_INCLUDE_DIR}" )
   15 	message(STATUS "gd libs dir: ${GD_LIBS_DIR}" )
   16 
   17 	include_directories (BEFORE ${GD_INCLUDE_DIR} "${GDTEST_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${CMAKE_BINARY_DIR}/tests/gdtest")
   18 
   19 	SET(TESTS_DIRS
   20 		avif
   21 		bmp
   22 		fontconfig
   23 		freetype
   24 		gd
   25 		gd2
   26 		gdimagearc
   27 		gdimagebrightness
   28 		gdimageclone
   29 		gdimagecolor
   30 		gdimagecolorclosest
   31 		gdimagecolorclosesthwb
   32 		gdimagecolordeallocate
   33 		gdimagecolorexact
   34 		gdimagecolormatch
   35 		gdimagecolorreplace
   36 		gdimagecolorresolve
   37 		gdimagecolortransparent
   38 		gdimagecompare
   39 		gdimagecontrast
   40 		gdimageconvolution
   41 		gdimagecopy
   42 		gdimagecopymerge
   43 		gdimagecopymergegray
   44 		gdimagecopyresampled
   45 		gdimagecopyresized
   46 		gdimagecopyrotated
   47 		gdimagecreate
   48 		gdimagecrop
   49 		gdimagefile
   50 		gdimagefill
   51 		gdimagefilledarc
   52 		gdimagefilledellipse
   53 		gdimagefilledpolygon
   54 		gdimagefilledrectangle
   55 		gdimagefilltoborder
   56 		gdimagefilter
   57 		gdimageflip
   58 		gdimageellipse
   59 		gdimagegrayscale
   60 		gdimageline
   61 		gdimagenegate
   62 		gdimageopenpolygon
   63 		gdimagepixelate
   64 		gdimagepolygon
   65 		gdimagerectangle
   66 		gdimagerotate
   67 		gdimagescale
   68 		gdimagescatterex
   69 		gdimagesetinterpolationmethod
   70 		gdimagesetpixel
   71 		gdimagesquaretocircle
   72 		gdimagestring
   73 		gdimagestring16
   74 		gdimagestringft
   75 		gdimagestringftex
   76 		gdimagestringup
   77 		gdimagestringup16
   78 		gdimagetruecolortopalette
   79 		gdinterpolatedscale
   80 		gdnewfilectx
   81 		gdtest
   82 		gdtiled
   83 		gdtransformaffineboundingbox
   84 		gdtransformaffinecopy
   85 		gif
   86 		heif
   87 		jpeg
   88 		png
   89 		tga
   90 		tiff
   91 		wbmp
   92 		webp
   93 		xbm
   94 		xpm
   95 	)
   96 
   97 	FOREACH(test_dir ${TESTS_DIRS})
   98 		add_subdirectory (${test_dir})
   99 	ENDFOREACH(test_dir)
  100 
  101 endif (BUILD_TEST)