MB-22602: Use CMake variables for target paths
MB-22602: Use CMake variables for target paths

Instead of manually specifying the path to various targets, use the
appropriate CMake variable / generator expression. This has the
advantage that if a target is moved to a different location, it will
still be correctly referred to.

In the case of ADD_TEST(), use the variant which specifies the NAME
option - this enables expansion of executable targets to their
absolute path.

Change-Id: I625b9908824969010b7535f2df5a69456d3d5ae4
Reviewed-on: http://review.couchbase.org/78181
Reviewed-by: Trond Norbye <60edd2ef23891a753f231b0c6f161dc634079a93@gmail.com>
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>

daverigby/kv_engine,couchbase/ep-engine,daverigby/kv_engine,daverigby/kv_engine,membase/ep-engine,couchbase/ep-engine,couchbase/ep-engine,membase/ep-engine,membase/ep-engine,daverigby/kv_engine,membase/ep-engine,couchbase/ep-engine