aux_source_directory(. MNODE_BNODE_TEST_SRC) add_executable(mbnodeTest ${MNODE_BNODE_TEST_SRC}) target_link_libraries( mbnodeTest PUBLIC sut ) add_test( NAME mbnodeTest COMMAND mbnodeTest )