[cfe-dev] Testing and CMake

Óscar Fuentes ofv at wanadoo.es
Thu Jan 15 20:11:32 PST 2009


steve naroff <snaroff at apple.com> writes:

>> Can you describe on which scenario do you require to move around build
>> trees?
>
> Sure...

[explanation snipped]

> Thanks for any help with this,

If you require this for VS only, the

set(CMAKE_USE_RELATIVE_PATHS ON)

trick mentioned on this thread may work, as Windows in general and the
LLVM project files in particular doesn't use absolute paths as much as
the POSIX platforms do (for RPATH, executing external commands,
etc). Please give it a try.

If there are absolute paths remaining on the VS project files, they may
be the result of generating them in the LLVM CMake files with the
`abspath' operator, or could come from CMake built-in variables that
default to the absolute form. We could see if those could be replaced by
relative paths.

-- 
Oscar




More information about the cfe-dev mailing list