Following my post, if I remember correctly this does the job for most of the paths. However in a way FLTK CMake.List files are written at the moment, some custom rules (like building .cxx, .h using fluid) can still be expanded to absolute paths. But this could be modified by changing the expansion strings for these rules within CMakeList.txt files. R.
Roman Kantor wrote: > Add > > SET(CMAKE_USE_RELATIVE_PATHS 1) > > at the beginning of CMakeList.txt > > I am not sure from which cmake version it is supported but recent > versions of cmake understand that. > > R. > > > Fabien Costantini wrote: >> Thanks Roman, >> I successfully generated a vcnet out of source by invoking cmake from >> an ide/vcnet directory as follow: >> cmake -g "Visual Studio 7 .Net 2003" ../.. >> >> The _big_ problem I see here is that when inspecting the content of >> vcproj project files (xml files) the directory paths are _ABSOLUTE_ >> paths. _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev