From patchwork Tue Aug 28 13:08:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10759213 Return-Path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:40838 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727218AbeH1RAf (ORCPT ); Tue, 28 Aug 2018 13:00:35 -0400 Received: by mail-wm0-f68.google.com with SMTP id 207-v6so1934516wme.5 for ; Tue, 28 Aug 2018 06:08:59 -0700 (PDT) From: "Yordan Karadzhov (VMware)" To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, "Yordan Karadzhov (VMware)" Subject: [PATCH v3 1/4] kernel-shark-qt: Add OpenGL/GLUT as a third party dependency. Date: Tue, 28 Aug 2018 16:08:35 +0300 Message-Id: <20180828130838.30790-2-y.karadz@gmail.com> In-Reply-To: <20180828130838.30790-1-y.karadz@gmail.com> References: <20180828130838.30790-1-y.karadz@gmail.com> Sender: linux-trace-devel-owner@vger.kernel.org List-ID: Content-Length: 1633 This patch prepares the Cmake build infrastructure for the introduction of a KernelShark Ploting library, baset on OpenGl. The Ploting library will be added in the following patch. Signed-off-by: Yordan Karadzhov (VMware) --- kernel-shark-qt/CMakeLists.txt | 3 +++ kernel-shark-qt/README | 2 ++ 2 files changed, 5 insertions(+) diff --git a/kernel-shark-qt/CMakeLists.txt b/kernel-shark-qt/CMakeLists.txt index 3516caa..0187eb4 100644 --- a/kernel-shark-qt/CMakeLists.txt +++ b/kernel-shark-qt/CMakeLists.txt @@ -17,6 +17,9 @@ include(${KS_DIR}/build/FindJSONC.cmake) find_package(Doxygen) +find_package(OpenGL) +find_package(GLUT) + set(LIBRARY_OUTPUT_PATH "${KS_DIR}/lib") set(EXECUTABLE_OUTPUT_PATH "${KS_DIR}/bin") diff --git a/kernel-shark-qt/README b/kernel-shark-qt/README index e6818fc..f03288c 100644 --- a/kernel-shark-qt/README +++ b/kernel-shark-qt/README @@ -7,6 +7,7 @@ Third Party Software: The external dependencies: 1. In order to install the packages on Ubuntu do the following: sudo apt-get install build-essential git cmake libjson-c-dev -y + sudo apt-get install freeglut3-dev libxmu-dev libxi-dev -y 1.1 I you want to be able to generate Doxygen documentation: sudo apt-get install graphviz doxygen-gui -y @@ -14,6 +15,7 @@ The external dependencies: 2. In order to install the packages on Fedora, as root do the following: dnf install gcc gcc-c++ git cmake json-c-devel -y + dnf install freeglut-devel redhat-rpm-config -y 2.1 I you want to be able to generate Doxygen documentation: dnf install graphviz doxygen -y