mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +00:00
d8ff4ec281
- Renamed autostart/autozend since Xcode’s build process links in strictly alphabetical order.
30 lines
682 B
CMake
30 lines
682 B
CMake
cmake_minimum_required( VERSION 2.4 )
|
|
|
|
make_release_only()
|
|
|
|
if( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" )
|
|
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-unused-parameter -fomit-frame-pointer" )
|
|
endif( "${CMAKE_C_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_C_COMPILER_ID}" STREQUAL "Clang" )
|
|
|
|
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 )
|