"Bill Hoffman" wrote:
> There is no way to do that from CMake. I consider it a feature since you
> can move an executable anywhere on the machine and the debugger still
> works. Is this causing something not to work?
Kindly see my response to Eric. In regards to the debugger; this is
precisel
"Eric Noulard" wrote:
> What is the final reason that makes you want to avoid the "monstrosities"?
I do not want the __FILE__ macro to reveal the structure of the project.
Also, I'm trying to keep the log file entries short.
I guess I can wrap __FILE__ with another macro that extracts relative
"Bill Hoffman" wrote:
> You should give up on CMAKE_USE_RELATIVE_PATHS , and we should deprecate
> it from CMake. It just does not work, and frustrates people.
Fair enough, but what are the alternatives? My two requirements are:
- Using out-of-source builds
- Have the gcc compiler use rela
This is a follow up to the message ("Setting variables in CMakeLists.txt")
that I posted on April 30th, 2009.
I am now using cmake 2.8.0 and the CMAKE_USE_RELATIVE_PATHS variable still
does not work. It does work for in-source builds (when I build the object
files inside the 'src' directory) b
"Eric Noulard" wrote
in message
news:cbe23c50905020632o2aafa8c3kb36dc6e1f023c...@mail.gmail.com...
> I did catch that one. But I was asking whether if you check that
> your SOURCE tree is clean.
Yes, I tried the in-source build only after the out-of-source build did not
work. I did remove t
"Eric Noulard" wrote
in message
news:cbe23c50905020426k2168c820ub9a0f31f738d9...@mail.gmail.com...
>Did you check that your source tree has been properly clean from
>any files after your [may be first] in-source try?
>
>You should delete,
> CMakeCache.txt
>any CMakeFiles/ directories
>and an
"Philip Lowman" wrote in message
news:f168bb790904301926p217e9bafn6f58a1a2a9b12...@mail.gmail.com...
>
> Which version of CMake are you using?
>
I was using cmake 2.6.3. I have installed cmake 2.6.4 but the problem is
still there. Looking at the makefiles in the generated build/CMakeFiles
c
I'm having problems setting variables in my CMakeLists.txt files.
Specifically, the following two lines have absolutely no effect, regardless
of what values I give them:
SET (CMAKE_VERBOSE_MAKEFILEON)
SET (CMAKE_USE_RELATIVE_PATHS ON)
Note: I've also tried TRUE and YES instead