this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Added control of debug symbols to CMakeLists.txt

+9 -2
+9 -2
CMakeLists.txt
··· 9 9 endif(UNIX) 10 10 11 11 option(SDL_gpu_INSTALL "Install SDL_gpu libs, includes, and CMake scripts" ${SDL_gpu_INSTALL_BY_DEFAULT}) 12 + option(SDL_gpu_BUILD_DEBUG "Build with debugging symbols" ON) 12 13 option(SDL_gpu_BUILD_SHARED "Build SDL_gpu shared libraries" OFF) 13 14 option(SDL_gpu_BUILD_STATIC "Build SDL_gpu static libraries" ON) 14 15 option(SDL_gpu_BUILD_DEMOS "Build SDL_gpu demo programs" ON) ··· 25 26 option(SDL_gpu_DISABLE_GLES_2 "Disable OpenGLES 2.X renderer" OFF) 26 27 option(SDL_gpu_DISABLE_GLES_3 "Disable OpenGLES 3.X renderer" OFF) 27 28 28 - set(SDL_gpu_VERSION 0.1.0) 29 + set(SDL_gpu_VERSION 0.8.0) 29 30 30 31 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMake_scripts) 32 + 33 + if ( SDL_gpu_BUILD_DEBUG ) 34 + SET(CMAKE_BUILD_TYPE Debug) 35 + else ( SDL_gpu_BUILD_DEBUG ) 36 + SET(CMAKE_BUILD_TYPE Release) 37 + endif ( SDL_gpu_BUILD_DEBUG ) 31 38 32 39 # Find the package for SDL or SDL2 33 40 if ( NOT SDL_gpu_USE_SDL2 ) ··· 116 123 include_directories(SDL_gpu/externals/stb_image) 117 124 118 125 119 - add_definitions("-g -Wall -std=c99 -pedantic -DSTBI_FAILURE_USERMSG") 126 + add_definitions("-Wall -std=c99 -pedantic -DSTBI_FAILURE_USERMSG") 120 127 121 128 # Build the SDL_gpu library. 122 129 add_subdirectory(SDL_gpu)