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

Reply via email to