The generic CMake invocation for Trilinos and the generic configure invocation for Linux that are in the building guide (
https://xyce.sandia.gov/documentation/BuildingGuide.html) should work as advertised. They did when one of the Xyce team members built Xyce on Ubuntu 16.04 last week.
Please note the extensive warnings in the building guide about Ubuntu 18.04's (and 17.10's) package for OpenMPI. The package maintainer of the OpenMPI package built it with an option that renders it broken for certain types of MPI operations, and can cause Xyce to segfault. There is another thread on this forum about that, too. If you need to run Xyce in parallel on Ubuntu 18.04 you have no choice but to build OpenMPI from source code in lieu of using the pre-packaged binary from Ubuntu's repos.