Using VRP from google-or tools in my c++ cmake project #2577
-
Hi, I am not able to find a way on how to include only the vrp module from google or tools in my cmake project. I have build or-tools from source and then did make install in /usr/local/. But I need help on steps on how to install google or-tools in c++ make project. Did this: But it seems like it's not working; I have or-tools also installed globally at /usr/local. how to uninstall it at /usr/local and make the dependency works. Thanks for your help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can have a look at: https://github.com/or-tools/cmake_or-tools |
Beta Was this translation helpful? Give feedback.
-
Few points:
|
Beta Was this translation helpful? Give feedback.
Few points:
Artifacts are generated using the legacy Makefile -> they won't contain any CMake releated stuff, sorry
Currently we don't have uninstall rules and install rules is heavily based on copy file using globing pattern
If using the Makefile or CMake (with Makefile generator) based build, we do support the
DESTDIR
env to install in a directory.https://www.gnu.org/prep/standards/html_node/DESTDIR.html
If CMake you can also use https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_PREFIX.html