Return-Path: Delivered-To: apmail-maven-users-archive@www.apache.org Received: (qmail 1849 invoked from network); 1 Mar 2011 18:12:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Mar 2011 18:12:32 -0000 Received: (qmail 87600 invoked by uid 500); 1 Mar 2011 18:12:29 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 87463 invoked by uid 500); 1 Mar 2011 18:12:27 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 87452 invoked by uid 99); 1 Mar 2011 18:12:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 18:12:26 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dantran@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-yx0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Mar 2011 18:12:21 +0000 Received: by yxh35 with SMTP id 35so2327570yxh.30 for ; Tue, 01 Mar 2011 10:12:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TyRsKVybhYytdkAqg4qpbuwBpMWI9nkVqV/q3w18r84=; b=sF89TtW16nxeRyn9yN9hRySm+92gZS9EwJRCWXbkpNoWYExXA3Pb56BRxyW7D9d7P+ D2kIgx98SuSjW3Y+bXVEBruMM/MOdLkDesCkxbvIhzPnv2J8xeEZuD3BOrpvSXb0MrxF 6vrGEdPI9t5XAKgcYIDCK7raDMtpUcFo0XzBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=UQX3Vu6cqBrXsocW39T6E5s8VkQL1lAUMH/dfeV16GaqlwIag5yQkgqeySiXOUqhPn 86JIO1OgIU7pJ/Vhbpr6jXTD/XDNYSf+rbjtlJzVRyQOwWXjbJXUZ987FpyWGEg+imSM JuVomtbBwDQWxXQn5hO8j69L8yMfOEOe/subA= MIME-Version: 1.0 Received: by 10.150.50.20 with SMTP id x20mr9251125ybx.203.1299003120568; Tue, 01 Mar 2011 10:12:00 -0800 (PST) Received: by 10.150.212.18 with HTTP; Tue, 1 Mar 2011 10:12:00 -0800 (PST) In-Reply-To: <1299002874138-3405441.post@n5.nabble.com> References: <1298901185931-3403291.post@n5.nabble.com> <1298978527437-3404794.post@n5.nabble.com> <1299002874138-3405441.post@n5.nabble.com> Date: Tue, 1 Mar 2011 10:12:00 -0800 Message-ID: Subject: Re: c++ native-maven-plugin redundant linking at second run problem From: Dan Tran To: Maven Users List Content-Type: text/plain; charset=UTF-8 Another thought is to take a look at NAR and native-plugin to see if you can find a solution not to relinking when there is no change in source and provide patch -Dan On Tue, Mar 1, 2011 at 10:07 AM, sintetik wrote: > Thank you Mark, > >> NAR also links in the compile phase as it uses cpp-tasks to handle uniform >> compilation and linking. > > I guess it means linking will be repeated anyhow even if code didn't change? > > I had a thought that it's theoretically possible to resolve my problem > (redundant linking) by creating 2 projects (for every cpp module), one of > them doing compilation and producing obj files and second one just depending > on the first one and performing linking. > > This looks somehow ugly though, so I'm thinking about possibility to > "virtualize" this process inside the plugin itself. > > Please let me know whether you think if it's possible or any other > considerations. > > Thanks, > Sergey. > > > -- > View this message in context: http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-tp3403291p3405441.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > For additional commands, e-mail: users-help@maven.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@maven.apache.org For additional commands, e-mail: users-help@maven.apache.org