Hello, this PR adds a WITH_TESTS option to allow a user to specify if they want the unit test executable compiled or not. The option is ON (build the tests) by default.
I was compiling this locally and only really cared about making a shared library. With this modification, I can now just add a -DWITH_TESTS=OFF flag to my cmake statement to avoid compiling the unit test portion.
Hello, this PR adds a
WITH_TESTS
option to allow a user to specify if they want the unit test executable compiled or not. The option isON
(build the tests) by default.I was compiling this locally and only really cared about making a shared library. With this modification, I can now just add a
-DWITH_TESTS=OFF
flag to my cmake statement to avoid compiling the unit test portion.