g4klx / ircDDBGateway

The ircDDB Gateway for D-Star
GNU General Public License v2.0
61 stars 41 forks source link

Adds BUILD make variable for debug/release builds #52

Closed sq7lrx closed 4 years ago

sq7lrx commented 4 years ago

Introduces a BUILD make parameter to allow for building both debug and release variants from the same Makefile. This also makes the Makefile-defined preprocessor macros more in line with those from Visual Studio build.

Minor changes:

sq7lrx commented 4 years ago

if you don't like Markdown, I can take it back. The preview is at https://github.com/sq7lrx/ircDDBGateway/blob/debug-switcher/BUILD.md

dg0tm commented 4 years ago

Hi Adam,

what do you think about to add DESTDIR also?

73 de DG0TM

sq7lrx commented 4 years ago

what do you think about to add DESTDIR also?

Good idea. On my way

sq7lrx commented 4 years ago

@g4klx since we are at build tools, what do you think about switching it to CMake? It's modern, elegant, available in all linux distributions, MacOS and Windows. And, what's most important, can help with cross-compiling to different devices a lot. Same receipt can be used for both desktop PCs and embedded devices (RPi, OpenWRT, other SBC). Would you accept such pull request?

g4klx commented 4 years ago

I don’t find CMake elegant at all. So please stay with Makefiles or vcxproj files depending on the platform.

Sent from Yahoo Mail for iPhone

On Thursday, May 28, 2020, 20:57, Adam SQ7LRX notifications@github.com wrote:

@g4klx since we are at build tools, what do you think about switching it to CMake? It's modern, elegant, available in all linux distributions, MacOS and Windows. And, what's most important, can help with cross-compiling to different devices a lot. Same receipt can be used for both desktop PCs and embedded devices (RPi, OpenWRT, other SBC). Would you accept such pull request?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub, or unsubscribe.

sq7lrx commented 4 years ago

@dg0tm DESTDIR added in PR #53