View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006642CMakeCMakepublic2008-03-23 11:332011-11-08 03:06
ReporterOlaf van der Spek 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionwon't fix 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006642: Absolute relative paths for VS?
Description> RelativePath="F:\VC\xbt\Tracker\transaction.cpp"

This doesn't look absolute to me. ;)
Moving directories isn't possible this way. Could you use relative paths?
TagsCMAKE_USE_RELATIVE_PATHS
Attached Files

 Relationships

  Notes
(0010881)
Olaf van der Spek (reporter)
2008-03-23 11:38

> This doesn't look absolute to me.

Argh, I meant relative of course.
(0010882)
Bill Hoffman (manager)
2008-03-23 13:17

For a variety of reasons we do not use relative paths. Moving CMake generated projects around is not safe. Please search the mailing list for more information.
(0010892)
Olaf van der Spek (reporter)
2008-03-24 14:31

> Please search the mailing list for more information.

I don't see a search option at http://www.cmake.org/pipermail/cmake/ [^]
Is there a search option?
If not, in which months was this discussed? And what were the subjects?

> For a variety of reasons we do not use relative paths. Moving CMake generated projects around is not safe.

I can understand for Linux / make, but for MSVS I don't.
(0010893)
Bill Hoffman (manager)
2008-03-24 14:40

Just use the search box from here:
http://www.cmake.org [^]

Basically, there are lots of try-compile stuff that goes on to figure out the version of the compiler (even on windows), location of installed software, and a bunch of other machine specific stuff. If you are looking to create relocatable vcproj files CMake is the wrong tool. I think there are some folks doing this, although it is unsupported, you may want to try the mailing list instead of the bug tracker.

 Issue History
Date Modified Username Field Change
2008-03-23 11:33 Olaf van der Spek New Issue
2008-03-23 11:38 Olaf van der Spek Note Added: 0010881
2008-03-23 13:17 Bill Hoffman Status new => closed
2008-03-23 13:17 Bill Hoffman Note Added: 0010882
2008-03-23 13:17 Bill Hoffman Resolution open => won't fix
2008-03-24 14:31 Olaf van der Spek Status closed => feedback
2008-03-24 14:31 Olaf van der Spek Resolution won't fix => reopened
2008-03-24 14:31 Olaf van der Spek Note Added: 0010892
2008-03-24 14:40 Bill Hoffman Note Added: 0010893
2008-03-24 14:40 Bill Hoffman Status feedback => closed
2008-03-24 14:40 Bill Hoffman Resolution reopened => won't fix
2011-11-08 03:06 Robert Pollak Tag Attached: CMAKE_USE_RELATIVE_PATHS


Copyright © 2000 - 2018 MantisBT Team