BINGO!

klaas.holwerda wrote:
> -DNDEBUG # not in wxDevCpp files, but in Cmake, trying to not us it now, 
> seems it is used to disable assertions
> -O3 # optimiz a lot, not in wxDevCpp but is in cmake, this could well be 
> a reason the size of libs was so different.
>   
Removing these two options make it all work.
I am not sure only -O3 is enough, but will soon know.

So with CMakeSetup.exe you can switch on show advanced values.
There you see:

CMAKE_CXX_FLAGS_RELEASE being -O3 -DNDEBUG

and

CMAKE_C_FLAGS_RELEASE being -O3 -DNDEBUG

remove them!!

Switch on CMAKE_VERBOSE_MAKEFILE.

Please let me know the the outcome. Which samples do and don't work.

Klaas




-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to