[Insight-developers] Path of External Module in CMake

Bradley Lowekamp blowekamp at mail.nih.gov
Fri Jul 1 09:11:35 EDT 2011


Hello,

In my External module I was hoping to be able to do something like the following:

file( READ "${CMAKE_CURRENT_SOURCE_DIR}/README" DOCUMENTATION )

But the CMAKE_CURRENT_SOURCE_DIR is not right. I have the README in the root of my external module, and it plays nicely with github. So I was hopping to reuse it here.

Is there a CMake variable  with this pathing information?

Thanks,
Brad

========================================================
Bradley Lowekamp  
Lockheed Martin Contractor for
Office of High Performance Computing and Communications
National Library of Medicine 
blowekamp at mail.nih.gov


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20110701/46601e1d/attachment.htm>


More information about the Insight-developers mailing list