mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
b02ef69d49
Removed omission of frame pointers as it makes crash reports much less useful Modified warning flags to hide annoying reports for external code
26 lines
494 B
CMake
26 lines
494 B
CMake
cmake_minimum_required( VERSION 2.8.7 )
|
|
|
|
use_fast_math()
|
|
require_stricmp()
|
|
|
|
if( ZD_CMAKE_COMPILER_IS_GNUC_COMPATIBLE )
|
|
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-unused-function -Wno-unused-variable" )
|
|
endif()
|
|
|
|
include_directories( timidity )
|
|
|
|
file( GLOB HEADER_FILES
|
|
timidity/*.h
|
|
)
|
|
add_library( timidity STATIC
|
|
common.cpp
|
|
instrum.cpp
|
|
instrum_dls.cpp
|
|
instrum_font.cpp
|
|
instrum_sf2.cpp
|
|
mix.cpp
|
|
playmidi.cpp
|
|
resample.cpp
|
|
timidity.cpp
|
|
)
|
|
target_link_libraries( timidity )
|