support cmake-style out-of-tree build
sample configuration