2013/11/8 Darrell Anderson <darrella@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...