diff --git a/README.W32 b/README.W32 index 356222a..1084ea4 100644 --- a/README.W32 +++ b/README.W32 @@ -3,11 +3,24 @@ flaim-projects README file for Windows Contents: -------- -1. Tools for Building on Windows -2. Building the Projects -3. Visual Studio Runtime Library Use -4. Legacy Makefile +1. Known Build Issues +2. Tools for Building on Windows +3. Building the Projects +4. Visual Studio Runtime Library Use +5. Legacy Makefile +Known Build Issues +------------------ + +1. There is an occasional build failure due to an "access denied" + error when attempting to write to a manifest file. Just build + again, and it will work the second time. + +2. 64-bit builds of the flaim library have a few warnings, but + should build cleanly otherwise. + +3. xflaim and sql don't build cleanly in 64-bit builds yet. + Tools for Building on Windows ----------------------------- @@ -76,6 +89,10 @@ provided by Visual Studio, and located within the following directory: c:\program files\microsoft visual studio 8\vc\vcvarsall.bat +The Visual Studio 2008 IDE will automatically upgrade the solution and +project files from VS 2005 format to VS 2008 format. PLEASE DO NOT COMMIT +THESE CHANGES (if you have commit rights to the flaim project repository). + The projects may also be built from Windows command (.cmd) files provided in the same locations as the flaim project Visual Studio solution files. Additionally, there is a master command file in the trunk\flaim\win32 @@ -102,6 +119,11 @@ For instance, ftk Win64 Debug products can be found in: flaim/ftk/win32/ftk/x64/Debug +If you're using Visual Studio 2008, the build.cmd files will automatically +detect and upgrade the VS 2005 solution and project files to VS 2008 format. +PLEASE DO NOT COMMIT THESE CHANGES (if you have commit rights to the flaim +project repository). + Visual Studio Runtime Library Use --------------------------------- @@ -172,5 +194,4 @@ CAVEAT: We're trying to phase out the legacy GNU makefile build system, so: 1) Don't expect it to last forever, and 2) Don't be surprised if it doesn't work all the time -Enjoy! - +Enjoy! \ No newline at end of file diff --git a/flaim/README.W32 b/flaim/README.W32 index 1e84de7..e2cedbc 100644 --- a/flaim/README.W32 +++ b/flaim/README.W32 @@ -3,10 +3,23 @@ flaim README file for Windows Contents: -------- -1. Tools for Building on Windows -2. Building the Projects -3. Visual Studio Runtime Library Use -4. Legacy Makefile +1. Known Build Issues +2. Tools for Building on Windows +3. Building the Projects +4. Visual Studio Runtime Library Use +5. Legacy Makefile + +Known Build Issues +------------------ + +1. There is an occasional build failure due to an "access denied" + error when attempting to write to a manifest file. Just build + again, and it will work the second time. + +2. 64-bit builds of the flaim library have a few warnings, but + should build cleanly otherwise. + +3. xflaim and sql don't build cleanly in 64-bit builds yet. Tools for Building on Windows ----------------------------- @@ -76,6 +89,10 @@ provided by Visual Studio, and located within the following directory: c:\program files\microsoft visual studio 8\vc\vcvarsall.bat +The Visual Studio 2008 IDE will automatically upgrade the solution and +project files from VS 2005 format to VS 2008 format. PLEASE DO NOT COMMIT +THESE CHANGES (if you have commit rights to the flaim project repository). + The projects may also be built from Windows command (.cmd) files provided in the same locations as the flaim project Visual Studio solution files. Additionally, there is a master command file in the trunk\flaim\win32 @@ -102,6 +119,11 @@ For instance, ftk Win64 Debug products can be found in: flaim/ftk/win32/ftk/x64/Debug +If you're using Visual Studio 2008, the build.cmd files will automatically +detect and upgrade the VS 2005 solution and project files to VS 2008 format. +PLEASE DO NOT COMMIT THESE CHANGES (if you have commit rights to the flaim +project repository). + Visual Studio Runtime Library Use --------------------------------- @@ -172,5 +194,4 @@ CAVEAT: We're trying to phase out the legacy GNU makefile build system, so: 1) Don't expect it to last forever, and 2) Don't be surprised if it doesn't work all the time -Enjoy! - +Enjoy! \ No newline at end of file diff --git a/flaim/win32/flaim/build.cmd b/flaim/win32/flaim/build.cmd index 2d04c29..7e77f6f 100644 --- a/flaim/win32/flaim/build.cmd +++ b/flaim/win32/flaim/build.cmd @@ -13,7 +13,7 @@ set FTKLIB=..\..\..\..\ftk\win32\ftk :next_arg shift -if "%0" == "" goto do_build +if "%0" == "" goto do_version_test if "%0" == "clean" ((set operation=Clean) && goto next_arg) if "%0" == "Clean" ((set operation=%0) && goto next_arg) if "%0" == "build" ((set operation=Build) && goto next_arg) @@ -31,6 +31,12 @@ if "%0" == "64" ((set platform=x64) && goto next_arg) if "%0" == "x64" ((set platform=%0%) && goto next_arg) goto help +:do_version_test +devenv /? | find "Visual Studio Version 9.0" >NULL +if errorlevel 1 goto do_build +find "# Visual Studio 2008" %solution%.sln >NULL +if errorlevel 1 devenv %solution%.sln /Upgrade + :do_build devenv %solution%.sln /%operation% "%build%|%platform%" diff --git a/ftk/README.W32 b/ftk/README.W32 index 18a1100..c52ae04 100644 --- a/ftk/README.W32 +++ b/ftk/README.W32 @@ -3,10 +3,23 @@ ftk README file for Windows Contents: -------- -1. Tools for Building on Windows -2. Building the Projects -3. Visual Studio Runtime Library Use -4. Legacy Makefile +1. Known Build Issues +2. Tools for Building on Windows +3. Building the Projects +4. Visual Studio Runtime Library Use +5. Legacy Makefile + +Known Build Issues +------------------ + +1. There is an occasional build failure due to an "access denied" + error when attempting to write to a manifest file. Just build + again, and it will work the second time. + +2. 64-bit builds of the flaim library have a few warnings, but + should build cleanly otherwise. + +3. xflaim and sql don't build cleanly in 64-bit builds yet. Tools for Building on Windows ----------------------------- @@ -76,6 +89,10 @@ provided by Visual Studio, and located within the following directory: c:\program files\microsoft visual studio 8\vc\vcvarsall.bat +The Visual Studio 2008 IDE will automatically upgrade the solution and +project files from VS 2005 format to VS 2008 format. PLEASE DO NOT COMMIT +THESE CHANGES (if you have commit rights to the flaim project repository). + The projects may also be built from Windows command (.cmd) files provided in the same locations as the flaim project Visual Studio solution files. Additionally, there is a master command file in the trunk\flaim\win32 @@ -102,6 +119,11 @@ For instance, ftk Win64 Debug products can be found in: flaim/ftk/win32/ftk/x64/Debug +If you're using Visual Studio 2008, the build.cmd files will automatically +detect and upgrade the VS 2005 solution and project files to VS 2008 format. +PLEASE DO NOT COMMIT THESE CHANGES (if you have commit rights to the flaim +project repository). + Visual Studio Runtime Library Use --------------------------------- @@ -172,5 +194,4 @@ CAVEAT: We're trying to phase out the legacy GNU makefile build system, so: 1) Don't expect it to last forever, and 2) Don't be surprised if it doesn't work all the time -Enjoy! - +Enjoy! \ No newline at end of file diff --git a/ftk/win32/ftk/build.cmd b/ftk/win32/ftk/build.cmd index b6fd512..de35ffb 100644 --- a/ftk/win32/ftk/build.cmd +++ b/ftk/win32/ftk/build.cmd @@ -10,7 +10,7 @@ set program=%0 :next_arg shift -if "%0" == "" goto do_build +if "%0" == "" goto do_version_test if "%0" == "clean" ((set operation=Clean) && goto next_arg) if "%0" == "Clean" ((set operation=%0) && goto next_arg) if "%0" == "build" ((set operation=Build) && goto next_arg) @@ -28,6 +28,12 @@ if "%0" == "64" ((set platform=x64) && goto next_arg) if "%0" == "x64" ((set platform=%0%) && goto next_arg) goto help +:do_version_test +devenv /? | find "Visual Studio Version 9.0" >NULL +if errorlevel 1 goto do_build +find "# Visual Studio 2008" %solution%.sln >NULL +if errorlevel 1 devenv %solution%.sln /Upgrade + :do_build devenv %solution%.sln /%operation% "%build%|%platform%" diff --git a/sql/README.W32 b/sql/README.W32 index 9c71f8f..fe21f46 100644 --- a/sql/README.W32 +++ b/sql/README.W32 @@ -1,12 +1,25 @@ -flaimsql README file for Windows -================================ +sql README file for Windows +=========================== Contents: -------- -1. Tools for Building on Windows -2. Building the Projects -3. Visual Studio Runtime Library Use -4. Legacy Makefile +1. Known Build Issues +2. Tools for Building on Windows +3. Building the Projects +4. Visual Studio Runtime Library Use +5. Legacy Makefile + +Known Build Issues +------------------ + +1. There is an occasional build failure due to an "access denied" + error when attempting to write to a manifest file. Just build + again, and it will work the second time. + +2. 64-bit builds of the flaim library have a few warnings, but + should build cleanly otherwise. + +3. xflaim and sql don't build cleanly in 64-bit builds yet. Tools for Building on Windows ----------------------------- @@ -76,6 +89,10 @@ provided by Visual Studio, and located within the following directory: c:\program files\microsoft visual studio 8\vc\vcvarsall.bat +The Visual Studio 2008 IDE will automatically upgrade the solution and +project files from VS 2005 format to VS 2008 format. PLEASE DO NOT COMMIT +THESE CHANGES (if you have commit rights to the flaim project repository). + The projects may also be built from Windows command (.cmd) files provided in the same locations as the flaim project Visual Studio solution files. Additionally, there is a master command file in the trunk\flaim\win32 @@ -102,6 +119,11 @@ For instance, ftk Win64 Debug products can be found in: flaim/ftk/win32/ftk/x64/Debug +If you're using Visual Studio 2008, the build.cmd files will automatically +detect and upgrade the VS 2005 solution and project files to VS 2008 format. +PLEASE DO NOT COMMIT THESE CHANGES (if you have commit rights to the flaim +project repository). + Visual Studio Runtime Library Use --------------------------------- @@ -172,5 +194,4 @@ CAVEAT: We're trying to phase out the legacy GNU makefile build system, so: 1) Don't expect it to last forever, and 2) Don't be surprised if it doesn't work all the time -Enjoy! - +Enjoy! \ No newline at end of file diff --git a/sql/win32/sql/build.cmd b/sql/win32/sql/build.cmd index adafcf0..ed4095c 100644 --- a/sql/win32/sql/build.cmd +++ b/sql/win32/sql/build.cmd @@ -2,7 +2,7 @@ setlocal -set solution=flaim-projects.sln +set solution=sql set operation=Build set build=Release set platform=Win32 @@ -13,7 +13,7 @@ set FTKLIB=..\..\..\..\ftk\win32\ftk :next_arg shift -if "%0" == "" goto do_build +if "%0" == "" goto do_version_test if "%0" == "clean" ((set operation=Clean) && goto next_arg) if "%0" == "Clean" ((set operation=%0) && goto next_arg) if "%0" == "build" ((set operation=Build) && goto next_arg) @@ -31,8 +31,14 @@ if "%0" == "64" ((set platform=x64) && goto next_arg) if "%0" == "x64" ((set platform=%0%) && goto next_arg) goto help +:do_version_test +devenv /? | find "Visual Studio Version 9.0" >NULL +if errorlevel 1 goto do_build +find "# Visual Studio 2008" %solution%.sln >NULL +if errorlevel 1 devenv %solution%.sln /Upgrade + :do_build -devenv flaim-projects.sln /%operation% "%build%|%platform%" +devenv %solution%.sln /%operation% "%build%|%platform%" goto done diff --git a/xflaim/README.W32 b/xflaim/README.W32 index 8ecd23d..eb78f3d 100644 --- a/xflaim/README.W32 +++ b/xflaim/README.W32 @@ -3,10 +3,23 @@ xflaim README file for Windows Contents: -------- -1. Tools for Building on Windows -2. Building the Projects -3. Visual Studio Runtime Library Use -4. Legacy Makefile +1. Known Build Issues +2. Tools for Building on Windows +3. Building the Projects +4. Visual Studio Runtime Library Use +5. Legacy Makefile + +Known Build Issues +------------------ + +1. There is an occasional build failure due to an "access denied" + error when attempting to write to a manifest file. Just build + again, and it will work the second time. + +2. 64-bit builds of the flaim library have a few warnings, but + should build cleanly otherwise. + +3. xflaim and sql don't build cleanly in 64-bit builds yet. Tools for Building on Windows ----------------------------- @@ -76,6 +89,10 @@ provided by Visual Studio, and located within the following directory: c:\program files\microsoft visual studio 8\vc\vcvarsall.bat +The Visual Studio 2008 IDE will automatically upgrade the solution and +project files from VS 2005 format to VS 2008 format. PLEASE DO NOT COMMIT +THESE CHANGES (if you have commit rights to the flaim project repository). + The projects may also be built from Windows command (.cmd) files provided in the same locations as the flaim project Visual Studio solution files. Additionally, there is a master command file in the trunk\flaim\win32 @@ -102,6 +119,11 @@ For instance, ftk Win64 Debug products can be found in: flaim/ftk/win32/ftk/x64/Debug +If you're using Visual Studio 2008, the build.cmd files will automatically +detect and upgrade the VS 2005 solution and project files to VS 2008 format. +PLEASE DO NOT COMMIT THESE CHANGES (if you have commit rights to the flaim +project repository). + Visual Studio Runtime Library Use --------------------------------- @@ -172,5 +194,4 @@ CAVEAT: We're trying to phase out the legacy GNU makefile build system, so: 1) Don't expect it to last forever, and 2) Don't be surprised if it doesn't work all the time -Enjoy! - +Enjoy! \ No newline at end of file diff --git a/xflaim/win32/xflaim/build.cmd b/xflaim/win32/xflaim/build.cmd index adafcf0..12547d4 100644 --- a/xflaim/win32/xflaim/build.cmd +++ b/xflaim/win32/xflaim/build.cmd @@ -2,7 +2,7 @@ setlocal -set solution=flaim-projects.sln +set solution=xflaim set operation=Build set build=Release set platform=Win32 @@ -13,7 +13,7 @@ set FTKLIB=..\..\..\..\ftk\win32\ftk :next_arg shift -if "%0" == "" goto do_build +if "%0" == "" goto do_version_test if "%0" == "clean" ((set operation=Clean) && goto next_arg) if "%0" == "Clean" ((set operation=%0) && goto next_arg) if "%0" == "build" ((set operation=Build) && goto next_arg) @@ -31,8 +31,14 @@ if "%0" == "64" ((set platform=x64) && goto next_arg) if "%0" == "x64" ((set platform=%0%) && goto next_arg) goto help +:do_version_test +devenv /? | find "Visual Studio Version 9.0" >NULL +if errorlevel 1 goto do_build +find "# Visual Studio 2008" %solution%.sln >NULL +if errorlevel 1 devenv %solution%.sln /Upgrade + :do_build -devenv flaim-projects.sln /%operation% "%build%|%platform%" +devenv %solution%.sln /%operation% "%build%|%platform%" goto done