[Cmake] gui -vs- command line problems (WIN32)

Ken Martin ken.martin at kitware.com
Thu Apr 3 09:25:13 EST 2003


FYI you only have to specify the -G the first time you run cmake on a
project. After that it uses the generator that is in the cache from the
last run.

Ken

> -----Original Message-----
> From: cmake-admin at public.kitware.com [mailto:cmake-
> admin at public.kitware.com] On Behalf Of Bill Hoffman
> Sent: Thursday, April 03, 2003 9:12 AM
> To: Burke Webster; cmake at public.kitware.com
> Subject: Re: [Cmake] gui -vs- command line problems (WIN32)
> 
> You have to specify the -G option to specify the generator.
> The GUI has a pull down and defaults to visual studio 6 or 7.
> The command line defaults to "NMake Makefiles"
> To see available generators, run this command:
> cmake --help
> 
> It should be something like this:
> [-GgeneratorName] (where generator name can be one of these: "Visual
> Studio 6" "Visual Studio 7" "Borland Makefiles" "NMake Makefiles" )
> 
> 
> -Bill
> 
> At 05:36 PM 4/2/2003, Burke Webster wrote:
> >I am currently trying to get our project to build from the command
line
> in
> >Windows.  When running CMakeSetup (gui) and generating the project
files,
> >CMake has no problems.  But when I try and build the project files
from
> the
> >command line, in either cygwin or the windows command prompt
(msdos?), it
> >generates Makefile for a UNIX style build.
> >
> >Is there a way to specify from the command line that I want it to
build
> >MSDEV project files?
> >
> >Thanks,
> >Burke Webster
> >Burke.Webster at ara.com
> >Applied Research Associates
> >
> >_______________________________________________
> >Cmake mailing list
> >Cmake at public.kitware.com
> >http://public.kitware.com/mailman/listinfo/cmake
> 
> 
> 
> _______________________________________________
> Cmake mailing list
> Cmake at public.kitware.com
> http://public.kitware.com/mailman/listinfo/cmake





More information about the CMake mailing list