代码拉取完成,页面将自动刷新
同步操作将从 mmmmachine/GPSTk 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
#ifndef BUILD_CONFIG_H
#define BUILD_CONFIG_H
//------------------------------------------------------------
// Purpose:
// Define your source root and build root from CMake vars
// so you can pass paths from CMake into C++
//------------------------------------------------------------
// Notes:
// If you need these CMake variables for pure C code,
// then use the #define variables, otherwise, use the
// get methods defined in the gpstk namespace.
//------------------------------------------------------------
#include <string>
namespace gpstk
{
//----------------------------------------
// Purpose: get path separator character, e.g. ":" or ";"
// Usage: std::string file_sep = gpstk::getPathSep()
//----------------------------------------
inline std::string getPathSep( void )
{
#ifdef _WIN32
const std::string path_sep(";");
#else
const std::string path_sep(":");
#endif
return( path_sep );
}
//----------------------------------------
// Purpose: get file system file separator character, e.g. "/" or "\"
// Usage: std::string file_sep = gpstk::getFileSep()
//----------------------------------------
inline std::string getFileSep( void )
{
#ifdef _WIN32
const std::string file_sep("\\");
#else
const std::string file_sep("/");
#endif
return( file_sep );
}
//----------------------------------------
// Purpose: get file system path to top level of source tree
// Usage: std::string src_path = gpstk::getPathSrc()
//----------------------------------------
inline std::string getPathSrc( void )
{
return( "@PROJECT_SOURCE_DIR@" );
}
//----------------------------------------
// Purpose: get file system path to the CMake build dir
// Usage: std::string build_path = gpstk::getPathBuild()
//----------------------------------------
inline std::string getPathBuild( void )
{
return( "@PROJECT_BINARY_DIR@" );
}
//----------------------------------------
// Purpose: get file system path to location of gpstk data files
// Usage: std::string data_path = gpstk::getPathData()
//----------------------------------------
inline std::string getPathData( void )
{
return( "@GPSTK_TEST_DATA_DIR@" );
}
//----------------------------------------
// Purpose: get file system path to location to write temp test output
// Usage: std::string temp_path = gpstk::getPathTestTemp()
//----------------------------------------
inline std::string getPathTestTemp( void )
{
return( "@GPSTK_TEST_OUTPUT_DIR@" );
}
}
#endif // BUILD_CONFIG_H
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。