altsan / os2-estyler

Styler (eStyler) for OS/2
GNU General Public License v3.0
3 stars 1 forks source link

Improve build system #1

Open ydario opened 7 years ago

ydario commented 7 years ago

The build system is really bad... it needs some improvement.

altsan commented 7 years ago

It has its idiosyncracies, but it's pretty much what I inherited. Do you have any specific suggestions?

ydario commented 7 years ago

The support for kbuild has been committed in 555ce8a. This requires a (simple) patch to kbuild tracked here http://trac.netlabs.org/kbuild/ticket/133. The build is producing files required for installation, the only difference is that NLS files are put to a different NLS directory.

ydario commented 7 years ago

With d5def31 also bldlevel informations are generated from source files/git. While version informations are taken from headers/stlrVersion.h, the fixpak level is taken from git tagging. git tags can be added with

git tag -a v1.1.200 -m "tagging version 1.1.200."

and pushed with

git push --tags

Please note that 'git push' does not push tags.

ydario commented 7 years ago

Note: committing from QtCreator requires updated scmgit.dll from https://github.com/ydario/qt-creator-os2 (see link for details).

ydario commented 7 years ago

Since ticket#133 has been closed as invalid, the LIBPATH feature is now used. This requires a VAC308.MAK from r3023 or later: download attachment VAC308.zip.

ydario commented 7 years ago

With 2f97110 now the git tag is reported in visible version strings in the user interface.