mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Added XCode related config
This commit is contained in:
parent
ab89c9d8fc
commit
c5455cc97b
3
.gitignore
vendored
3
.gitignore
vendored
@ -17,6 +17,9 @@ sdl2pp.pc
|
|||||||
*.sln
|
*.sln
|
||||||
Debug/
|
Debug/
|
||||||
Win32/
|
Win32/
|
||||||
|
CMakeScripts/
|
||||||
|
*.build
|
||||||
|
*.xcodeproj
|
||||||
|
|
||||||
# Binaries
|
# Binaries
|
||||||
*.o
|
*.o
|
||||||
|
@ -93,6 +93,10 @@ ELSE(MSVC)
|
|||||||
#APPEND_CXX_FLAG_IF_SUPPORTED(-Wno-c++98-compat SDL2PP_WARNINGS)
|
#APPEND_CXX_FLAG_IF_SUPPORTED(-Wno-c++98-compat SDL2PP_WARNINGS)
|
||||||
#APPEND_CXX_FLAG_IF_SUPPORTED(-Wno-padded SDL2PP_WARNINGS)
|
#APPEND_CXX_FLAG_IF_SUPPORTED(-Wno-padded SDL2PP_WARNINGS)
|
||||||
ENDIF(MSVC)
|
ENDIF(MSVC)
|
||||||
|
IF (CMAKE_GENERATOR STREQUAL "Xcode")
|
||||||
|
# To disable colored output on the XCode test console
|
||||||
|
ADD_DEFINITIONS(-DSDL2PP_XCODE_GENERATED)
|
||||||
|
ENDIF (CMAKE_GENERATOR STREQUAL "Xcode")
|
||||||
|
|
||||||
LIST(REMOVE_DUPLICATES SDL2_ALL_INCLUDE_DIRS)
|
LIST(REMOVE_DUPLICATES SDL2_ALL_INCLUDE_DIRS)
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#if (defined _WIN32) || (defined SDL2PP_XCODE_GENERATED)
|
||||||
# define TESTING_NO_COLOR
|
# define TESTING_NO_COLOR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user