Re: [AD] SF.net SVN: alleg:[12842] allegro/branches/4.9

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Sun, January 24, 2010 4:13 pm, eglebbk@xxxxxxxxxx said:
> Modified: allegro/branches/4.9/cmake/Common.cmake
> ===================================================================
> --- allegro/branches/4.9/cmake/Common.cmake	2010-01-24 22:22:04 UTC (rev 12841)
> +++ allegro/branches/4.9/cmake/Common.cmake	2010-01-24 23:13:25 UTC (rev 12842)
> @@ -113,6 +113,9 @@
>      if(NOT BUILD_SHARED_LIBS)
>          set_target_properties(${nm} PROPERTIES COMPILE_FLAGS "-DALLEGRO_STATICLINK")
>      endif(NOT BUILD_SHARED_LIBS)
> +   if(MINGW)
> +       set_target_properties(${nm} PROPERTIES LINK_FLAGS "-Wl,-subsystem,windows")
> +   endif(MINGW)
>  endfunction(add_our_executable)

I think this is incorrect. As far as I know there was some confusion over which way was the right
way but currently with the latest gcc -mwindows is the only way to get what we want here.
Could be wrong.

Trent :{)>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/