nimbuscontrols / EIPScanner

Free implementation of EtherNet/IP in C++
https://eipscanner.readthedocs.io/en/latest/
MIT License
238 stars 98 forks source link

Use enable_testing() in toplevel CMakeLists.txt #83

Open JohannesKauffmann opened 2 years ago

JohannesKauffmann commented 2 years ago

This allows for using ctest (-V) for running the testsuite, instead of manually calling the test executable.

enable_testing() should be in the toplevel CMakeLists.txt, according to the documentation [1].

[1]. https://cmake.org/cmake/help/latest/command/enable_testing.html