Óscar Fuentes
2009-May-22 22:27 UTC
[LLVMdev] Distributing CMake-generated files (was: Re: Arm port)
Mike Stump <mrs at apple.com> writes:>>> Would that be something you might wish to add? >> Patches are always welcome (c). > > Let me nix the idea. We don't want to go from 3 to 4 build > systems... We're trying to cut the number down... If one wants, the > right place to do this would be to ask the cmake people to generates > BSD makefiles. Now, for distribution tar balls, we could consider > bundling the cmake output for many flavors of build systems, for > example, having a prebuilt and up-to-date Visual Studio project file, > and Xcode project files, might well be nice.Sadly, this is not possible in general. The files generated by CMake are not guaranteed to be relocatable (they use absolute paths). That's the reason why the old Visual Studio project files are still there: some organization(s) using LLVM, for reasons unknown to me, require a relocatable source tree and refuse to add CMake to their build setup. -- Óscar
Mike Stump
2009-May-22 23:26 UTC
[LLVMdev] Distributing CMake-generated files (was: Re: Arm port)
On May 22, 2009, at 3:27 PM, Óscar Fuentes wrote:> Sadly, this is not possible in general.To a hacker, few things are not possible. :-)> The files generated by CMake are not guaranteed to be relocatable > (they use absolute paths).A problem merely waiting for someone to fix it. If it is important, it will be fixed.
Mike Stump wrote:> On May 22, 2009, at 3:27 PM, Óscar Fuentes wrote: > >> Sadly, this is not possible in general. >> > > To a hacker, few things are not possible. :-) > > >> The files generated by CMake are not guaranteed to be relocatable >> (they use absolute paths). >> > > A problem merely waiting for someone to fix it. If it is important, > it will be fixed. >Is the current support in CMake for generating makefiles with relative paths not good enough? Regards, Paul