trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2013

Re: [trinity-devel] How to insert a cmake variable into a *.desktop file

From: "Darrell Anderson" <darrella@...>
Date: Sun, 22 Dec 2013 13:48:03 -0600
>Is it still actual?
>Anyway... for future generations... the syntax is:
>
>Exec=@CMAKE_VARIABLE@
>
>The desktop file is supposed to have ".cmake" extension.
>In CMakeLists.txt use configure_file() statement.
>
>You can use e.g. tdebase/kdesktop/kdesktop.desktop.cmake as an 
>example...

Thank you. As Slavek mentioned, I did learn how to do this. The 
challenge now is remembering. :)

Darrell