diff options
author | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-10 11:06:15 +0200 |
---|---|---|
committer | Graeme Geldenhuys <graeme@mastermaths.co.za> | 2010-03-10 11:06:15 +0200 |
commit | f96c9ed67347181166e21d99a632c864a06b35d9 (patch) | |
tree | 32765cc876d50088511147a992264b0194e5d3e9 | |
parent | 9c245e3cb7abe5ef47d936a5a6725215b3136f88 (diff) | |
download | fpGUI-f96c9ed67347181166e21d99a632c864a06b35d9.tar.xz |
FPC compiler struggles with include files that don't have extensions.
This issue is further complicated by Lazarus IDE. So to reduce issues,
we appended the file with a .inc extension.
-rwxr-xr-x | VERSION-GEN | 4 | ||||
-rw-r--r-- | VERSION_FILE.inc (renamed from VERSION-FILE) | 0 | ||||
-rw-r--r-- | src/corelib/fpg_main.pas | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/VERSION-GEN b/VERSION-GEN index c6be9e41..278e155a 100755 --- a/VERSION-GEN +++ b/VERSION-GEN @@ -2,9 +2,9 @@ if test -f AUTHORS.txt then - VF=VERSION-FILE + VF=VERSION_FILE.inc else - VF=../../../VERSION-FILE + VF=../../../VERSION_FILE.inc fi DEF_VER=v0.6 diff --git a/VERSION-FILE b/VERSION_FILE.inc index 28f36400..28f36400 100644 --- a/VERSION-FILE +++ b/VERSION_FILE.inc diff --git a/src/corelib/fpg_main.pas b/src/corelib/fpg_main.pas index eb9106dd..cfe4fcf0 100644 --- a/src/corelib/fpg_main.pas +++ b/src/corelib/fpg_main.pas @@ -59,7 +59,7 @@ const cMessageQueueSize = 1024; // version and name constants - {$I VERSION-FILE} // this includes the auto generated: fpGUI_Version = xxx + {$I VERSION_FILE.inc} // this includes the auto generated: fpGUI_Version = xxx fpGUIName = 'fpGUI Toolkit'; const |