Hi,

For a legacy FORTRAN project, I'm looking for a cmake-way to create a static 
library from several subdirectories. The current solution is using a custom 
POST_BUILD step with ar and ranlib, but the resulting archive is not known to 
cmake and can't be used to link to the main.

As an alternative we've tried to propagate the list of archives using 
PARENT_SCOPE, but this seems like a hack as well. Is there a clean way to go 
about it?

Regards,
Arjen
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to