Message ID | 20181016155232.5257-20-ykaradzhov@vmware.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | Add Qt-based GUI for KernelShark | expand |
diff --git a/kernel-shark-qt/CMakeLists.txt b/kernel-shark-qt/CMakeLists.txt index 0ccb61e..278241b 100644 --- a/kernel-shark-qt/CMakeLists.txt +++ b/kernel-shark-qt/CMakeLists.txt @@ -75,4 +75,7 @@ if (_DOXYGEN_DOC AND DOXYGEN_FOUND) endif () +configure_file( ${KS_DIR}/build/ks.desktop.cmake + ${KS_DIR}/kernelshark.desktop) + message("") diff --git a/kernel-shark-qt/build/cmake_clean.sh b/kernel-shark-qt/build/cmake_clean.sh index 4f984db..ea04dc0 100755 --- a/kernel-shark-qt/build/cmake_clean.sh +++ b/kernel-shark-qt/build/cmake_clean.sh @@ -6,6 +6,7 @@ rm -rf CMakeFiles/ rm -rf src/ rm -rf examples/ rm -f ../lib/* +rm ../kernelshark.desktop rm -f ../src/KsCmakeDef.hpp rm -f CMakeDoxyfile.in rm -f CMakeDoxygenDefaults.cmake diff --git a/kernel-shark-qt/build/ks.desktop.cmake b/kernel-shark-qt/build/ks.desktop.cmake new file mode 100644 index 0000000..0b947f1 --- /dev/null +++ b/kernel-shark-qt/build/ks.desktop.cmake @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=@KS_VERSION_STRING@ +Type=Application +Name=Kernel Shark +GenericName=Kernel Shark +Comment= +Exec=/usr/local/bin/kernelshark +Icon=@KS_DIR@/icons/ksharkicon.png +Terminal=false