Re: [CMake] External_Project and WIndows

2011-08-07 Thread Yuri Timenkov
For non-CMake project (especially VS native ones) you could use ${CMAKE_CFG_INT_DIR} variable instead ( http://www.cmake.org/cmake/help/cmake-2-8-docs.html#variable:CMAKE_CFG_INTDIR ) It will be evaluated into current solution's configuration. However please note that in this case configurations i

Re: [CMake] External_Project and WIndows

2011-08-06 Thread Bill Hoffman
On 8/6/2011 11:53 AM, Richard Offer wrote: Hi, I'm trying to build Google protocol buffers as an external project on Windows and am hitting an issue with over assuming something is a path. I need to be able to call msbuild with options. (/p:Configuration=Debug), but cmake converts this to \p:

[CMake] External_Project and WIndows

2011-08-06 Thread Richard Offer
Hi, I'm trying to build Google protocol buffers as an external project on Windows and am hitting an issue with over assuming something is a path. I need to be able to call msbuild with options. (/p:Configuration=Debug), but cmake converts this to \p:Configuration=Debug before passing the string