From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wDFBJwcCNWPFEgAAbAwnHQ (envelope-from ) for ; Thu, 29 Sep 2022 04:25:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2CmVJwcCNWNWIAAA9RJhRA (envelope-from ) for ; Thu, 29 Sep 2022 04:25:11 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 31C2C2DAEB for ; Thu, 29 Sep 2022 04:25:11 +0200 (CEST) Received: from localhost ([::1]:55528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odjEc-0001uv-0g for larch@yhetil.org; Wed, 28 Sep 2022 22:25:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47446) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odjE9-0001uk-BU for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 22:24:41 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:36672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odjE6-0001a5-O8 for emacs-orgmode@gnu.org; Wed, 28 Sep 2022 22:24:40 -0400 Received: by mail-pl1-x62a.google.com with SMTP id c24so60013plo.3 for ; Wed, 28 Sep 2022 19:24:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date; bh=v8f8xNvXm0RfeV0y8RjG1T+UMBZ172Qp7af1p6kTNFo=; b=lBMMoTC4Qz7846Fka9c9LGKQpl3/IAsHONCY4Xz146DmcrOE9P/rIpgHbAXp8UuYjs d7SEnJkRkNrLivYvSY1M20uQENx1qs77InQ4LItjcdr+oVDXuRBpohEai9ByDpO1TJCm Y8ggfGY35QHI6ovgHOKNArPtSRwZQS0eGYzhFWMsJl2BGuenQsprHJySIxIftaHMYggN yps/+JtQL9jI1z6zVq1E//EXpnd8GsjhRa0NzKoPDs58ggekiVZpNKOCtZRNI9mqNL5X rRwrXiml6oOg3uC4MO1+SnrQiP0neYTViLkGuSfgUmL/ja2UCJczU90PejgTvhffEqc+ J4Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date; bh=v8f8xNvXm0RfeV0y8RjG1T+UMBZ172Qp7af1p6kTNFo=; b=4sp5ezsBFuZ+icjf5H96UcuPtj+qUNLrKkPl3o99KzNJceAjuAq8BFdZvbCHnC0QKi 8peWWof/zU1XoTip24BBTZOn10wrM/WUmBmjV+UbMFB4QuyuyuRtGcxbPz0Wl8IjZIbb 49eccb97oKTDeiUFbaOkpl1JFs2f99utrMab/BIs39e5eF7wz7tBBrPQ6e6MZAMI+vMc 2CdJEl1e2Er/YzwPh4tE8JzRmZfwHROVVXaTS9W7dJWqepBo3KZSvnVUfxryrSb2aamY 78D7TVuCQ6Jc3QeU+F7htVKdvuPKArivvReHq+/Y60KRsyeMoqQVrZELBycCKCTQxfsA aJmA== X-Gm-Message-State: ACrzQf05JQTcibIxp7ulc9bWZfTakSe5RvRYxwf621TaFkI50dAmu+as O81Js2yUZUEU2Es9U4FPb7s= X-Google-Smtp-Source: AMsMyM5G66QZ+T2vVdMnKPtZTMO7pxrGn8LgYPGX6xhAbbsc6g0ofRCtQJZRlqUHp53Fbcx5TVT9pA== X-Received: by 2002:a17:90b:3808:b0:202:c5ba:d71b with SMTP id mq8-20020a17090b380800b00202c5bad71bmr13565677pjb.18.1664418277007; Wed, 28 Sep 2022 19:24:37 -0700 (PDT) Received: from localhost ([115.154.175.57]) by smtp.gmail.com with ESMTPSA id mp3-20020a17090b190300b00200558540a3sm2237786pjb.53.2022.09.28.19.24.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Sep 2022 19:24:36 -0700 (PDT) From: Ihor Radchenko To: tbanelwebmin Cc: emacs-orgmode@gnu.org Subject: Re: Compiling a C++ source block In-Reply-To: <756c0374-abef-8e73-e765-9cfeb03bb462@free.fr> References: <756c0374-abef-8e73-e765-9cfeb03bb462@free.fr> Date: Thu, 29 Sep 2022 10:25:31 +0800 Message-ID: <87h70qapd0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664418311; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=v8f8xNvXm0RfeV0y8RjG1T+UMBZ172Qp7af1p6kTNFo=; b=i1umqSsZratWi8On7q7JyDj0ZklPwsjXirSKHcX9ktZnSXZkiwUTTvRAbNRaRKgp0h2E/n bszDRDTdGxD7PM7svSYGidnhd3n0pcY6vw3PmqbIWgYcHO1bERzoxrkcBZSIq1OwOd86Mg rX+2J3jqGioc8ZgACpv8E639GJgfbWcAL/gSOIxzuRZydGOWs6Q9fQbZT0Uq4eUF4VA7ql /YEdk4tAZQVlgInxEVfbwMe6zBmvfoCmgU4FfyVzbmGIZuysKmiK2cOywfLjuNZViak5ps T0YuISBSn17tJfWwzh0yTmYgltZ0dlk0BHjIjM3gqGyIQ+nSJZoPhKSJxSeQdg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664418311; a=rsa-sha256; cv=none; b=pwTO0WOJtBgQ4UkSiUkc2he78/JmZkf72uenXTPI8P6Lrqdz7m/cDURBdsomWskuPzwHhc lCASEtIEv3Ttz7rznUPkyFaJHawn0lrxtBgbmCVNJDLq1WEWOVcX49NlxeVMHklvpE+7ch gyMW3HDEWL4f67hD9qzf/0UfwbcCE0r9mAbkyrM6mBsZ2t2Q2O+m4tNSCxms41aDaiand5 TXnG6h8PiEdGZnpXnET8feoZhoAExTi9H7gGqcS1mk3yasbli0LHDjwSU6pXiP7AGxBVMR x31r+AzLdPeYGO1ixFTmhagl355Wb0PH6YlSTuWQTjL8/qyh6vlR8MGuSKEOig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lBMMoTC4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.35 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lBMMoTC4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 31C2C2DAEB X-Spam-Score: -7.35 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9Z29uzJlQhMR tbanelwebmin writes: > You may try: > #+header: :includes '("" "") I notice that https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-C.html only has examples of a single library being using in :includes parameter. Although the text description does mention list of strings, it would be nice if there was an example using :includes with multiple libraries and/or local libraries. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92