In our application we use several dynamically linked libraries. We recently updated the version of one of these libraries. The developers of that library are providing a main method since this new version (Doing nothing more than printing Hello World).
The problem is that we are using GTest and GMock, which generate their own main method. When we now run our test binary, we just get "Hello World", so the wrong main method is being taken.
How can we force the main method of the tests to be used?
UPDATE: This seems to be a GMock/GTest issue. The main method is normally generated, but this is not the case as it finds an already existing main method now.