This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cmake and Code::Blocks


Hi Pavel,

On Thu, Jun 13, 2019 at 12:14 PM Pavel Fedin  wrote:
>
>  Hello!
>
>  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 ?

Are both CMake and Code::Blocks Cygwin programs? I suspect you tried
to use a .cbp generated by Cygwin's CMake (which uses POSIX style
paths) with a non-Cygwin Code::Blocks. This is likely to be tricky.

Csaba
-- 
You can get very substantial performance improvements
by not doing the right thing. - Scott Meyers, An Effective C++11/14 Sampler
So if you're looking for a completely portable, 100% standards-conformat way
to get the wrong information: this is what you want. - Scott Meyers (C++TDaWYK)

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]