# Create a new executable object to test the library exe = executable( 'test-{{ name }}', # Executable name '{{ name | hypens_to_underscores }}.{{ exe }}', # Tests source file include_directories: incs, # Directories to be included when building the executable dependencies: {{ name | hypens_to_underscores }}_dep # Libraries to be linked at the executable ) # Create a test that run all tests contained in the executable produced above test( 'test_name', # Test name exe # Executable object )