[CMake] Generating makefile from Visual Studio Project (Migrating
to Eclipse)
Olumide
50295 at web.de
Thu Dec 6 20:20:44 EST 2007
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?
C:\Program Files\Common Files\System\Mapi\1033\test\b>cmake -G"NMake
Makefiles" ..
-- Check for CL compiler version
-- Check for CL compiler version - 1310
-- Check if this is a free VC compiler
-- Check if this is a free VC compiler - no
-- Check CL platform
-- Check CL platform - 32 bit
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe
-- Check for working C compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files/Microsoft Visual
Studio .NET 2003/Vc7/bin/cl.exe -- works
CMake Error: Cannot find source file "C:/Program Files/Common
Files/System/Mapi/1033/test/foo.cxx" for target "foo"
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .hh .h++ .hm .hpp
.hxx .in .txx
-- Configuring done
PS: thanks for taking the time to help. I'm very grateful.
More information about the CMake
mailing list