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

Bill Hoffman bill.hoffman at kitware.com
Thu Apr 3 09:11:30 EST 2003


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 






More information about the CMake mailing list