X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D3454385DC0F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1586119908;
	bh=L+9POplbdjOIqY/W879914t4em1qGgmpJsk7gl2IFdw=;
	h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post:
	 List-Help:List-Subscribe:From:Reply-To:From;
	b=nu6LVAMf4d/uHdbwfhD1R7prJkfySaLmc29Tl7rWS84EZyCgfAVWzLoNezCw0nAl6
	 J2GjODefiMUytDZjrL8Z2pCcL/6kbkke++RVbsUERBM2aENkELF92iLPJgU3WPrhmP
	 w/LnmHPJjYUvDvDPpBd7dOxjJ6iTZ55ZnLTzeGHc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C41CD385B831
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:to:from:subject:message-id:date:user-agent
 :mime-version:content-transfer-encoding:content-language;
 bh=D1qAOlqiHY0S+7Sx8vqb2W3FAtnCknVTTJj2+Tp7pEg=;
 b=d4me5eJAzgjRi3AqrKW2/3JWqPmXCvsuiy8mCP7nokKJnebXZxjnpto8AjGSCKLYUa
 WXJ4WRnTBBvsevT97Zklag3knvM2kGYqeg2YKsLJivjNISii2NkgHsIU62SSakili6e0
 4SW1A4krUJHeaVJ5M2W1OXtaWm/U8HB+hotnb8TbP91QdlszeHy6chT/f8ultbsRB852
 s3715Jv4m5jrMYSrHSSRFonu6c8kMZ3SMzyoyMmyyq9wAjjWXLwVVSftMJMYwe4dBlT7
 o3IdtcabIP+Lf5MGMNMnVCxkhlNSeixFRWeIDSDd1NuRh9hQOqVzMKcAeJRXsto0aJbM
 fYPg==
X-Gm-Message-State: AGi0PuaKg1QtM7oK/akdomi/ijnkYRgPiN9pEpyfQnaBVyIhKMvUod3U
 P4rTc4H7ZTajeAQTW/4j6qQ7QyBeYy8=
X-Google-Smtp-Source: APiQypKWFme2XTNsLguURheRmwyge2Ntdwn0KbbH+o3r10aRsN3LIT+oxLfnu7ZECqg4hv9FsPU4bA==
X-Received: by 2002:a2e:8ec2:: with SMTP id e2mr10018187ljl.252.1586119903080; 
 Sun, 05 Apr 2020 13:51:43 -0700 (PDT)
To: cygwin@cygwin.com
Subject: How do I write a cygport file for two different configurations in the
 same cygport package
Message-ID: <a5d76b91-d0b0-6334-9701-ac33db6eaa2c@gmail.com>
Date: Sun, 5 Apr 2020 22:51:41 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101
 Thunderbird/68.6.0
MIME-Version: 1.0
Content-Language: en-US
X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: =?utf-8?q?=C3=85ke_Rehnman_via_Cygwin?= <cygwin@cygwin.com>
Reply-To: =?UTF-8?Q?=c3=85ke_Rehnman?= <ake.rehnman@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

Hello all,

I was going to update the libftdi1 package which in addition to the 
regular ftdi library contains python bindings. Unfortunately the cmake 
CMakeLists only builds python 3 bindings for this library unless 
explicitly passed some magic variables on the command line. However both 
python 2 and python 3 bindings cannot be built in one go.

So the question is how do I write a cygport file to first compile the 
libraries with python 3 then reconfigure (run cmake again with new 
parameters) and build the python 2 bindings?

Any ideas?

BR

/Ake

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple
