[PATCH] CMake: enable building the clang-format vs plugin

Manuel Klimek klimek at google.com
Thu Dec 5 01:00:09 PST 2013


On Thu, Dec 5, 2013 at 3:37 AM, Hans Wennborg <hans at chromium.org> wrote:

> On Wed, Dec 4, 2013 at 5:39 PM, Josh Samuel <jsamuel at gmail.com> wrote:
> >
> >   LLVM_TOOLS_BINARY_DIR doesn't appear to be the correct directory to
> copy from when building from the CMake generated Visual Studio solution.
> It is copying the exe's to a subfolder of LLVM_TOOLS_BINARY_DIR that
> represents the build configuration (eg. bin\Release or bin\RelWithDebugInfo
>  )
>
> Hmm, so does anyone know a good way of getting the *real* binary
> output dir within cmake?
>

If I'm not mistaken, the correct value is
${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}

Cheers,
/Manuel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131205/432feaa1/attachment.html>


More information about the cfe-commits mailing list