GTEST_ADD_TESTS in FindGTest.cmake ignores disabled tests
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
GTEST_ADD_TESTS function in
FindGTest.cmake does not handle disabled tests.
I added this feature. The simple patch is attached. I'd like to enhance it such that this functionality depends on a variable, e.g. IGNORE_DISABLED_GTEST with some good default. I still have to figure out how to do this with CMake. Any hints are welcome. Further the function should to my mind make sure that CMake is automatically re-run if a test is added to a file. Because this avoids manual re-running of CMake which is error-prone. Unfortunately I don't know how to implement this.