Development > Coding

Using cmake to setup build env

<< < (11/11)

anonymissimus:
Something about the Version shown on the start screen is wrong. CMAKE_BUILD_TYPE is set to Debug with cmake -i and the resulting executable after make does contain debugging information (file size is much larger, line numbers are shown in backtraces) but it keeps showing Release on the start screen.

hwoarangmy:

--- Quote from: anonymissimus on November 04, 2015, 03:58:29 pm ---Something about the Version shown on the start screen is wrong. CMAKE_BUILD_TYPE is set to Debug with cmake -i and the resulting executable after make does contain debugging information (file size is much larger, line numbers are shown in backtraces) but it keeps showing Release on the start screen.

--- End quote ---
That probably means that in debug mode, we should define some flag that we don't

anonymissimus:

--- Quote from: hwoarangmy on November 05, 2015, 09:52:44 pm ---That probably means that in debug mode, we should define some flag that we don't

--- End quote ---
Yes, I found it. We should add_definitions(-DDEBUG). I've submitted a patch:
https://ufoai.org/bugs/ufoalieninvasion/issues/5748

Navigation

[0] Message Index

[*] Previous page

Go to full version