Commit Graph

12 Commits

Author SHA1 Message Date
Albrecht Schlosser
2b6c2bc7af Make VisualC2008/2010 projects create FL/abi-version.h (STR #3249).
First step towards a hopefully clean creation of FL/abi-version.h for all
Windows (Visual Studio) and maybe also Xcode projects (if necessary) in
order to "simulate" configure and CMake methods to create this file.

I could only modify the VisualC2008 and VisualC2010 project files, because
I don't have VisualC6 and/or Xcode. Help needed...

To do for remaining <ide> directories (ide/VisualC6 and maybe ide/Xcode4):

 (1) Remove <ide>/FL folders including <ide>/FL/abi-version.h.
 (2) Add a Pre-Build event or equivalent on project 'fltk' for all
     potential build configurations (Debug, Release, ...)
 (3) Maybe add project dependencies to ensure that the Pre-Build event
     of project 'fltk' is executed before all other projects.

Notes:

 (a) Command line for Pre-Build events of VS2008/2010:
     "copy /Y $(SolutionDir)..\..\abi-version.ide $(SolutionDir)..\..\FL\abi-version.h"
     Something similar should work for VC6 as well.

 (b) While building the projects I found some wrong output settings in zlib
     projects. These have been fixed in this commit as well (unrelated).
     
 (c) .gitignore has been extended to ignore all intermediate build files
     of VS2008/VS2010 ide projects.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@11010 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-01-19 14:02:10 +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
Albrecht Schlosser
2098d8bfd8 Generate Doxyfile and Doxybook from common source file Doxyfile.in.
Now we have less files to edit, and Doxyfile.in is shared with the
CMake generation of Doxyfile and Doxybook.

Besides that two files with FLTK version numbers are now removed (less
work for future version updates).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10762 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16 13:18:28 +00:00
Albrecht Schlosser
333b5268c3 Add FLTK version test program examples/fltk-versions.cxx.
This program can be used to verify that the FLTK runtime system
(ABI version) is binary compatible with the compiled and linked program.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-21 12:44:46 +00:00
Albrecht Schlosser
b89035f360 Add new animated demo to CMakeLists.txt, update .gitignore and svn props.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10643 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-18 13:31:59 +00:00
Albrecht Schlosser
57318e8b3e Update ignored files in examples directory.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10465 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-11-21 17:17:49 +00:00
Albrecht Schlosser
157c5bf15e Add generated file documentation/src/fltk-book.tex to ignored files.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10384 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-10-19 12:15:40 +00:00
Albrecht Schlosser
eb1af07952 Add Fl_Window::wait_for_expose() and test program (STR #3124).
Also modified .gitignore, svn-properties, Makefile and CMake-Files.

Todo: test/twowin.cxx and test/windowfocus.cxx need to be added to ide files
(MS VC++ and Xcode).


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10339 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-26 23:58:05 +00:00
Albrecht Schlosser
6781789948 Add test/twowin to .gitignore file.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10324 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-09-19 22:03:17 +00:00
Albrecht Schlosser
0ddd4e4717 Update .gitignore file
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10247 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-08-23 00:22:55 +00:00
Albrecht Schlosser
f6e1394df9 Fix .gitignore line endings, set 'svn:eol-style native' property.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10085 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-26 01:28:39 +00:00
Albrecht Schlosser
adfc450da4 Add .gitignore file for conversion to git.
Note: generated from svn with 'git svn show-ignore'.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10084 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-01-26 01:05:29 +00:00