Function to return root directory (i.e. More...
#include <string>Go to the source code of this file.
Macros | |
| #define | TEST_STR(x) #x |
| #define | TEST_PATH_DEFINE(x) TEST_STR(x) |
Functions | |
| std::string | testlib_root_dir () |
| Return source root directory (i.e. the parent directory of both core and contrib). More... | |
Function to return root directory (i.e.
the parent directory of both core and contrib).
Definition in file testlib_root_dir.h.
| #define TEST_PATH_DEFINE | ( | x | ) | TEST_STR(x) |
Definition at line 18 of file testlib_root_dir.h.
| #define TEST_STR | ( | x | ) | #x |
Definition at line 17 of file testlib_root_dir.h.
| std::string testlib_root_dir | ( | ) |
Return source root directory (i.e. the parent directory of both core and contrib).
*** Only use this directory tree for read-only operations! ***
If the file vcl_where_root_dir.h has been automatically generated during configuration (which will happen with cmake) then the appropriate source directory will be returned.
If another build system is used in which this is not created, the function will return the value of either of the environment variables: VXLSRC, VCLSRC or VXL_SRC in that order.
Return source root directory (i.e. the parent directory of both core and contrib).
Definition at line 17 of file testlib_root_dir.cxx.
1.8.15