config.h | config.h | |||
---|---|---|---|---|
/** \file config.h | /** \file config.h | |||
\brief Defines OpenRAVE installation-specific information. | \brief Defines OpenRAVE installation-specific information. | |||
*/ | */ | |||
#ifndef OPENRAVE_DEFINITIONS_H | #ifndef OPENRAVE_DEFINITIONS_H | |||
#define OPENRAVE_DEFINITIONS_H | #define OPENRAVE_DEFINITIONS_H | |||
#define OPENRAVE_VERSION_MAJOR 0 | #define OPENRAVE_VERSION_MAJOR 0 | |||
#define OPENRAVE_VERSION_MINOR 3 | #define OPENRAVE_VERSION_MINOR 3 | |||
#define OPENRAVE_VERSION_PATCH 0 | #define OPENRAVE_VERSION_PATCH 1 | |||
#define OPENRAVE_VERSION_COMBINED(major, minor, patch) (((major) << 16) | ( (minor) << 8) | (patch)) | #define OPENRAVE_VERSION_COMBINED(major, minor, patch) (((major) << 16) | ( (minor) << 8) | (patch)) | |||
#define OPENRAVE_VERSION OPENRAVE_VERSION_COMBINED(OPENRAVE_VERSION_MAJOR, OPENRAVE_VERSION_MINOR, OPENRAVE_VERSION_PATCH) | #define OPENRAVE_VERSION OPENRAVE_VERSION_COMBINED(OPENRAVE_VERSION_MAJOR, OPENRAVE_VERSION_MINOR, OPENRAVE_VERSION_PATCH) | |||
#define OPENRAVE_VERSION_EXTRACT_MAJOR(version) (((version)>>16)&0xff) | #define OPENRAVE_VERSION_EXTRACT_MAJOR(version) (((version)>>16)&0xff) | |||
#define OPENRAVE_VERSION_EXTRACT_MINOR(version) (((version)>>8)&0xff) | #define OPENRAVE_VERSION_EXTRACT_MINOR(version) (((version)>>8)&0xff) | |||
#define OPENRAVE_VERSION_EXTRACT_PATCH(version) (((version))&0xff) | #define OPENRAVE_VERSION_EXTRACT_PATCH(version) (((version))&0xff) | |||
#define OPENRAVE_VERSION_STRING "0.3.0" | #define OPENRAVE_VERSION_STRING "0.3.1" | |||
#define OPENRAVE_VERSION_STRING_FORMAT(version) boost::str(boost::format("% s.%s.%s")%(OPENRAVE_VERSION_EXTRACT_MAJOR(version))%(OPENRAVE_VERSION_EXTRA CT_MINOR(version))%(OPENRAVE_VERSION_EXTRACT_PATCH(version))) | #define OPENRAVE_VERSION_STRING_FORMAT(version) boost::str(boost::format("% s.%s.%s")%(OPENRAVE_VERSION_EXTRACT_MAJOR(version))%(OPENRAVE_VERSION_EXTRA CT_MINOR(version))%(OPENRAVE_VERSION_EXTRACT_PATCH(version))) | |||
#define OPENRAVE_VERSION_GE(major1, minor1, patch1, major2, minor2, patch2) (OPENRAVE_VERSION_COMBINED(major1, minor1, patch1) >= OPENRAVE_VERSION_COM BINED(major2, minor2, patch2)) | #define OPENRAVE_VERSION_GE(major1, minor1, patch1, major2, minor2, patch2) (OPENRAVE_VERSION_COMBINED(major1, minor1, patch1) >= OPENRAVE_VERSION_COM BINED(major2, minor2, patch2)) | |||
#define OPENRAVE_VERSION_MINIMUM(major, minor, patch) OPENRAVE_VERSION_GE(O PENRAVE_VERSION_MAJOR, OPENRAVE_VERSION_MINOR, OPENRAVE_VERSION_PATCH, majo r, minor, patch) | #define OPENRAVE_VERSION_MINIMUM(major, minor, patch) OPENRAVE_VERSION_GE(O PENRAVE_VERSION_MAJOR, OPENRAVE_VERSION_MINOR, OPENRAVE_VERSION_PATCH, majo r, minor, patch) | |||
// if 0, single precision | // if 0, single precision | |||
// if 1, double precision | // if 1, double precision | |||
#define OPENRAVE_PRECISION 1 | #define OPENRAVE_PRECISION 1 | |||
#define OPENRAVE_PLUGINS_INSTALL_DIR "/home/andrey/upstream-tracker/testing | #define OPENRAVE_PLUGINS_INSTALL_DIR "/home/andrey/upstream-tracker/testing | |||
/openrave/0.3.0/share/openrave-0.3/plugins" | /openrave/0.3.1/share/openrave-0.3/plugins" | |||
#define OPENRAVE_DATA_INSTALL_DIR "/home/andrey/upstream-tracker/testing/op | #define OPENRAVE_DATA_INSTALL_DIR "/home/andrey/upstream-tracker/testing/op | |||
enrave/0.3.0/share/openrave-0.3" | enrave/0.3.1/share/openrave-0.3" | |||
#define OPENRAVE_PYTHON_INSTALL_DIR "/home/andrey/upstream-tracker/testing/ | #define OPENRAVE_PYTHON_INSTALL_DIR "/home/andrey/upstream-tracker/testing/ | |||
openrave/0.3.0/share/openrave-0.3" | openrave/0.3.1/lib/python2.7/site-packages" | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
openrave.h | openrave.h | |||
---|---|---|---|---|
skipping to change at line 17 | skipping to change at line 17 | |||
// the Free Software Foundation, either version 3 of the License, or | // the Free Software Foundation, either version 3 of the License, or | |||
// at your option) any later version. | // at your option) any later version. | |||
// | // | |||
// This program is distributed in the hope that it will be useful, | // This program is distributed in the hope that it will be useful, | |||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | // but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
// GNU Lesser General Public License for more details. | // GNU Lesser General Public License for more details. | |||
// | // | |||
// You should have received a copy of the GNU Lesser General Public License | // You should have received a copy of the GNU Lesser General Public License | |||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | // along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
/** \file rave.h | /** \file openrave.h | |||
\brief Defines the public headers that every plugin must include in or der to use openrave properly. | \brief Defines the public headers that every plugin must include in or der to use openrave properly. | |||
*/ | */ | |||
#ifndef OPENRAVE_H | #ifndef OPENRAVE_H | |||
#define OPENRAVE_H | #define OPENRAVE_H | |||
#ifndef RAVE_DISABLE_ASSERT_HANDLER | #ifndef RAVE_DISABLE_ASSERT_HANDLER | |||
#define BOOST_ENABLE_ASSERT_HANDLER | #define BOOST_ENABLE_ASSERT_HANDLER | |||
#endif | #endif | |||
#include <cstdio> | #include <cstdio> | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||