[CMake] CMAKE_CFG_INTDIR expands to "$"(OutDir)

Hendrik Sattler post at hendrik-sattler.de
Mon Sep 17 18:33:29 EDT 2007


Am Montag 17 September 2007 schrieb McKay Davis:
> I'm experiencing trouble getting cmake to copy DLL files to my executable
> output path in visual studio after the target is built.  
>
> It seems that the CMAKE_CFG_INTDIR variable is being expanded to:
> "$"(OutDir)
>
> This causes the .dll files to be copied to the filename '$(OutDir)', not
> into the 'Debug' or 'Release' sub-directory as I would expect.

How about setting LIBRARY_OUTPUT_PATH instead?

HS



More information about the CMake mailing list