[Cmake] CMake and MFC-based Program

Bing Jian bjian at cise.ufl.edu
Fri Aug 27 23:38:31 EDT 2004


Hi, there,
  
      Here is a question about CMake and MFC-based program.  I have the 
workspace created
manually inside visual studio.  Now I want to generate the project file 
automatically by CMake.
Seems the default configuration for the project generated by CMake is 
"Not Using MFC",
I am asking how to enable it in CMakeLists.txt. Now I just modified it 
manually, but still get
following error
    error LNK2001: unresolved external symbol _main
Is it because Visual Studio treats it as console project.?
    Any helps? Many thanks in advance!


-- 
Best wishes,
Bing Jian
bjian at cise.ufl.edu




More information about the Cmake mailing list