mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
81ae38c072
SVN r3214 (trunk)
28 lines
550 B
CMake
28 lines
550 B
CMake
cmake_minimum_required( VERSION 2.4 )
|
|
|
|
if( CMAKE_COMPILER_IS_GNUC )
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wfloat-equal -Wcast-qual -fomit-frame-pointer" )
|
|
endif( CMAKE_COMPILER_IS_GNUC )
|
|
|
|
add_library( jpeg
|
|
jcomapi.c
|
|
jdapimin.c
|
|
jdapistd.c
|
|
jdatasrc.c
|
|
jdcoefct.c
|
|
jdcolor.c
|
|
jddctmgr.c
|
|
jdhuff.c
|
|
jdinput.c
|
|
jdmainct.c
|
|
jdmarker.c
|
|
jdmaster.c
|
|
jdmerge.c
|
|
jdphuff.c
|
|
jdpostct.c
|
|
jdsample.c
|
|
jerror.c
|
|
jidctint.c
|
|
jmemmgr.c
|
|
jutils.c )
|
|
target_link_libraries( jpeg )
|