[CMake] Generating makefile from Visual Studio Project (Migrating to Eclipse)

Bill Hoffman bill.hoffman at kitware.com
Thu Dec 6 20:33:38 EST 2007


Olumide wrote:
> Bill Hoffman wrote:
>> Are you running in this directory:
>> C:/Program Files/Common Files/System/Mapi/1033?
> 
> I'm running the tests you've asked me to in this directory. My projects 
> are in another directory.
> 
>> Can you give the version of cmake and exact commands you are running? 
> 
> I have cmake version 2.4-patch 7. So far, I've only tried running cmake 
> -G"NMake Makefiles" and cmake -G"Unix Makefiles" in my visual studio 
> project directory.
> 
>> Can you create a very simple project?
>> [...]
>> 6. cmake -G"NMake Makefiles" ..
> 
> Success finally -- or is it?
> \
> 
> Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp 
> .hxx .in .txx
> -- Configuring done
> 
That is success. You would of course need to create a foo.cxx file to be 
compiled.  But the compiler detection worked fine.  I would recommend 
starting from an empty build tree.

-Bill


More information about the CMake mailing list