ulard
To: Terrence Meiczinger
Cc: "cmake@cmake.org"
Sent: Wednesday, May 9, 2012 4:55 PM
Subject: Re: [CMake] INCLUDE command within a toolchain file is stripping file
path if filename is a variable?
2012/5/9 Terrence Meiczinger :
> First, thanks for the responses. Ok, so I am runni
2012/5/9 Terrence Meiczinger :
> First, thanks for the responses. Ok, so I am running cmake 2.6patch4 on RH
> 5.5.
OK then you should really consider giving 2.8.x a try.
2.6.4 is more than 3 years old and there won't be any new 2.6.x release.
Moreover I wasn't able to reproduce the error with 2.
First, thanks for the responses. Ok, so I am running cmake 2.6patch4 on RH 5.5.
I download the code you attached and ran as suggested...
-> cmake -P includeTest.cmake
-- INC_COMMON=include_me.cmake
-- I = /h/tmeiczin/CMAKE/include_me.cmake have been included by
-- I = /h/tmeiczin/CMAKE/include_m
2012/5/9 Terrence Meiczinger :
> I have a top level cmake toolchain file and I want it to include another
> file. If I give the include a string filename it works. However, if I try to
> make the filename a variable, it can no longer find the included file. It
> appears cmake is stripping the pa
On Wednesday 09 May 2012, Terrence Meiczinger wrote:
> I have a top level cmake toolchain file and I want it to include another
> file. If I give the include a string filename it works. However, if I try
> to make the filename a variable, it can no longer find the included file.
> It appears cmake
I have a top level cmake toolchain file and I want it to include another file.
If I give the include a string filename it works. However, if I try to make the
filename a variable, it can no longer find the included file. It appears cmake
is stripping the path.
The following works fine...
linu
Please always also reply to the list, such that other people can profit
from the discussion.
I can't tell you whether you should keep the lines or comment them out,
that really depends on what they do and whether the code relies on them.
You'll have to give a bit more information...
Michael
On 26. Oct, 2010, at 1:02 , sipxuser sipx wrote:
> Dear all,
>
> I'm a newbie of cmake, and have some troubles in using the 'include'
> command. I've already include the searching path into the env veriable PATH.
> But each time running cmake, I always get follow error messages:
>
> CMake Erro
Dear all,
I'm a newbie of cmake, and have some troubles in using the 'include'
command. I've already include the searching path into the env veriable PATH.
But each time running cmake, I always get follow error messages:
CMake Error at CMakeLists.txt: xxx (include):
include could not find load