[CMake] External_Project and WIndows

Bill Hoffman bill.hoffman at kitware.com
Sat Aug 6 17:15:40 EDT 2011


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:Configuration=Debug before passing the
> string to msbuild.
>
This might work:

cmake --build path/to/project --config Debug



More information about the CMake mailing list