Dmitry Marakasov
b173ec20eb
Since this is constexpr test, use static_asserts
2017-07-11 23:17:56 -07:00
Dmitry Marakasov
a53df08ff8
Add returns to constexpr tests
...
These are needed since main() is actually replaced with SDL_main()
2017-07-11 17:47:40 +03:00
Dmitry Marakasov
913b219256
Since this is constexpr test, use static_asserts
2017-07-07 22:36:28 +03:00
Dmitry Marakasov
24482d85f6
Follow SDL2 include path conventions
...
Though these are broken and error prone, as they ignore the possibility
of conflicts between SDL, SDL2 and wrappers thereof discarding useful
include path prefix (SDL2/), since SDL and satellite libraries follow
these it's too hard to stay away.
So don't use prefixes for SDL include paths any longer.
2017-02-08 13:19:04 +03:00
Dmitry Marakasov
7dd543053c
Fix more SDL_main issues
...
- Always include SDL2/SDL_main.h in all tests to handle main() correctly
- Link all tests with SDL2pp (and thus with libSDL2main)
2016-01-05 18:28:52 +03:00
Dmitry Marakasov
0aede126fc
Fix main() signatures to be compatible with SDL_main
2015-12-15 22:06:56 +03:00
Dmitry Marakasov
539e6c8fd1
Constexprify even more Rect methods
2015-07-07 21:28:30 +03:00
Dmitry Marakasov
beaa9ed3b8
Constexprify more Rect methods
2015-07-07 16:27:03 +03:00
Dmitry Marakasov
4f3256fda5
Constexprify Rect constructors
2015-07-07 15:42:03 +03:00
Dmitry Marakasov
5a55e91987
Constexprify Point arith ops
2015-07-07 15:41:45 +03:00
Dmitry Marakasov
d11345b6df
Initial Point constexpr support: constructors and comparison operators
2015-07-07 05:17:09 +03:00