From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F245C47082 for ; Mon, 7 Jun 2021 19:20:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3485461009 for ; Mon, 7 Jun 2021 19:20:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbhFGTWu (ORCPT ); Mon, 7 Jun 2021 15:22:50 -0400 Received: from foss.arm.com ([217.140.110.172]:40858 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230381AbhFGTWu (ORCPT ); Mon, 7 Jun 2021 15:22:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4A4C0143D; Mon, 7 Jun 2021 12:20:58 -0700 (PDT) Received: from a077198.arm.com (unknown [10.163.84.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7602E3F73D; Mon, 7 Jun 2021 12:20:56 -0700 (PDT) From: Deepak Kumar Mishra To: dwarves@vger.kernel.org, acme@kernel.org Cc: qais.yousef@arm.com, Deepak Kumar Mishra Subject: [PATCH v2 0/2] dwarves: enable-SHARED-and-STATIC-lib-creation Date: Tue, 8 Jun 2021 00:50:12 +0530 Message-Id: X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: dwarves@vger.kernel.org CMakeLists.txt does not allow creation of static library and link applications accordingly. Creation of SHARED and STATIC should be allowed using -DBUILD_SHARED_LIBS README file is also ammended to provide information regarding use of -DBUILD_SHARED_LIBS while using cmake By default if -DBUILD_SHARED_LIBS cmake option is not provided or is not set to ON, shared libraries are created. Deepak Kumar Mishra (2): CMakeLists.txt: enable SHARED and STATIC lib creation README: add documentation for -DBUILD_SHARED_LIBS CMakeLists.txt | 15 ++++++++++----- README | 13 +++++++++++-- 2 files changed, 21 insertions(+), 7 deletions(-) -- 2.17.1