From 42729ad8ba050040572d869d30ebccd4d6cf5cc0 Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Sat, 30 Sep 2006 02:20:47 +0000 Subject: [PATCH] Fix remaining issues with Microsoft Visual Studio build. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3519 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/win32/bacula.sln | 1 + bacula/src/win32/bacula/bacula.vcproj | 12 +- bacula/src/win32/build-msvc.cmd | 7 + bacula/src/win32/cats/cats.vcproj | 522 ------------------ .../src/win32/cats/cats_bdb/cats_bdb.vcproj | 17 +- .../win32/cats/cats_mysql/cats_mysql.vcproj | 15 +- .../win32/cats/cats_pgsql/cats_pgsql.vcproj | 15 +- bacula/src/win32/compat/compat.vcproj | 299 ---------- bacula/src/win32/console/console.vcproj | 27 +- bacula/src/win32/dird/dird.vcproj | 73 ++- bacula/src/win32/filed/baculafd.vcproj | 80 ++- bacula/src/win32/installer/Makefile | 3 +- .../src/win32/installer/build-installer.cmd | 7 + bacula/src/win32/installer/installer.vcproj | 20 +- bacula/src/win32/installer/winbacula.nsi | 2 +- bacula/src/win32/libbac/libbac.vcproj | 13 +- bacula/src/win32/libfind/Makefile | 66 --- bacula/src/win32/libfind/libfind.vcproj | 409 -------------- bacula/src/win32/libwin32/libwin32.vcproj | 170 ------ .../src/win32/stored/baculasd/baculasd.vcproj | 80 ++- bacula/src/win32/stored/bcopy/bcopy.vcproj | 23 +- .../src/win32/stored/bextract/bextract.vcproj | 21 +- bacula/src/win32/stored/bls/bls.vcproj | 22 +- bacula/src/win32/stored/bscan/bscan.vcproj | 26 +- bacula/src/win32/stored/btape/btape.vcproj | 21 +- .../src/win32/stored/postest/postest.vcproj | 23 +- .../src/win32/stored/storelib/storelib.vcproj | 71 ++- bacula/src/win32/tools/dbcheck/dbcheck.vcproj | 22 +- .../win32/tools/drivetype/drivetype.vcproj | 25 +- bacula/src/win32/tools/fstype/fstype.vcproj | 27 +- .../src/win32/tools/scsilist/scsilist.vcproj | 18 +- .../src/win32/tools/testfind/testfind.vcproj | 28 +- bacula/src/win32/tools/testls/testls.vcproj | 22 +- bacula/src/win32/wx-console/wx-console.vcproj | 20 +- bacula/src/wx-console/wxbmainframe.cpp | 3 - bacula/src/wx-console/wxbmainframe.h | 2 + 36 files changed, 403 insertions(+), 1809 deletions(-) create mode 100644 bacula/src/win32/build-msvc.cmd delete mode 100644 bacula/src/win32/cats/cats.vcproj delete mode 100644 bacula/src/win32/compat/compat.vcproj create mode 100644 bacula/src/win32/installer/build-installer.cmd delete mode 100644 bacula/src/win32/libfind/Makefile delete mode 100644 bacula/src/win32/libfind/libfind.vcproj delete mode 100644 bacula/src/win32/libwin32/libwin32.vcproj diff --git a/bacula/src/win32/bacula.sln b/bacula/src/win32/bacula.sln index 9028f3bb0a..a48052fdf7 100644 --- a/bacula/src/win32/bacula.sln +++ b/bacula/src/win32/bacula.sln @@ -42,6 +42,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution ProjectSection(SolutionItems) = preProject build-depkgs-mingw32 = build-depkgs-mingw32 build-depkgs-msvc.cmd = build-depkgs-msvc.cmd + build-msvc.cmd = build-msvc.cmd build-win32-cross-tools = build-win32-cross-tools ..\..\autoconf\bacula-macros\db.m4 = ..\..\autoconf\bacula-macros\db.m4 External-mingw32 = External-mingw32 diff --git a/bacula/src/win32/bacula/bacula.vcproj b/bacula/src/win32/bacula/bacula.vcproj index 0705730962..091f0b651f 100644 --- a/bacula/src/win32/bacula/bacula.vcproj +++ b/bacula/src/win32/bacula/bacula.vcproj @@ -41,13 +41,15 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="../compat;"../../../../depkgs-msvc/include";../..;"../../../../depkgs-msvc/include/mysql";"../../../../depkgs-msvc/vss/inc"" - PreprocessorDefinitions="WIN32;_DEBUG;_LIBWIN32;HAVE_WIN32;WIN32_VSS;USING_DLL;_USE_32BIT_TIME_T;_WIN32_WINNT=0x0500;_CRT_SECURE_NO_DEPRECATE" + PreprocessorDefinitions="_DEBUG;_LIB;HAVE_WIN32;WIN32_VSS;USING_DLL;_USE_32BIT_TIME_T;_WIN32_WINNT=0x0500;_CRT_SECURE_NO_DEPRECATE" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" UsePrecompiledHeader="0" + BrowseInformation="1" WarningLevel="3" - Detect64BitPortabilityProblems="true" + Detect64BitPortabilityProblems="false" + SuppressStartupBanner="true" DebugInformationFormat="4" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bacula/src/win32/cats/cats_bdb/cats_bdb.vcproj b/bacula/src/win32/cats/cats_bdb/cats_bdb.vcproj index 757a3962e0..24fc1481c9 100644 --- a/bacula/src/win32/cats/cats_bdb/cats_bdb.vcproj +++ b/bacula/src/win32/cats/cats_bdb/cats_bdb.vcproj @@ -5,7 +5,6 @@ Name="cats_bdb" ProjectGUID="{1E6FC8D7-0A08-461A-B9AB-FD3CC5DC0B9C}" RootNamespace="cats_bdb" - Keyword="Win32Proj" > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bacula/src/win32/console/console.vcproj b/bacula/src/win32/console/console.vcproj index e38c482db5..57bbea9c91 100644 --- a/bacula/src/win32/console/console.vcproj +++ b/bacula/src/win32/console/console.vcproj @@ -5,7 +5,6 @@ Name="console" ProjectGUID="{A0F65E06-9F18-40AC-81F6-A080852F1104}" RootNamespace="console" - Keyword="MFCProj" > @@ -110,12 +107,12 @@ diff --git a/bacula/src/win32/dird/dird.vcproj b/bacula/src/win32/dird/dird.vcproj index 0cd5f7444b..c50661d15c 100644 --- a/bacula/src/win32/dird/dird.vcproj +++ b/bacula/src/win32/dird/dird.vcproj @@ -15,13 +15,11 @@ @@ -39,49 +37,42 @@ /> @@ -164,20 +155,21 @@ /> + + diff --git a/bacula/src/win32/installer/winbacula.nsi b/bacula/src/win32/installer/winbacula.nsi index 0cc065105d..44f01adce7 100644 --- a/bacula/src/win32/installer/winbacula.nsi +++ b/bacula/src/win32/installer/winbacula.nsi @@ -50,7 +50,7 @@ ; Basics ; Name "Bacula" -OutFile "winbacula-${VERSION}.exe" +OutFile "${OUT_DIR}\winbacula-${VERSION}.exe" SetCompressor lzma InstallDir "$PROGRAMFILES\Bacula" InstallDirRegKey HKLM "Software\Bacula" "InstallLocation" diff --git a/bacula/src/win32/libbac/libbac.vcproj b/bacula/src/win32/libbac/libbac.vcproj index f9adfa9b31..75b52997a1 100644 --- a/bacula/src/win32/libbac/libbac.vcproj +++ b/bacula/src/win32/libbac/libbac.vcproj @@ -48,7 +48,8 @@ UsePrecompiledHeader="0" WarningLevel="3" Detect64BitPortabilityProblems="false" - DebugInformationFormat="3" + SuppressStartupBanner="true" + DebugInformationFormat="4" /> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bacula/src/win32/libwin32/libwin32.vcproj b/bacula/src/win32/libwin32/libwin32.vcproj deleted file mode 100644 index 99ace24f92..0000000000 --- a/bacula/src/win32/libwin32/libwin32.vcproj +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/bacula/src/win32/stored/baculasd/baculasd.vcproj b/bacula/src/win32/stored/baculasd/baculasd.vcproj index d40c959c9d..4fc4417e72 100644 --- a/bacula/src/win32/stored/baculasd/baculasd.vcproj +++ b/bacula/src/win32/stored/baculasd/baculasd.vcproj @@ -15,13 +15,11 @@ @@ -39,48 +37,41 @@ /> @@ -39,36 +37,29 @@ /> @@ -118,33 +109,33 @@ />