[CMake] add_executable WIN32

Alin M Elena alin.elena at qub.ac.uk
Fri Apr 11 05:03:00 EDT 2008


Hi,

I think that I am a little confused about what WIN32 option does in fact.

Is WIN32 supposed to transform main() in a WinMain() entry point (transform
a /subsystem:console -> /subsystem:windows)?
Or 
WIN32 tells compiler: do not downgrade a WinMain to a main()?



Alin


  ____________________________________________________________________
  "...if the universities will not study useless subjects, who will?"
                             G. F. Fitzgerald, Nature, 45/46, 392 (1892)
  ______________________________________________________________________
  Mr. Alin M. ELENA
  Atomistic Simulation Centre
  School of Mathematics and Physics
  Queen's University Belfast
  Office: +44 (0)28 9097 1428
  Fax: +44 (0)28 9097 5359
  http://titus.phy.qub.ac.uk/group/Alin/
  alin.elena at yahoo.co.uk
  alin.elena at qub.ac.uk
  ______________________________________________________________________


More information about the CMake mailing list