From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28214 invoked by alias); 13 Jun 2019 18:20:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 25950 invoked by uid 89); 13 Jun 2019 18:20:25 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy= X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Jun 2019 18:20:23 +0000 Received: from [192.168.1.114] ([24.64.172.44]) by shaw.ca with ESMTP id bUKihvuMvGusjbUKjh5wBN; Thu, 13 Jun 2019 12:20:22 -0600 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: cmake and Code::Blocks To: cygwin@cygwin.com References: <000701d521d0$b30374c0$190a5e40$@samsung.com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: <3fa745b4-b8d7-d050-b26b-8c1df388629b@SystematicSw.ab.ca> Date: Thu, 13 Jun 2019 18:20:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <000701d521d0$b30374c0$190a5e40$@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-06/txt/msg00150.txt.bz2 On 2019-06-13 04:13, Pavel Fedin wrote: > I am working on a CMake-based project and building it under Cygwin. I > decided to use Code::Blocks IDE since CMake already hass appropriate project > generator (i'm using "CodeBlocks - Unix Makefiles"). However, i had to > manually edit the resulting .cbp file and replace all paths with their native > Windows equivalents; otherwise the IDE can't find any file and do anything. > Is this a known TODO area for CMake or am i missing some magic switch while > loading the project into CB? If you are trying to use a Windows based tool with Cygwin utilities, you are likely to be the first, and on your own. What evidence do you have of features that support Cygwin? Maybe CB doesn't support Cygwin tools, or not very well, or maybe you have to change the configuration, or provide the conversion, or maybe it's just not a good IDE for those tools? Having to edit file paths used by a tool is never a good sign. There are probably a lot of other paths you may have to edit. Sometime the trick is to add a couple of your own scripts to convert the paths in files to and from Cygwin and Windows: hint - cygpath. How would anyone here know if you are missing some magic switch using the tool you chose? Read and understand the docs to know the limitations and interface requirements of the tools you have chosen. Sometimes we make bad choices, have to scrap what we did, make hopefully better choices, and restart from earlier. Source control allows you to handle that more easily. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple