[CMake] CMake 2.4.6, MinGW and console application

Brandon Van Every bvanevery at gmail.com
Thu Jul 5 09:30:09 EDT 2007


On 7/5/07, Sebarnolds [Seb / Frip] <sebarnolds at hotmail.com> wrote:
>
> I just want to build a regular console application with a main function and
> not a WinMain, does anybody knows how I could do this ?

Do an ADD_EXECUTABLE *without* [WIN32] as an option.  See the docs.

Cheers,
Brandon Van Every


More information about the CMake mailing list