• Matthias Vallentin's avatar
    Support for 'make test'. · 3a1ef36e
    Matthias Vallentin authored
    This commit harnesses CMake's unit test infrastructure which redirects the
    output of the unit test executable to `/dev/null`. If this is not desired, one
    could instead manually add a 'test' Makefile target as follows:
    
        add_custom_target(test ${EXECUTABLE_OUTPUT_PATH}/unit_tests)
        add_dependencies(test unit_tests)
    3a1ef36e
CMakeLists.txt 6.43 KB