On Sunday 22 of December 2013 06:40:42 Fat-Zer wrote:
2013/11/8 Darrell Anderson
<darrella(a)hushmail.com>
All,
I want to create a patch that modifies two *.desktop files during
compile time. What is the correct syntax to use for the cmake
variable in the *.desktop files?
For example:
Exec=%CMAKE_VARIABLE%
Thanks. :-)
Darrell
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...
I think it is not. The question was intended for bug 853, which is already
fixed in commit 7d6186b5. Precisely in this way that you describe.
Slavek
--