[CMake] problem with EXPORT_LIBRARY_DEPENDENCIES(... APPEND) ?

Brad King brad.king at kitware.com
Thu Mar 16 11:22:41 EST 2006


Alexander Neundorf wrote:
> Hi, 
>  
> I wanted to add some more information to the file created by 
> EXPORT_LIBRARY_DEPENDENCIES() using the "APPEND" parameter. 
>  
> It seems this doesn't work as expected, testcase attached. 
> The file contains: 
> FILE(WRITE ....) 
> EXPORT_LIBRARY_DEPENDENCIES(... APPEND) 
>  
> The output of EXPORT_LIBRARY_DEPENDENCIES() doesn't appear in the 
> generated file. 
>  
> Did I do something wrong ? 

I get this from your test case in LibsDependencies.cmake:

# this file was generated during the build process
SET(blub_LIB_DEPENDS "z;")

Is that not what you expect?

-Brad


More information about the CMake mailing list