Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Compiler profile Import #2

Open
sgolubev33 opened this issue Nov 29, 2022 · 1 comment
Open

Custom Compiler profile Import #2

sgolubev33 opened this issue Nov 29, 2022 · 1 comment

Comments

@sgolubev33
Copy link

Hello,

If I've defined custom compiler profile in the Code::Clocks the cbp2make does not importing this custom profile in to cbp2make.cfg

@mirai-computing
Copy link
Owner

Hi! Sorry for late reply. Unfortunately, cbp2make doesn't know how to import Code::Blocks config (yet), so the fastest way to introduce a custom compiler to cbp2make is to configure it manually either through command line or by direct editing of cbp2make XML config. You can first run cbp2make dry with --local and --config options and then edit the template. I know it's inconvenient, but I'm having just the same problem with it.

The problem with importing Code::Blocks config is that Code::Blocks stores almost everything in CDATA sections and not in regular XML tags and parameters and then since 1) TinyXml cannot provide an API for parsing and r/w contents of CDATA sections because it can't possibly know its format and 2) correct me if I'm wrong, but internal Code::Blocks config doesn't seem to be well documented; reverse engineering of that format including studying Code::Blocks sources has been postponed during active development. Maybe we should give it another try, it's a nice feature afterall, I'd like it being implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants