Closed mjvankampen closed 4 years ago
I am using Norm in a separate project with cross linux/windows usage, so CMake integration greatly appreciated!
I don’t quite have it working yet, but I’ve been working on another NRL code base using ExternalProject. I think this is the right way to include other sources, as opposed to FetchContent. https://cmake.org/cmake/help/latest/module/ExternalProject.html
FetchContent is the configure time version of external project . Imho quite a bit nicer.
Do you have a protolib somewhere else on your system. Cmake might pick that one up instead of using FetchContent
Here's a comparison of CMake versions across various platforms/repositories: https://gist.github.com/b00ga/21b3edf4de1805d098d1bad9af21d4b9#file-cmake-versions-md
3.11 minimum means bringing your own CMake to RHEL/CentOS 6, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Debian 9.
Some todos: