Details
-
Task
-
Status: Closed (View Workflow)
-
Trivial
-
Resolution: Fixed
-
None
-
None
Description
Hi, could there be an option to enable/disable tests being built?
Like here
https://stackoverflow.com/questions/41737494/cmake-how-to-separately-compile-production-code-and-test-code
Thank you for your report. I actually expected, that such option exists, since our other connectors usually have it, but it does not. I will add the option to suppress tests build. Not sure about only tests building - they are linked against the connector library.
As a workaround - you can simply remove test/CMakeLists.txt before running cmake. cmake should still normally execute, but test targets won't be created.