USNavalResearchLaboratory / norm

NACK-Oriented Reliable Multicast (NORM) implementation & tools (RFCs 5740, 5401)
https://www.nrl.navy.mil/Our-Work/Areas-of-Research/Information-Technology/NCS/NORM/
Other
100 stars 36 forks source link

[WIP] Cmake #8

Closed mjvankampen closed 4 years ago

mjvankampen commented 4 years ago

Some todos:

NWittje commented 4 years ago

I am using Norm in a separate project with cross linux/windows usage, so CMake integration greatly appreciated!

b00ga commented 4 years ago

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

mjvankampen commented 4 years ago

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

b00ga commented 4 years ago

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.