1 Star 0 Fork 0

xxgc2hhb/openrave

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
openrave-config.cpp.in 876 Bytes
一键复制 编辑 原始数据 按行查看 历史
rdiankov 提交于 2011-04-15 15:20 . small fix to windows installer
// compiler options program for Microsoft Visual Studio C++
#include <string>
#include <iostream>
using namespace std;
int main(int argc,char** argv)
{
char* usage = "Usage: openrave-config.exe [--boost-version] [--version] [--qt-version]";
if( argc <= 1 ) {
cout << usage << endl;
return 1;
}
for(int i = 1; i < argc; ++i) {
string s = argv[i];
if( s == "--boost-version" ) {
cout << "@Boost_MAJOR_VERSION@.@Boost_MINOR_VERSION@.@Boost_PATCH_VERSION@" << endl;
}
else if( s == "--version" ) {
cout << "@OPENRAVE_VERSION@" << endl;
}
else if( s == "--qt-version" ) {
cout << "@QT_VERSION_MAJOR@.@QT_VERSION_MINOR@.@QT_VERSION_PATCH@" << endl;
}
else {
cout << usage << endl;
return 1;
}
}
return 0;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/nexusocc/openrave.git
git@gitee.com:nexusocc/openrave.git
nexusocc
openrave
openrave
master

搜索帮助

Cb406eda 1850385 E526c682 1850385