From patchwork Fri Aug 24 14:21:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yordan Karadzhov X-Patchwork-Id: 10759147 Return-Path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:35929 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbeHXR4f (ORCPT ); Fri, 24 Aug 2018 13:56:35 -0400 Received: by mail-wm0-f68.google.com with SMTP id j192-v6so1844575wmj.1 for ; Fri, 24 Aug 2018 07:21:42 -0700 (PDT) From: "Yordan Karadzhov (VMware)" To: rostedt@goodmis.org Cc: linux-trace-devel@vger.kernel.org, "Yordan Karadzhov (VMware)" Subject: [PATCH v2 1/4] kernel-shark-qt: Add OpenGL/GLUT as a third party dependency. Date: Fri, 24 Aug 2018 17:21:13 +0300 Message-Id: <20180824142116.21339-2-y.karadz@gmail.com> In-Reply-To: <20180824142116.21339-1-y.karadz@gmail.com> References: <20180824142116.21339-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