[CMake] INSTALL(FILES ... ) and $(OutDir): DEPENDENCIE ?

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Nov 18 17:27:26 EST 2008


On Tue, Nov 18, 2008 at 1:47 PM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> David,
>
> On Tue, Nov 18, 2008 at 1:09 PM, David Cole <david.cole at kitware.com> wrote:
>> Looks like your definition of GDCM_LIBRARY_DIR must include
>> "${CMAKE_CFG_INTDIR}". You can't use that in an install rule... rather use
>> "\${BUILD_TYPE}" (with an escaped dollar sign) like in the VTK install
>> rules...

And for the same reason I cannot have a "${CMAKE_CFG_INTDIR}" in my
DEPENDS from a ADD_CUSTOM_COMMAND, correct ?

Thanks,
-- 
Mathieu


More information about the CMake mailing list