Hi all,
I want to generate both nmake files and visual studio project files for the
same libraries. When I try to do this I get this error:
CMake Error: Error: generator : NMake Makefiles
Does not match the generator used previously: Visual Studio 7 .NET 2003
Either remove the CMakeCache.txt file
Teodor Calin Hanchevici wrote:
> Hi all,
> I want to generate both nmake files and visual studio project files for
> the same libraries. When I try to do this I get this error:
>
> CMake Error: Error: generator : NMake Makefiles
> Does not match the generator used previously: Visual Studio 7 .NET
Thanks,
I tried this and it does not work
It generates in the same directory where CMakeLists.txt is located.
calin
On 4/11/07, Filipe Sousa <[EMAIL PROTECTED]> wrote:
Yes
Use different directories for each generator:
mkdir nmake_gen
cd nmake_gen
cmake -G"NMake Makefiles" /path/to/the/project
Teodor Calin Hanchevici wrote:
>
> Thanks,
> I tried this and it does not work
> It generates in the same directory where CMakeLists.txt is located.
You have to remove all generated files by cmake in the same directory
where CMakeLists.txt is located.
Filipe Sousa
signature.asc
Description: O
On 2007-04-11 15:35-0400 Teodor Calin Hanchevici wrote:
Thanks,
I tried this and it does not work
It generates in the same directory where CMakeLists.txt is located.
See the "I run an out-of-source build but CMake generates in-source anyway.
Why?" question in the FAQ at http://www.cmake.org/Wi
This is the problem,
I want to be able to generate both Nmake and visual project files without
removing any files.
what I want is to be able to run something like
cmake -G"Nmake makefiles" -D
cmake -G"Visual Studio 8 2005" -D
calin
On 4/11/07, Filipe Sousa <[EMAIL PROTECTED]> wrote:
Teodor Cal
Teodor Calin Hanchevici wrote:
> This is the problem,
> I want to be able to generate both Nmake and visual project files
> without removing any files.
> what I want is to be able to run something like
> cmake -G"Nmake makefiles" -D
> cmake -G"Visual Studio 8 2005" -D
>
> calin
You can't use diff
OK,
I will do that.
Thank you for your help
calin
On 4/11/07, Filipe Sousa <[EMAIL PROTECTED]> wrote:
Teodor Calin Hanchevici wrote:
> This is the problem,
> I want to be able to generate both Nmake and visual project files
> without removing any files.
> what I want is to be able to run somet
Filipe,
> You can't use different generators running in-source build.
> The solution is out-of-source builds, one for each generator.
>
> http://www.cmake.org/Wiki/CMake_FAQ#Out-of-source_build_trees
As a recent newbie I had a really hard time understanding how to do an
out of source build, th
Trevor Kellaway wrote:
> Filipe,
>
>
>
> As a recent newbie I had a really hard time understanding how to do an
> out of source build, there were loads of references telling I should be
> doing this, but no "how to" anywhere I could easily find. It is one of
> those approaches that is blindingly
CMake is a great program, once you get to grips with it, more examples
for the documentation would make that much easier.
however
http://www.cmake.org/HTML/RunningCMake.html
The in-source and out-of-source build are documented there, yet that
documentation is going to lead a lot of users astr
Alan W. Irwin wrote:
CMake is a great program, once you get to grips with it, more examples
for the documentation would make that much easier.
however
http://www.cmake.org/HTML/RunningCMake.html
The in-source and out-of-source build are documented there, yet that
documentation is going to le
On 2007-04-12 22:12-0400 Bill Hoffman wrote:
Alan W. Irwin wrote:
CMake is a great program, once you get to grips with it, more examples
for the documentation would make that much easier.
however
http://www.cmake.org/HTML/RunningCMake.html
The in-source and out-of-source build are document
Filipe,
> > I'd suggest that the FAQ includes an example, it would make
> life much
> > easier for newbies.
>
> You are absolutely right
>
> however
> http://www.cmake.org/HTML/RunningCMake.html
Hm, obviously not visible enough, as I never found it and looked fairly
hard.
I've updated the Wi
14 matches
Mail list logo