[CMake] Using CMake for a library with many different buildoptions...

Hajo Kirchhoff mailinglists at hajo-kirchhoff.de
Mon Dec 20 06:13:03 EST 2004


Reinhold Füreder wrote:

>As far as I know the generation of makefiles and/or Visual Studio
>Project files re-usable on different computers does not work IN GENERAL.
>The reason is that the generated files are dependent on your local
>platform AND are using mostly (?) full path information. 
>  
>
Thank you for your response.

The project files will work, at least after some tweaking which can be 
automated. They only include the absolute paths to the CMake tool for 
the ALL/INSTALL targets, but these targets are not strictly neccessary 
for Visual Studio only environments, so I'd strip them out.

As for makefiles: what does the 'use relative paths' advanced option do? 
I thought it might solve precisely this problem.

I've used bakefile so far (sourceforge.net/projects/bakefile), which can 
do that, but am looking for a different solution.

Best regards

Hajo

-- 
Hajo Kirchhoff





--------------------------------------------
Lit Window Library - Speed up GUI coding 10x
  http://www.litwindow.com/library?src=ml

wxVisualSetup - integrate wxWidgets into Visual Studio .NET
  http://www.litwindow.com/Products/products.html?src=ml

BugLister - Defect Tracker
  http://www.litwindow.com/buglister?src=ml

Tips & Tricks for wxWidgets & MS Visual Studio
  http://www.litwindow.com/Knowhow/knowhow.html?src=ml




More information about the CMake mailing list