fltk/abi-version.ide
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

49 lines
1.6 KiB
Plaintext

/*
* "$Id$"
*
* Configuration file for the Fast Light Tool Kit (FLTK).
*
* Copyright 1998-2015 by Bill Spitzak and others.
*
* This library is free software. Distribution and use rights are outlined in
* the file "COPYING" which should have been included with this file. If this
* file is missing or damaged, see the license at:
*
* http://www.fltk.org/COPYING.php
*
* Please report all bugs and problems on the following page:
*
* http://www.fltk.org/str.php
*/
/*
============================================================================
Edit with care! This source file (abi-version.ide) is used to
generate FL/abi-version.h by your IDE (Visual C++) build system !
----------------------------------------------------------------------------
If you need to change the ABI configuration, edit abi-version.ide
in the FLTK source (root) directory and "Rebuild Solution".
This will copy abi-version.ide to FL/abi-version.h.
DO NOT edit FL/abi-version.h directly !
----------------------------------------------------------------------------
See below for instructions how to edit abi-version.ide.
The default ABI version (#undef FL_ABI_VERSION) is 1.x.0 (1xx00).
============================================================================
*/
/*
Define FL_ABI_VERSION as 1xxyy for FLTK ABI version 1.x.y.
Use leading zeroes in xx and yy - don't use a leading zero for
the major version number (currently 1).
Replace the line below (#undef FL_ABI_VERSION) with your definition.
Example:
#define FL_ABI_VERSION 10302
*/
#undef FL_ABI_VERSION
/*
* End of "$Id$".
*/