[CMake] Using CMake GUI without any compiler

2013-04-19 Thread Jitesh . Butala
Hello,

As suggested by the forums I have tried searching the archives, but I have
not got an answer to my question. Hence, if this is a duplicate question, 
I
apologize in advance.

We have a team across multiple countries which use different versions of
Visual Studio and Eclipse. Hence, for us, CMake would be an ideal tool
through which we can work on projects concurrently. Currently, we are
manually creating the projects and then adding the code files which makes
the process tedious and risky (especially if one of us forgets to add a
setting etc.). But in order to check if the CMakeLists.txt has been 
created
properly, I would like to generate the projects for all the different
flavors of C / C++ compilers that we would like to support. Unfortunately, 
I
do not have all the flavors installed on my machine. Is it possible for me
to generate the projects without the CMake GUI complaining that I do not
have the compiler installed? An example of the error that I see is -

CMake Error: CMake was unable to find a build program corresponding to
Visual Studio 10.  CMAKE_MAKE_PROGRAM is not set.  You probably need to
select a different build tool.

Thanks,
Jitesh Butala
Sr. Design Engineer
ifm engineering Pvt. Ltd.
www.ifm.com--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] Using CMake GUI without any compiler

2013-04-19 Thread Bill Hoffman

On 4/19/2013 7:20 AM, jitesh.but...@ifm.com wrote:

I would like to generate the projects for all the different
flavors of C / C++ compilers that we would like to support.
Unfortunately, I
do not have all the flavors installed on my machine. Is it possible for me
to generate the projects without the CMake GUI complaining that I do not
have the compiler installed? An example of the error that I see is -

CMake Error: CMake was unable to find a build program corresponding to
Visual Studio 10.  CMAKE_MAKE_PROGRAM is not set.  You probably need to
select a different build tool.
No that is not possible with CMake.  The end users must run CMake on 
each system where you want to do a build.  CMake must be installed as 
well as the compiler tool chain being used.


http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F

-Bill




--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake