This fixes the following error on my Ubuntu 18.04 with CMake 3.10.2:
CMake Error at cmake/TestCase.cmake:8 (target_link_libraries):
Target "catch_main" of type OBJECT_LIBRARY may not be linked into another
target. One may link only to STATIC or SHARED libraries, or to executables
with the ENABLE_EXPORTS property set.
Call Stack (most recent call first):
test/unit/CMakeLists.txt:6 (test_case)
- Added tests for the tokenizer
- Reorganized the tests so that the catch main method is only compiled once
- Fixed missing error return in the tokenizer found by the tests
1) We don't need them
2) There are issues with MinGW as CMake adds *.a together with *.so to
linker, so it's unable to resolve proper source of exported functions