On 2010-03-30 10:58-0400 Benoit Thomas wrote:
I'm using version 2.8.0
Indeed, when I'm doing a small test project, everything works perfectly. But
in my real project, it doesn't so I guess I'm doing something wrong
somewhere. I'll try to isolate the code which cause this problem.
Some possibi
Other PROJECT commands or ENABLE_LANGUAGE calls are the things that would
trigger the checks for compilers...
On Tue, Mar 30, 2010 at 10:58 AM, Benoit Thomas
wrote:
> I'm using version 2.8.0
>
> Indeed, when I'm doing a small test project, everything works perfectly.
> But in my real project, i
I'm using version 2.8.0
Indeed, when I'm doing a small test project, everything works perfectly.
But in my real project, it doesn't so I guess I'm doing something wrong
somewhere. I'll try to isolate the code which cause this problem.
Thanks for the help,
Ben.
On 2010-03-30 10:05, David Cole
Hi Thomas
Benoit Thomas ha scritto:
> Is there any other way to diasble cmake for looking for a valid
> compiler ?
I'm not sure, but if you use
INCLUDE(CMakeForceCompiler)
CMAKE_FORCE_C_COMPILER("" GNU)
CMAKE_FORCE_CXX_COMPILER("" GNU)
probably CMake doesn't look for another compiler.
Bye
Dros
It will also prevent any c or c++ from being compiled...
CMake really needs to do this.
On Mar 30, 2010 10:06 AM, "David Cole" wrote:
What is the output, if you have a CMakeLists.txt file with this content:
project(xyz NONE)
And then run this command in the same dir with the CMakeLists file:
m
What is the output, if you have a CMakeLists.txt file with this content:
project(xyz NONE)
And then run this command in the same dir with the CMakeLists file:
mkdir build && cd build && cmake --version && cmake .. && cd ..
Mine is:
cmake version 2.8.1
-- Configuring done
-- Generating done
-- Bui
Hello,
I'm trying to prevent cmake for looking for a valid compiler (since it
currently doesn't find the appropriate compiler and we use cmake to
generate visual studio solutions).
I've tried using project (name NONE) but it doesn't seems to work; I
also tried other combination like project