CMake note
by BenV on Jun.17, 2011, under Software
Another note for future reference!
Unfortunately CMake is something I run into way too often these days, and since I can never remember how to tell it to do certain shit, here’s how.
They should give me a configure along with the product.
The equivalent of
./configure --prefix=/usr
=>
export CMAKE_INSTALL_PREFIX=/usr
Destdir seems something CMAKE does understand, so just
export DESTDIR=`pwd`/tmp
and it’ll work just fine.
Finally, for the interactive configuration of something we have:
cmake -i