[CMake] How do I tell cmake not to create a console window?
Mike Jackson
mike.jackson at bluequartz.net
Sun May 2 15:46:29 EDT 2010
add_executable(simple simple.c)
_________________________________________________________
Mike Jackson mike.jackson at bluequartz.net
BlueQuartz Software www.bluequartz.net
Principal Software Engineer Dayton, Ohio
On Sun, May 2, 2010 at 10:20 AM, Mr Shore <shore.cloud at gmail.com> wrote:
> I can achieve this by gcc :
>
> gcc -mwindows -o simple simple.c
>
>
> But only find this in cmake:
>
> add_executable(simple WIN32 simple.c)
>
> But it's not exactly the same as -mwindows,
>
> this will require the entry point to be WinMain,
>
> while gcc -mwindows doesn't require this.
>
> How should I do it properly?
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list