-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Continuation of http://forum.openframeworks.cc/index.php/topic,9095.msg42378.html#new
NOTE: Things may have changed as the projects I'm using are all created using the older creation tools.
Can somebody up to date please check?
Currently XCode's default project setting is /O2 for debug projects
whilst Visual Studio's is /O0
/O0 generally makes the most sense for debug mode as it allows for effective program flow and variable tracking (because with /O2, lines of code and variables are commonly optimised away).
If we are worried that this will leave default users in a default 'slower state' then perhaps we could make release the default? Then people could be aware that they are selecting debug when they want to actually do some debugging?
But this may have other issues (such as some libraries might not perform as many checks as otherwise?)
it might be worth making users more aware of the 2 options anyway, and then start using them consistently