$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] CMake and Boost Build tests
From: Peter Dimov (lists_at_[hidden])
Date: 2017-07-27 09:29:05
> > For a run test, you would do, something like:
> >
> > add_executable(footest footest.cpp)
> > add_test(NAME footest COMMAND $<TARGET_FILE:footest>)
"If <command> specifies an executable target (created by add_executable())
it will automatically be replaced by the location of the executable created
at build time."
So,
add_test(NAME footest COMMAND footest)