Source

gd-libgd / src / CMakeLists.txt

Full commit
pajoye befda52 



pajoye 3a0892b 
pajoye c0f943e 
pajoye 141b386 
pajoye befda52 
pajoye 3a0892b 

pajoye befda52 


pajoye 3a0892b 


pajoye befda52 





pajoye 3fe84c3 
pajoye 3a0892b 
pajoye befda52 
pajoye f2b28b4 
pajoye 4d61d42 
pajoye 3a0892b 
pajoye befda52 



pajoye 3a0892b 
pajoye befda52 
pajoye 3a0892b 
pajoye befda52 
pajoye 3a0892b 
pajoye befda52 
pajoye 3a0892b 
pajoye befda52 
pajoye 3a0892b 
pajoye befda52 
pajoye 3a0892b 
pajoye befda52 







pajoye 3a0892b 
pajoye befda52 


pajoye ed78df4 
pajoye befda52 
pajoye ed78df4 
pajoye befda52 
pajoye 1de71d3 
pajoye befda52 
pajoye 1de71d3 
pajoye befda52 


pajoye f2b28b4 
pajoye ed78df4 
pajoye befda52 

SET (LIBGD_SRC_FILES
	gd.c
	gdfx.c
	gdfx.h
	gd_crop.c
	gd_transform.c
	gd_security.c
	gdpp.cxx
	gdpp.h
	gd_gd.c
	gd_gd2.c
	gd_io.c
	gd_io.h
	gd_io_stream.cxx
	gd_io_stream.h
	gd_io_dp.c
	gd_gif_in.c
	gd_gif_out.c
	gd_io_file.c
	gd_io_ss.c
	gd_jpeg.c
	gd_nnquant.c
	gd_nnquant.h
	gd_png.c
	gd_tiff.c
	gd_tga.c
	gd_tga.h
	gd_ss.c
	gd_topal.c
	gd_wbmp.c
	gdcache.c
	gdcache.h
	gdfontg.c
	gdfontg.h
	gdfontl.c
	gdfontl.h
	gdfontmb.c
	gdfontmb.h
	gdfonts.c
	gdfonts.h
	gdfontt.c
	gdfontt.h
	gdft.c
	gdhelpers.c
	gdhelpers.h
	gdkanji.c
	gdtables.c
	gdxpm.c
	jisx0208.h
	wbmp.c
	gd.h
	wbmp.h
)


add_library(${GD_LIB} ${LIBGD_SRC_FILES})
add_library(${GD_LIB_STATIC} STATIC  ${LIBGD_SRC_FILES})

if (WIN32 AND NOT MINGW AND NOT MSYS)
	SET_TARGET_PROPERTIES(${GD_LIB} PROPERTIES LINK_FLAGS "/NODEFAULTLIB:msvcrt.lib")
ENDIF(WIN32 AND NOT MINGW AND NOT MSYS)

INCLUDE_DIRECTORIES(${CMAKE_BINARY_DIR}/  ${GD_SOURCE_DIR}/src)

target_link_libraries(${GD_LIB} ${FREETYPE_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${XPM_LIBRARIES} ${FONTCONFIG_LIBRARIES})
target_link_libraries(${GD_LIB_STATIC} ${FREETYPE_LIBRARIES} ${PNG_LIBRARIES} ${JPEG_LIBRARIES} ${TIFF_LIBRARIES} ${XPM_LIBRARIES} ${FONTCONFIG_LIBRARIES})