Show if built with PDAL on --version option

This commit is contained in:
matlabbe
2021-10-01 11:49:45 -04:00
parent 697fe5ebb3
commit 44810a14e0
+6
View File
@@ -662,6 +662,12 @@ ParametersMap Parameters::parseArguments(int argc, char * argv[], bool onlyParam
std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl; std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl;
#else #else
std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl; std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl;
#endif
str = "With PDAL:";
#ifdef RTABMAP_PDAL
std::cout << str << std::setw(spacing - str.size()) << "true" << std::endl;
#else
std::cout << str << std::setw(spacing - str.size()) << "false" << std::endl;
#endif #endif
str = "With TORO:"; str = "With TORO:";
#ifdef RTABMAP_TORO #ifdef RTABMAP_TORO