Commit Graph

4 Commits

Author SHA1 Message Date
Albrecht Schlosser 71ec2f2b5c Remove copyright markers from abi-version.* (STR #3161).
See STR comments #10 - #14.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-29 18:50:24 +00:00
Albrecht Schlosser d0fa58f700 Clarification and better documentation of ABI version configuration.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-07-09 18:47:06 +00:00
Albrecht Schlosser 449e15ecee Add copyright comments, improve comments, don't set FL_ABI_VERSION.
FL_ABI_VERSION should not be set in the IDE projects to avoid having to
update the version numbers for each release.

The default is used if FL_ABI_VERSION is not defined.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10788 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-13 18:17:33 +00:00
Albrecht Schlosser 9adb181156 Make FL_ABI_VERSION configurable (STR #3161).
This commit adds the configure option --with-abiversion and the CMake option
OPTION_ABI_VERSION. Both options can be set e.g. to 10304 to build with
FL_ABI_VERSION = 10304 (FLTK 1.3.4).

For IDE builds there are new files ide/<IDE-NAME>/FL/abi-version.h that
can be edited to change the ABI version before the FLTK lib is built.
Note that this file MUST be copied to the include/FL directory if the
IDE-built library is to be installed.

The default is FL_ABI_VERSION = FL_MAJOR*10000 + FL_MINOR*100 + 0, i.e.
10300 for all FLTK 1.3.x versions to keep binary compatibility (ABI).

Todo: more tests and more documentation.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10786 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-07-12 19:23:55 +00:00