mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 19:05:59 -04:00
Merge branch 'sdl2-include-paths'
This commit is contained in:
commit
104267b3e3
@ -30,25 +30,25 @@ before_build:
|
||||
- |-
|
||||
%NEEDDEPENDS% %MSVC% appveyor DownloadFile http://www.libsdl.org/release/SDL2-devel-2.0.4-VC.zip
|
||||
%NEEDDEPENDS% %MSVC% 7z x SDL2-devel-2.0.4-VC.zip > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2-2.0.4\include\* %PREFIX%\include\SDL2 > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2-2.0.4\include\* %PREFIX%\include > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2-2.0.4\lib\x86\* %PREFIX%\lib > nul
|
||||
|
||||
- |-
|
||||
%NEEDDEPENDS% %MSVC% appveyor DownloadFile http://www.libsdl.org/projects/SDL_image/release/SDL2_image-devel-2.0.1-VC.zip
|
||||
%NEEDDEPENDS% %MSVC% 7z x SDL2_image-devel-2.0.1-VC.zip > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_image-2.0.1\include\* %PREFIX%\include\SDL2 > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_image-2.0.1\include\* %PREFIX%\include > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_image-2.0.1\lib\x86\* %PREFIX%\lib > nul
|
||||
|
||||
- |-
|
||||
%NEEDDEPENDS% %MSVC% appveyor DownloadFile http://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-devel-2.0.1-VC.zip
|
||||
%NEEDDEPENDS% %MSVC% 7z x SDL2_mixer-devel-2.0.1-VC.zip > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_mixer-2.0.1\include\* %PREFIX%\include\SDL2 > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_mixer-2.0.1\include\* %PREFIX%\include > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_mixer-2.0.1\lib\x86\* %PREFIX%\lib > nul
|
||||
|
||||
- |-
|
||||
%NEEDDEPENDS% %MSVC% appveyor DownloadFile https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-devel-2.0.14-VC.zip
|
||||
%NEEDDEPENDS% %MSVC% 7z x SDL2_ttf-devel-2.0.14-VC.zip > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_ttf-2.0.14\include\* %PREFIX%\include\SDL2 > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_ttf-2.0.14\include\* %PREFIX%\include > nul
|
||||
%NEEDDEPENDS% %MSVC% copy SDL2_ttf-2.0.14\lib\x86\* %PREFIX%\lib > nul
|
||||
|
||||
# Depends for MinGW32
|
||||
|
@ -6,6 +6,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
### Added
|
||||
* ```Window::GetOpacity()``` and ```Window()::SetOpacity()``` wrappers for functions appeared in SDL 2.0.5
|
||||
|
||||
### Changed
|
||||
* libSDL2pp now follows SDL2 include path conventions, finding and using SDL2 headers without SDL2/ prefix
|
||||
|
||||
## 0.13.0 - 2016-11-08
|
||||
### Fixed
|
||||
* Fixed SDL 2.0.4 specific ```AudioDevice``` methods: ```AudioDevice::QueueAudio()```, ```AudioDevice::GetQueuedAudioSize()```
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include <functional>
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_audio.h>
|
||||
#include <SDL2/SDL_version.h>
|
||||
#include <SDL_audio.h>
|
||||
#include <SDL_version.h>
|
||||
|
||||
#include <SDL2pp/Optional.hh>
|
||||
#include <SDL2pp/Config.hh>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#ifndef SDL2PP_AUDIOSPEC_HH
|
||||
#define SDL2PP_AUDIOSPEC_HH
|
||||
|
||||
#include <SDL2/SDL_audio.h>
|
||||
#include <SDL_audio.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#include <SDL_ttf.h>
|
||||
|
||||
#include <SDL2pp/Font.hh>
|
||||
#include <SDL2pp/RWops.hh>
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#include <SDL_ttf.h>
|
||||
|
||||
#include <SDL2pp/Optional.hh>
|
||||
#include <SDL2pp/Point.hh>
|
||||
|
@ -25,8 +25,8 @@
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL_stdinc.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <iostream>
|
||||
#include <functional>
|
||||
|
||||
#include <SDL2/SDL_rect.h>
|
||||
#include <SDL_rect.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_rwops.h>
|
||||
#include <SDL_rwops.h>
|
||||
#include <SDL2pp/Exception.hh>
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -24,7 +24,7 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <SDL2/SDL_rect.h>
|
||||
#include <SDL_rect.h>
|
||||
|
||||
#include <SDL2pp/Optional.hh>
|
||||
#include <SDL2pp/Point.hh>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/Renderer.hh>
|
||||
#include <SDL2pp/Window.hh>
|
||||
|
@ -22,8 +22,8 @@
|
||||
#ifndef SDL2PP_RENDERER_HH
|
||||
#define SDL2PP_RENDERER_HH
|
||||
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL2/SDL_blendmode.h>
|
||||
#include <SDL_stdinc.h>
|
||||
#include <SDL_blendmode.h>
|
||||
|
||||
#include <SDL2pp/Config.hh>
|
||||
#include <SDL2pp/Optional.hh>
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#ifndef SDL2PP_SDL_HH
|
||||
#define SDL2PP_SDL_HH
|
||||
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL_stdinc.h>
|
||||
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL_image.h>
|
||||
|
||||
#include <SDL2pp/SDLImage.hh>
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/SDLMixer.hh>
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL_ttf.h>
|
||||
#include <SDL_ttf.h>
|
||||
|
||||
#include <SDL2pp/SDLTTF.hh>
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
@ -23,9 +23,9 @@
|
||||
|
||||
#include <SDL2pp/Config.hh>
|
||||
|
||||
#include <SDL2/SDL_surface.h>
|
||||
#include <SDL_surface.h>
|
||||
#ifdef SDL2PP_WITH_IMAGE
|
||||
# include <SDL2/SDL_image.h>
|
||||
# include <SDL_image.h>
|
||||
#endif
|
||||
|
||||
#include <SDL2pp/Surface.hh>
|
||||
|
@ -22,8 +22,8 @@
|
||||
#ifndef SDL2PP_SURFACE_HH
|
||||
#define SDL2PP_SURFACE_HH
|
||||
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL2/SDL_blendmode.h>
|
||||
#include <SDL_stdinc.h>
|
||||
#include <SDL_blendmode.h>
|
||||
|
||||
#include <SDL2pp/Config.hh>
|
||||
#include <SDL2pp/Optional.hh>
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL_surface.h>
|
||||
#include <SDL_surface.h>
|
||||
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
||||
|
@ -24,9 +24,9 @@
|
||||
|
||||
#include <SDL2pp/Config.hh>
|
||||
|
||||
#include <SDL2/SDL_render.h>
|
||||
#include <SDL_render.h>
|
||||
#ifdef SDL2PP_WITH_IMAGE
|
||||
# include <SDL2/SDL_image.h>
|
||||
# include <SDL_image.h>
|
||||
#endif
|
||||
|
||||
#include <SDL2pp/Texture.hh>
|
||||
|
@ -24,8 +24,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL2/SDL_blendmode.h>
|
||||
#include <SDL_stdinc.h>
|
||||
#include <SDL_blendmode.h>
|
||||
|
||||
#include <SDL2pp/Optional.hh>
|
||||
#include <SDL2pp/Rect.hh>
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL_render.h>
|
||||
#include <SDL_render.h>
|
||||
|
||||
#include <SDL2pp/Exception.hh>
|
||||
#include <SDL2pp/Rect.hh>
|
||||
|
@ -19,7 +19,7 @@
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
*/
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/Window.hh>
|
||||
#include <SDL2pp/Surface.hh>
|
||||
|
@ -24,9 +24,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_version.h>
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL2/SDL_video.h>
|
||||
#include <SDL_version.h>
|
||||
#include <SDL_stdinc.h>
|
||||
#include <SDL_video.h>
|
||||
|
||||
#include <SDL2pp/Point.hh>
|
||||
#include <SDL2pp/Export.hh>
|
||||
|
@ -6,7 +6,7 @@
|
||||
# SDL2_FOUND
|
||||
#
|
||||
|
||||
FIND_PATH(SDL2_INCLUDE_DIR NAMES SDL2/SDL.h)
|
||||
FIND_PATH(SDL2_INCLUDE_DIR NAMES SDL.h PATH_SUFFIXES SDL2)
|
||||
|
||||
FIND_LIBRARY(SDL2_LIBRARY NAMES SDL2)
|
||||
FIND_LIBRARY(SDL2MAIN_LIBRARY NAMES SDL2main)
|
||||
|
@ -6,7 +6,7 @@
|
||||
# SDL2_IMAGE_FOUND
|
||||
#
|
||||
|
||||
FIND_PATH(SDL2_IMAGE_INCLUDE_DIR NAMES SDL2/SDL_image.h)
|
||||
FIND_PATH(SDL2_IMAGE_INCLUDE_DIR NAMES SDL_image.h PATH_SUFFIXES SDL2)
|
||||
|
||||
FIND_LIBRARY(SDL2_IMAGE_LIBRARY NAMES SDL2_image)
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
# SDL2_MIXER_FOUND
|
||||
#
|
||||
|
||||
FIND_PATH(SDL2_MIXER_INCLUDE_DIR NAMES SDL2/SDL_mixer.h)
|
||||
FIND_PATH(SDL2_MIXER_INCLUDE_DIR NAMES SDL_mixer.h PATH_SUFFIXES SDL2)
|
||||
|
||||
FIND_LIBRARY(SDL2_MIXER_LIBRARY NAMES SDL2_mixer)
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
# SDL2_TTF_FOUND
|
||||
#
|
||||
|
||||
FIND_PATH(SDL2_TTF_INCLUDE_DIR NAMES SDL2/SDL_ttf.h)
|
||||
FIND_PATH(SDL2_TTF_INCLUDE_DIR NAMES SDL_ttf.h PATH_SUFFIXES SDL2)
|
||||
|
||||
FIND_LIBRARY(SDL2_TTF_LIBRARY NAMES SDL2_ttf)
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/AudioDevice.hh>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/AudioDevice.hh>
|
||||
|
@ -22,8 +22,8 @@
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL_image.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/SDLImage.hh>
|
||||
|
@ -22,8 +22,8 @@
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_image.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL_image.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/SDLImage.hh>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/Window.hh>
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/SDLMixer.hh>
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/SDLMixer.hh>
|
||||
|
@ -21,8 +21,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL2/SDL_mixer.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL_mixer.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/SDLMixer.hh>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <cmath>
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/Mixer.hh>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/Window.hh>
|
||||
|
@ -21,7 +21,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/Window.hh>
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <iostream>
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL_stdinc.h>
|
||||
#include <SDL_stdinc.h>
|
||||
|
||||
#include <SDL2pp/SDL.hh>
|
||||
#include <SDL2pp/SDLTTF.hh>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
#include <@HEADER@>
|
||||
|
||||
int main(int, char*[]) {
|
||||
|
@ -2,7 +2,7 @@
|
||||
#include <algorithm>
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL2pp/SDL2pp.hh>
|
||||
|
||||
#include "testing.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL2pp/SDL2pp.hh>
|
||||
|
||||
#include "testing.h"
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL2pp/SDL2pp.hh>
|
||||
|
||||
#ifdef SDL2PP_WITH_IMAGE
|
||||
# include <SDL2/SDL_image.h>
|
||||
# include <SDL_image.h>
|
||||
#endif
|
||||
|
||||
#include "testing.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <ios>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
#include <SDL.h>
|
||||
#include <SDL2pp/SDL2pp.hh>
|
||||
|
||||
#include "testing.h"
|
||||
|
@ -1,5 +1,5 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL2/SDL_error.h>
|
||||
#include <SDL_main.h>
|
||||
#include <SDL_error.h>
|
||||
|
||||
#include <SDL2pp/Exception.hh>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/SDLTTF.hh>
|
||||
#include <SDL2pp/Font.hh>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <string>
|
||||
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/Optional.hh>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/Point.hh>
|
||||
#include <SDL2pp/Rect.hh>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/Point.hh>
|
||||
#include <SDL2pp/Rect.hh>
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include <vector>
|
||||
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/Exception.hh>
|
||||
#include <SDL2pp/ContainerRWops.hh>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/Surface.hh>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <SDL2/SDL_main.h>
|
||||
#include <SDL_main.h>
|
||||
|
||||
#include <SDL2pp/Wav.hh>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user