mirror of
https://github.com/glest/glest-source.git
synced 2025-10-02 10:26:45 +02:00
- CMake build system fixes applied during debian testing (like checking for compiler SSE support etc) - Windows client fix for headless server operation - Crash for some systems when trying to use VBO's - Fixed AZERTY keyboard support - Enhanced support for screenshots in g3d viewer - Updated particle code from titi - Bugfix for custom data path override causing compiler error - Bugfix for fontconfig to properly find fonts on systems that support and have fontconfig installed (fixes numerous non debian based systems that reported null font errors) - Minor UI fix on battle end screen when playing 8 players (last player was sometimes chopped off)
22 lines
721 B
CMake
22 lines
721 B
CMake
#########################################################################################
|
|
# streflop
|
|
#if (NOT $ENV{CXX} MATCHES "icpc")
|
|
# SET(cxxflags "${cxxflags} -mfpmath=sse -msse")
|
|
#endif (NOT $ENV{CXX} MATCHES "icpc")
|
|
|
|
FILE(GLOB_RECURSE STREFLOP_GLOBBED_CPP libm/flt-32/*.cpp)
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
../../include/streflop/libm/flt-32
|
|
../../include/streflop/libm/headers
|
|
)
|
|
|
|
SET(STREFLOP_SRC ${STREFLOP_GLOBBED_CPP})
|
|
# use SSE unconditionally (FIXME?)
|
|
#SET_SOURCE_FILES_PROPERTIES(${STREFLOP_SRC} PROPERTIES COMPILE_FLAGS "-DSTREFLOP_SSE -DLIBM_COMPILING_FLT32 -O3 ${CXXFLAGS}")
|
|
|
|
ADD_LIBRARY(streflop STATIC EXCLUDE_FROM_ALL
|
|
${STREFLOP_SRC}
|
|
)
|
|
set_target_properties(streflop PROPERTIES COMPILE_FLAGS "${PIC_FLAG}")
|