[CMake] Executable extension (MSVC)

Werner Smekal smekal at iap.tuwien.ac.at
Thu May 15 04:49:28 EDT 2008


Hi John,

> - it seems to me that cmake is building console applications by  
> default (/SUBSYSTEM:CONSOLE).
> That is correct for my .com applications. For the .exe, I will need  
> WINDOWS subsystem. Any possiblities in cmake?
>
Use the WIN32 option of the add_executable command:

http://www.cmake.org/HTML/cmake-2.6.html#command:add_executable

Regards,
Werner

--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria

email: smekal at iap.tuwien.ac.at
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499



More information about the CMake mailing list