mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Define _DEBUG for Debug builds
This commit is contained in:
parent
b46c082821
commit
92db741c53
|
@ -114,6 +114,10 @@ else()
|
||||||
add_definitions(-DUSE_OPENGLES_10)
|
add_definitions(-DUSE_OPENGLES_10)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Enable additional defines for the Debug build configuration
|
||||||
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -D_DEBUG")
|
||||||
|
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -D_DEBUG")
|
||||||
|
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
#add include directories
|
#add include directories
|
||||||
set(COMMON_INCLUDE_DIRS
|
set(COMMON_INCLUDE_DIRS
|
||||||
|
|
|
@ -47,6 +47,11 @@ cmake .
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
|
NOTE: to generate a `Debug` build on Unix/Linux, run the Makefile generation step as:
|
||||||
|
```bash
|
||||||
|
cmake -DCMAKE_BUILD_TYPE=Debug .
|
||||||
|
```
|
||||||
|
|
||||||
**On the Raspberry Pi:**
|
**On the Raspberry Pi:**
|
||||||
|
|
||||||
Complete Raspberry Pi build instructions at [emulationstation.org](http://emulationstation.org/gettingstarted.html#install_rpi_standalone).
|
Complete Raspberry Pi build instructions at [emulationstation.org](http://emulationstation.org/gettingstarted.html#install_rpi_standalone).
|
||||||
|
|
Loading…
Reference in a new issue