diff --git a/.gitignore b/.gitignore index 74eebcd8f..1303bc309 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ #Compiled executable emulationstation + +#build directory +EmulationStation_vs2010 \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ba94b256..22be6ae3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -50,9 +50,8 @@ if(MSVC) endif() if(CMAKE_COMPILER_IS_GNUCXX) - set(CMAKE_CXX_FLAGS "-std=c++11") #support C++11 - set(CMAKE_CXX_FLAGS "-O2") #optimize - set(CMAKE_EXE_LINKER_FLAGS "-s") #strip binary + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -O2") #support C++11 for std::, optimize + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s") #strip binary endif() if(${GLSystem} MATCHES "Desktop OpenGL") diff --git a/EmulationStation_vs2010/EmulationStation_vs2010/lib_paths.props b/EmulationStation_vs2010/EmulationStation_vs2010/lib_paths.props index 4a5c3779c..671614079 100644 --- a/EmulationStation_vs2010/EmulationStation_vs2010/lib_paths.props +++ b/EmulationStation_vs2010/EmulationStation_vs2010/lib_paths.props @@ -3,15 +3,15 @@ - C:\Games\VC++ Includes\freetype-2.3.5-1-bin\include\freetype2;C:\Games\VC++ Includes\SDL_mixer-1.2.12\include;C:\Games\VC++ Includes\FreeImage\Dist;C:\boost_1_53_0;C:\Games\VC++ Includes\SDL-1.2.15\include;$(IncludePath) - C:\Games\VC++ Includes\freetype-2.3.5-1-bin\lib;C:\Games\VC++ Includes\SDL_mixer-1.2.12\lib\x86;C:\Games\VC++ Includes\FreeImage\Dist;C:\boost_1_53_0\stage\lib;C:\Games\VC++ Includes\SDL-1.2.15\lib\x86;$(LibraryPath) + C:/Programmierung/Projekte/trunk_clean/freetype2/include;C:/Users/kr.ERPA/Documents/GitHub/FreeImage/Dist;C:\Users\kr.ERPA\Documents\GitHub\SDL-1.2.15\include;C:\Programmierung\Projekte\VPackNG\modules\boost-1.53.0\include;%(AdditionalLibraryDirectories);$(IncludePath) + C:/Programmierung/Projekte/trunk_clean/freetype2/lib;C:/Users/kr.ERPA/Documents/GitHub/FreeImage/Dist;C:\Users\kr.ERPA\Documents\GitHub\SDL-1.2.15\lib\x86;C:\Programmierung\Projekte\VPackNG\modules\boost-1.53.0\lib;$(LibraryPath) _DESKTOP_;%(PreprocessorDefinitions) - SDLmain.lib;SDL.lib;FreeImage.lib;freetype.lib;opengl32.lib;SDL_mixer.lib;%(AdditionalDependencies) + SDLmain.lib;SDL.lib;FreeImage.lib;freetype.lib;opengl32.lib;%(AdditionalDependencies) Windows diff --git a/src/components/GuiList.h b/src/components/GuiList.h index 076f77386..cb1110d11 100644 --- a/src/components/GuiList.h +++ b/src/components/GuiList.h @@ -7,6 +7,7 @@ #include "../InputManager.h" #include #include +#include #include "../Sound.h" //A graphical list. Supports multiple colors for rows and scrolling.