|
Boost : |
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)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk