Author Topic: CBP2MAKEFILE 2  (Read 6340 times)

netpipe

  • Guest
CBP2MAKEFILE 2
« on: July 02, 2021, 05:24:59 am »

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5906
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: CBP2MAKEFILE 2
« Reply #1 on: July 02, 2021, 01:00:01 pm »
Nice work!
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline cacb

  • Lives here!
  • ****
  • Posts: 536
Re: CBP2MAKEFILE 2
« Reply #2 on: July 02, 2021, 09:53:22 pm »
This does not work if your project search paths include Code::Blocks global variables.

It would be useful if global variable definitions could be exported to the makefile so that the include paths etc. would work.