Re: Orocos integration in buildroot

Willy Lambert <[email protected]>
Newsgroups gmane.science.robotics.orocos.devel
Message-ID <CAKvQZ_1FiO5ACvPxFvEyJmqHV99vJtvHDdY-1kmstGphcWYg7w@mail.gmail.com>
[snip]

I managed to build rtt and ocl. I still have one issue : my ROS_ROOT
is defined because I have my standard developpment toolchain there in
a ROS build system. But when I build with Buildroot, I have my
CMAKE_INSTALL_PREFIX that is "forced" by this (in rtt/CmakeLists.txt)
:

# We force it in case of ROS builds because the UseOrocos.cmake
scripts will always look
# in this path, also during an autoproj/bootstrap build.
IF(ROS_ROOT)
  SET(CMAKE_INSTALL_PREFIX
    ${PROJECT_SOURCE_DIR}/../install CACHE PATH "Orocos install prefix
for ROS builds" FORCE
    )
[snip] ...

  endif()
ENDIF(ROS_ROOT)


In the best world, I would like to set something in CMake cache to ask
it not to take ROS_ROOT into account, are you interested in such a
feature ?
In the worst world, I have to unset ROS_ROOT locally before building
with Buildroot. The problem is that I don't really have a way to
automate this, so if someone use buildroot with ros it will fail.
-- 
Orocos-Dev mailing list
[email protected]
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.