[aquaria] [patch] CMakeLists.txt fix for proper MinGW building
GMMan
yukaili.geek at gmail.com
Sun May 8 23:19:45 EDT 2011
Could work. I'll check it out tomorrow.
On Sun, May 8, 2011 at 1:34 PM, Ryan C. Gordon <icculus at icculus.org> wrote:
>
>> Here's a patch that will make sure that Aquaria is built as a Windows
>> GUI app instead of a console app when using GCC (and possibly MSVC).
>> I find rewriting the same block into a if-else-endif redundant, but
>> that's the only way it could be done. Any more efficient methods?
>
> This doesn't work?
>
> IF(WIN32)
> SET(EXETYPE WIN32)
> ENDIF(WIN32)
>
> ADD_EXECUTABLE(aquaria ${EXETYPE} other-stuff-goes-here)
>
> --ryan.
>
> _______________________________________________
> aquaria mailing list
> aquaria at icculus.org
> http://icculus.org/mailman/listinfo/aquaria
>
More information about the aquaria
mailing list