Commit 73dd8f4e authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add install file to lannch the program with the desktop launcher

parent b3df5e6f
[Buildset]
BuildItems=@Variant(\x00\x00\x00\t\x00\x00\x00\x00\x01\x00\x00\x00\x0b\x00\x00\x00\x00\x01\x00\x00\x00\x16\x00P\x00C\x00l\x00o\x00c\x00k\x00T\x00i\x00m\x00e\x00r)
[CMake]
Build Directory Count=1
Current Build Directory Index=0
......@@ -5,11 +8,11 @@ ProjectRootRelative=./
[CMake][CMake Build Directory 0]
Build Directory Path=file:///home/pierre/projects/QT5/PClockTimer/build
Build Type=Debug
Build Type=
CMake Binary=file:///usr/bin/cmake
Environment Profile=
Extra Arguments=
Install Directory=
Install Directory=file:///home/pierre/usr
[CustomDefinesAndIncludes][ProjectPath0]
Defines=\x00\x00\x00\x00
......@@ -20,3 +23,6 @@ Path=.
Name=GCC
Path=gcc
Type=GCC
[Project]
VersionControlSupport=kdevgit
......@@ -21,4 +21,5 @@ install(TARGETS pclocktimer RUNTIME DESTINATION bin)
add_subdirectory(share)
add_subdirectory(install_file)
project(pclocktimer)
cmake_minimum_required(VERSION 2.6)
#pour le menu
set(menuFile pclocktimer)
install(FILES ${menuFile} DESTINATION /usr/share/menu)
#pour lancer l'application
set(launcherFile pclocktimer.desktop)
install(FILES ${launcherFile} DESTINATION /usr/share/applications)
?package(pclocktimer): \
needs="X11" \
section="Applications/Programming" \
title="pclocktimer" \
longtitle="PClockTimer" \
command="/usr/local/bin/pclocktimer" \
icon="/usr/local/share/PClockTimer/Images/Personnages_films_Archimede_Icon.xpm"
[Desktop Entry]
Type=Application
Exec=pclocktimer %u
MimeType=text/plain;
Icon=/usr/local/share/PClockTimer/Images/Personnages_films_Archimede_Icon.xpm
Terminal=false
Name=PClockTimer
GenericName=P Clock Timer
Categories=Qt;KDE;Network;
Name[fr_FR]=pclocktimer.desktop
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment