Re: [CMake] ctest with cmake without compiler

2009-02-09 Thread Bill Hoffman

Verweij, Arjen wrote:

Hi,

Yes, it certainly disables some checks. Thanks for the pointer.

However, on an NT system without Visual Studio for instance, but with
nmake.exe (or make.exe of msys), I still cannot have cmake generate
Makefiles:

$ cmake .
CMake Error: CMake was unable to find a build program corresponding to
"Visual Studio 6".  CMAKE_MAKE_PROGRAM is not set.  You probably need to
select a different build tool.
-- Configuring incomplete, errors occurred!



cmake -G"Unix Makefiles"  should do the trick.  Or cmake -G"NMake 
Makefiles".


-Bill
___
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] ctest with cmake without compiler

2009-02-09 Thread Verweij, Arjen
Hi,

Yes, it certainly disables some checks. Thanks for the pointer.

However, on an NT system without Visual Studio for instance, but with
nmake.exe (or make.exe of msys), I still cannot have cmake generate
Makefiles:

$ cmake .
CMake Error: CMake was unable to find a build program corresponding to
"Visual Studio 6".  CMAKE_MAKE_PROGRAM is not set.  You probably need to
select a different build tool.
-- Configuring incomplete, errors occurred!

The CMakeFiles directory is mostly empty except for cmake.check_cache
which only contains comments.

What I want, is to be able to deploy a tarball or an installer, install
some test tools, and test the binaries that were provided in a "clean"
environment, like a virtual machine. Testing on build machines is
undesirable. Setting CMAKE_MAKE_PROGRAM to (n)make.exe does not help.

Regards,

Arjen

| Verweij, Arjen wrote:
| > Well, obviously the problem is requiring a compiler when it makes no

| > sense. Like on test-only systems.
| >
| 
| Not that obvious
| 
| project(FooBar NONE)
| 
| That will stop CMake from enabling any compilers or languages.
___
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] ctest with cmake without compiler

2009-02-04 Thread Bill Hoffman

Verweij, Arjen wrote:
Well, obviously the problem is requiring a compiler when it makes no 
sense. Like on test-only systems.
 


Not that obvious

project(FooBar NONE)

That will stop CMake from enabling any compilers or languages.

-Bill
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


Re: [CMake] ctest with cmake without compiler

2009-02-04 Thread Verweij, Arjen
Well, obviously the problem is requiring a compiler when it makes no sense. 
Like on test-only systems.

Arjen



From: cmake-boun...@cmake.org on behalf of Alexander Neundorf
Sent: Wed 2/4/2009 7:49 PM
To: cmake@cmake.org
Subject: Re: [CMake] ctest with cmake without compiler



On Wednesday 04 February 2009, Verweij, Arjen wrote:
> Hi,
>
> I'm looking for the switch that kills the compiler check in cmake. Is
> there such a switch?

Which problem do you have with the check ?
It should work.

Alex
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake


___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] ctest with cmake without compiler

2009-02-04 Thread Alexander Neundorf
On Wednesday 04 February 2009, Verweij, Arjen wrote:
> Hi,
>
> I'm looking for the switch that kills the compiler check in cmake. Is
> there such a switch?

Which problem do you have with the check ?
It should work. 

Alex
___
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake