On Wed, Apr 22, 2009 at 10:41:13AM +0530, Vikranth Gaddam wrote:
> If you have set MY_PATH variable using SET(MY_PATH  XXXX)
> then INCLUDE_DIRECTORIES(${MY_PATH}/XXX/XXX) should work.
> 
> if you want to get from environment variable use $ENV{MY_PATH}.

I think OP wants a variable that is interpolated at Visual Studio time.
Your examples will be interpolated at CMake time.

tyler
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to