[CMake] Best way to handle application data path for local run vs. installation

Ruslan Baratov ruslan_baratov at yahoo.com
Wed Dec 2 00:34:11 EST 2015


On 02-Dec-15 12:27, Ruslan Baratov via CMake wrote:
>
> If you pass "/usr/local" output will be (nice):
>
> --------------
> /usr/local
> --------------
>
> If you pass "/home/username", output will be (nice):
>
> ------------------------
> /home/username
> ------------------------
>
> If you pass "$$$$_I_M_NOT_INSTALLED_$$$$" then change string to 
> "/usr/local" after install (ugly, not what I expect!):
>
> ---------------------------
> /usr/local
> ---------------------------
>
Sorry, for bad formatting. Use this link to see what I mean:
* 
https://gist.githubusercontent.com/ruslo/f6b143ff53cd3e8a2f91/raw/724dba7cf90cd425a5129e3dca0340e9066d6922/gistfile1.txt

Ruslo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20151202/a62f34f6/attachment.html>


More information about the CMake mailing list