User forums > Using Code::Blocks

cbp2make - makefile generation tool

<< < (24/25) > >>

MortenMacFly:
Disclaimer beforehand: I am one of the users of this tool and I like it, but also had slightly modify it to suit my (very special) needs.


--- Quote from: mirai on July 25, 2023, 10:35:14 am ---Q1: When should built-in variable expansion take place, at makefile generation time or at actual build time?

--- End quote ---
I'd say option 1 makes probably most sense. Makefile generation. They could be created as normal variables that are being expanded.


--- Quote from: mirai on July 25, 2023, 10:35:14 am ---Q2: Who should do built-in variable expansion, cbp2make while generating a makefile or Make while building stuff?

--- End quote ---
My preference: Again option 1.


--- Quote from: mirai on July 25, 2023, 10:35:14 am ---Q3: When cbp2make is used in an environment without C::B IDE installed, how should it set C::B installation related variables?
Same question goes for ACTIVE_EDITOR_* variables. By default all undefined variables are empty strings.

--- End quote ---
That is a tricky one. I'd say the ACTIVE_EDITOR alike variables there is not much you can do but also, whoever needs these variables for builds does that probably temporarily only and so there is no need for a Makefile ever. For the rest: Just rely on the user here: Ask step-by-step for a user input, explaining the situation beforehand, something like: "cbp2make does not know the global variables of a code::blocks installation so these need to be provided manually.".

...just my 2ct...

ollydbg:
Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

stahta01:

--- Quote from: ollydbg on August 25, 2024, 02:16:17 am ---Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

--- End quote ---

What OS? If Windows MSys2, what environment?

Tim S.

ollydbg:

--- Quote from: stahta01 on August 25, 2024, 04:05:54 am ---
--- Quote from: ollydbg on August 25, 2024, 02:16:17 am ---Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

--- End quote ---

What OS? If Windows MSys2, what environment?

Tim S.

--- End quote ---

Hi, Tim, I have both 64bit Windows 10 and Windows 7 at hands. I mainly use msys2, and in the mingw-w64 (not ucrt) target.

stahta01:

--- Quote from: ollydbg on August 25, 2024, 03:06:36 pm ---
--- Quote from: stahta01 on August 25, 2024, 04:05:54 am ---
--- Quote from: ollydbg on August 25, 2024, 02:16:17 am ---Hi, this is a nice tool, and someone are using this tool to build C::B by the github action, you can see discussion here:

build bot in the github, I see one nice project

Nice work!

EDIT:

Where can I find the binary file of this tool?

--- End quote ---

What OS? If Windows MSys2, what environment?

Tim S.

--- End quote ---

Hi, Tim, I have both 64bit Windows 10 and Windows 7 at hands. I mainly use msys2, and in the mingw-w64 (not ucrt) target.

--- End quote ---

https://github.com/stahta01/MINGW-packages/actions/runs/10543268999#artifacts

Link to 4 versions of untested packages.

These packages are autodeleted in time; I have no idea how long I think it was 90 days.

Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version