[Vm-dev] Relative Paths for CMakeLists.txt ?

Esteban Lorenzano estebanlm at gmail.com
Tue May 27 11:56:01 UTC 2014


On 27 May 2014, at 05:11, Holger Hans Peter Freyther <holger at freyther.de> wrote:

> 
> On Mon, May 26, 2014 at 03:04:18PM -0700, gettimothy wrote:
>> 
> 
>> I just learned that the generators in CMakeVMMaker do not produce a relative path. I learned this when I attempted to build a generated CMakeConfiguration  on a SunOS partition where my build path is not the same as my Linux partition's.
>> 
>> 
>> Have you guys had to deal with this?
> 
> sure, in a similar way to you. Generate the VM on Linux, build it on
> a FreeBSD system. And later to create proper debian source packages.
> 
> Check here[1] for my various changes to CMakeVMMaker. From my point
> of view it is unfortunate that the generated CMakeLists.txt is using
> absolute paths and that the platform differences are handled inside
> CMakeVMMaker and not inside CMakeLists.txt.

I agree… paths should be relative and is in my todo list since… well, more than a year now :)
So if someone wants to work on it, it would be supercool.

cheers, 
Esteban

> 
> cheers
> 	holger
> 
> 
> [1] http://smalltalkhub.com/#!/~hfreyther2/sctp/versions/



More information about the Vm-dev mailing list