usnistgov / NetSimulyzer-ns3-module

A flexible 3D visualizer for displaying, debugging, presenting, and understanding ns-3 scenarios.
Other
33 stars 5 forks source link

Add CMake Support #31

Closed bpe2 closed 2 years ago

bpe2 commented 2 years ago

ns-3 is planning on migrating from waf to CMake for ns-3.36. Add support for the new build system.

See: https://mailman.isi.edu/pipermail/ns-developers/2022-January/015606.html

Gabrielcarvfer commented 2 years ago

Hi, here is the patch for CMake :)

netsimulyzer_cmake.txt

bpe2 commented 2 years ago

Wow, thanks @Gabrielcarvfer! If the CMake API is stable now, I'll get this is ASAP

Gabrielcarvfer commented 2 years ago

I hope it is, because I don't want to change these never again xD

bpe2 commented 2 years ago

Well, aside from some awkwardness involving the HAS_NETSIMULYZER compile definition on modules added in src/. This looks good to go

bpe2 commented 2 years ago

With the addition of the CMake variable instead of using the module list, I'm going to go ahead and close this