[CMake] CMake and VPATH

laurent at marzu.org laurent at marzu.org
Mon Mar 9 06:52:44 EDT 2009



Hello all, 

I've just began trying to port my project from autoconf to CMake and I've
got a question. 

My project use 'vpath' variable in order to locate source file from
different directory according to argument pass to autoconf. 

Typically, my C++ source file may be from src/libxml2 or src/xerces-c++ or
any other directory depending on XML parser used. 

I've look up around a little a came on a message saying CMake have no
replacement for VPATH. 

So, my question is: 

- How to use CMake in such case ? 

thanks a lot for your help 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090309/76989391/attachment.htm>


More information about the CMake mailing list