set(${thename}_sources ${thename}.cpp ${${thename}_extra_src})
endif()
add_executable(${thename} EXCLUDE_FROM_ALL ${${thename}_sources})
set(${thename}_sources ${thename}.cpp ${${thename}_extra_src})
endif()
add_executable(${thename} EXCLUDE_FROM_ALL ${${thename}_sources})