[CMake] .vfproj with cmake

Tyler Roscoe tyler at cryptio.net
Mon Aug 31 11:28:51 EDT 2009


On Mon, Aug 31, 2009 at 03:17:34PM +0200, lokmane.abbas-turki wrote:
> I don't have the file cmLocalVisualStudio7Generator.cxx in my CMake directories.
> What should I do? Should I add it, if yes, could you send it to me?

That's a source file (see the .cxx extension?). If you want to use the
fix below, you'll need to download the CMake source, make the change,
and rebuild CMake. Luckily, this process is actually pretty
straightforward!

gl,
tyler

> > To fix it temporarily you can hack this method:
> >
> > Source/cmLocalVisualStudio7Generator.cxx
> >
> > void
> > cmLocalVisualStudio7Generator
> > ::WriteProjectStartFortran(std::ostream& fout,
> > const char *libName,
> > cmTarget & target)
> > {
> >
> > cmGlobalVisualStudio7Generator* gg =
> > static_cast(this->GlobalGenerator);
> > fout << "\n"
> > << "
> > << "\tProjectCreator=\"Intel Fortran\"\n"
> > << "\tVersion=\"9.10\"\n";
> > const char* keyword = target.GetProperty("VS_KEYWORD");
> >
> >
> > Make this change in the file:
> >
> > Version="9.10" to Version="11.0"


More information about the CMake mailing list