00001 #ifndef testlib_root_dir_h_ 00002 #define testlib_root_dir_h_ 00003 //: 00004 // \file 00005 // \brief Function to return root directory (ie the one just below vcl). 00006 // \author Tim Cootes 00007 // \verbatim 00008 // Modifications 00009 // 17-05-2001 I. Scott - Moved from vul to testlib 00010 // \endverbatim 00011 #include <vcl_string.h> 00012 00013 //: Return source root directory (ie the one just below vcl). 00014 // If the file vcl_where_root_dir.h has been automatically generated 00015 // during configuration (which will happen with cmake) then the 00016 // appropriate source directory will be returned. 00017 // 00018 // If another build system is used in which this is not created, 00019 // the function will return the value of either of the environment 00020 // variables: VXLSRC, VCLSRC or VXL_SRC in that order. 00021 vcl_string testlib_root_dir(); 00022 00023 #endif // testlib_root_dir_h_
1.5.1