Olivier Tournaire wrote:
> I am currently trying to build a win32 app. However, I am not able to
> set in the CMakeLists.txt the subsystem for visual c++. It is, by
> default, set to subsystem:console.

$ /usr/bin/cmake --help-command add_executable
[...]
         ADD_EXECUTABLE(exename [WIN32] [MACOSX_BUNDLE] [...]

   [...]  WIN32 indicates that the executable (when compiled on
   windows) is a windows app (using WinMain) not a console app
   (using main).

Amitha.

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to