[mapguide-commits] r8637 - in sandbox/jng/diet_oem: . LinuxApt
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Apr 29 12:14:44 PDT 2015
Author: jng
Date: 2015-04-29 12:14:44 -0700 (Wed, 29 Apr 2015)
New Revision: 8637
Added:
sandbox/jng/diet_oem/build.bat
sandbox/jng/diet_oem/oem_sqlite.sln
sandbox/jng/diet_oem/setenvironment.bat
Modified:
sandbox/jng/diet_oem/
sandbox/jng/diet_oem/LinuxApt/
Log:
Add new build.bat to build Oem components
Add new setenvironment.bat to initialize all Oem component environment variables
Add a oem_sqlite.sln which contains the SQLite projects and their dependent projects to allow these components to be built
Property changes on: sandbox/jng/diet_oem
___________________________________________________________________
Modified: svn:ignore
- oem.sdf
*.suo
+ oem.sdf
*.suo
oem_sqlite.sdf
Property changes on: sandbox/jng/diet_oem/LinuxApt
___________________________________________________________________
Modified: svn:ignore
- httpd-2.4.9
php-5.5.11
*.tar
+ httpd-2.4.9
php-5.5.11
*.tar
httpd-2.4.10
php-5.5.17
Added: sandbox/jng/diet_oem/build.bat
===================================================================
--- sandbox/jng/diet_oem/build.bat (rev 0)
+++ sandbox/jng/diet_oem/build.bat 2015-04-29 19:14:44 UTC (rev 8637)
@@ -0,0 +1,95 @@
+ at echo off
+SET MG_OEM_OUTPUT=%CD%\output
+SET MG_OEM_PLATFORM=x64
+SET MG_OEM_CONFIG=Release
+SET MG_OEM_ACTION=build
+:study_params
+if (%1)==() goto start_build
+
+if "%1"=="-config" goto get_config
+if "%1"=="-c" goto get_config
+
+if "%1"=="-platform" goto get_platform
+if "%1"=="-p" goto get_platform
+
+if "%1"=="-help" goto help_show
+if "%1"=="-h" goto help_show
+
+if "%1"=="-a" goto get_action
+if "%1"=="-action" goto get_action
+
+if "%1"=="-o" goto get_output
+
+goto custom_error
+
+:next_param
+shift
+shift
+goto study_params
+
+:get_platform
+SET MG_OEM_PLATFORM=%2
+if "%2"=="Win32" goto next_param
+if "%2"=="x64" goto next_param
+SET ERRORMSG=Unrecognised platform: %2
+goto custom_error
+
+:get_config
+SET MG_OEM_CONFIG=%2
+if "%2"=="debug" goto next_param
+if "%2"=="release" goto next_param
+SET ERRORMSG=Unrecognised config: %2
+goto custom_error
+
+:get_output
+SET MG_OEM_OUTPUT=%2
+goto next_param
+
+:get_action
+SET MG_OEM_ACTION=%2
+if "%2"=="build" goto next_param
+if "%2"=="clean" goto next_param
+SET ERRORMSG=Unrecognised action: %2
+goto custom_error
+
+:start_build
+if "%MG_OEM_ACTION%"=="build" goto do_build
+if "%MG_OEM_ACTION%"=="clean" goto do_clean
+SET ERRORMSG=Unrecognised action: %MG_OEM_ACTION%
+goto custom_error
+
+:do_build
+echo [build]: OEM [%MG_OEM_CONFIG%,%MG_OEM_PLATFORM%] to: %MG_OEM_OUTPUT%
+msbuild /p:Configuration=%MG_OEM_CONFIG%;Platform=%MG_OEM_PLATFORM% /t:build oem.sln
+msbuild /p:Configuration=%MG_OEM_CONFIG%;Platform=%MG_OEM_PLATFORM% /t:build CsMap\VC110\OpenSource.sln
+goto quit
+
+:do_clean
+echo [clean]: OEM [%MG_OEM_CONFIG%,%MG_OEM_PLATFORM%] to: %MG_OEM_OUTPUT%
+msbuild /p:Configuration=%MG_OEM_CONFIG%;Platform=%MG_OEM_PLATFORM% /t:clean oem.sln
+msbuild /p:Configuration=%MG_OEM_CONFIG%;Platform=%MG_OEM_PLATFORM% /t:clean CsMap\VC110\OpenSource.sln
+goto quit
+
+:custom_error_no_help
+echo [ERROR]: %ERRORMSG%
+SET ERRORMSG=
+exit /B 1
+
+:custom_error
+echo [ERROR]: %ERRORMSG%
+SET ERRORMSG=
+echo Please use the format:
+:help_show
+echo ************************************************************************
+echo build.bat [-h]
+echo [-a=Action]
+echo [-o=OutputDirectory]
+echo Help: -h[elp]
+echo Action: -a[ction]=build(default)
+echo clean
+echo ************************************************************************
+:quit
+SET MG_OEM_OUTPUT=
+SET MG_OEM_PLATFORM=
+SET MG_OEM_CONFIG=
+SET MG_OEM_ACTION=
\ No newline at end of file
Added: sandbox/jng/diet_oem/oem_sqlite.sln
===================================================================
--- sandbox/jng/diet_oem/oem_sqlite.sln (rev 0)
+++ sandbox/jng/diet_oem/oem_sqlite.sln 2015-04-29 19:14:44 UTC (rev 8637)
@@ -0,0 +1,95 @@
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Express 2012 for Windows Desktop
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ACE", "ACE\ACE_wrappers\ace\ACE.vcxproj", "{BD537C9A-FECA-1BAD-6757-8A6363336A1C}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cppunit", "CppUnit-1.9.14\src\cppunit\cppunit.vcxproj", "{AA0817E7-095C-465C-90B3-9221DE17EC70}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLite", "SQLite\src\SQLite3\SQLite.vcxproj", "{6BE4F878-73F2-42F7-B77F-4974DCF8B005}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SqliteDotNet", "SQLite\src\SqliteDotNet\SqliteDotNet.vcxproj", "{82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLitePhpApi", "SQLite\src\SQLitePhpApi\SQLitePhpApi.vcxproj", "{7E6F7F0D-0045-47B9-868C-E31C04FAE81F}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SQLiteUnitTest", "SQLite\src\SQLiteUnitTest\SQLiteUnitTest.vcxproj", "{CC1C1060-E94B-46BC-886B-4997C384F346}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sqliteVM", "SQLite\src\SqliteVM\sqliteVM.vcxproj", "{BE0B498C-2C41-46E9-82B7-697FDD3F68E3}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SqliteGUI", "SQLite\src\SqliteGUI\SqliteGUI.csproj", "{5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Debug|Win32.ActiveCfg = Debug|Win32
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Debug|Win32.Build.0 = Debug|Win32
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Debug|x64.ActiveCfg = Debug|x64
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Debug|x64.Build.0 = Debug|x64
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Release|Win32.ActiveCfg = Release|Win32
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Release|Win32.Build.0 = Release|Win32
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Release|x64.ActiveCfg = Release|x64
+ {BD537C9A-FECA-1BAD-6757-8A6363336A1C}.Release|x64.Build.0 = Release|x64
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Debug|Win32.ActiveCfg = Debug|Win32
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Debug|Win32.Build.0 = Debug|Win32
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Debug|x64.ActiveCfg = Debug|x64
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Debug|x64.Build.0 = Debug|x64
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Release|Win32.ActiveCfg = Release|Win32
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Release|Win32.Build.0 = Release|Win32
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Release|x64.ActiveCfg = Release|x64
+ {AA0817E7-095C-465C-90B3-9221DE17EC70}.Release|x64.Build.0 = Release|x64
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Debug|Win32.ActiveCfg = Debug|Win32
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Debug|Win32.Build.0 = Debug|Win32
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Debug|x64.ActiveCfg = Debug|x64
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Debug|x64.Build.0 = Debug|x64
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Release|Win32.ActiveCfg = Release|Win32
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Release|Win32.Build.0 = Release|Win32
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Release|x64.ActiveCfg = Release|x64
+ {6BE4F878-73F2-42F7-B77F-4974DCF8B005}.Release|x64.Build.0 = Release|x64
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Debug|Win32.ActiveCfg = Debug|Win32
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Debug|Win32.Build.0 = Debug|Win32
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Debug|x64.ActiveCfg = Debug|x64
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Debug|x64.Build.0 = Debug|x64
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Release|Win32.ActiveCfg = Release|Win32
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Release|Win32.Build.0 = Release|Win32
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Release|x64.ActiveCfg = Release|x64
+ {82BAB86A-BBDE-42F3-B0BD-E69CDF1E8119}.Release|x64.Build.0 = Release|x64
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Debug|Win32.ActiveCfg = Debug|Win32
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Debug|Win32.Build.0 = Debug|Win32
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Debug|x64.ActiveCfg = Debug|x64
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Debug|x64.Build.0 = Debug|x64
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Release|Win32.ActiveCfg = Release|Win32
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Release|Win32.Build.0 = Release|Win32
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Release|x64.ActiveCfg = Release|x64
+ {7E6F7F0D-0045-47B9-868C-E31C04FAE81F}.Release|x64.Build.0 = Release|x64
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Debug|Win32.ActiveCfg = Debug|Win32
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Debug|Win32.Build.0 = Debug|Win32
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Debug|x64.ActiveCfg = Debug|x64
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Debug|x64.Build.0 = Debug|x64
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Release|Win32.ActiveCfg = Release|Win32
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Release|Win32.Build.0 = Release|Win32
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Release|x64.ActiveCfg = Release|x64
+ {CC1C1060-E94B-46BC-886B-4997C384F346}.Release|x64.Build.0 = Release|x64
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Debug|Win32.ActiveCfg = Debug|Win32
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Debug|Win32.Build.0 = Debug|Win32
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Debug|x64.ActiveCfg = Debug|x64
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Debug|x64.Build.0 = Debug|x64
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Release|Win32.ActiveCfg = Release|Win32
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Release|Win32.Build.0 = Release|Win32
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Release|x64.ActiveCfg = Release|x64
+ {BE0B498C-2C41-46E9-82B7-697FDD3F68E3}.Release|x64.Build.0 = Release|x64
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Debug|Win32.ActiveCfg = Debug|Any CPU
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Debug|Win32.Build.0 = Debug|Any CPU
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Debug|x64.ActiveCfg = Debug|x64
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Debug|x64.Build.0 = Debug|x64
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Release|Win32.ActiveCfg = Release|Any CPU
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Release|Win32.Build.0 = Release|Any CPU
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Release|x64.ActiveCfg = Release|x64
+ {5CB5F2F4-D9B5-4E3E-B758-240E6E5D156A}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: sandbox/jng/diet_oem/setenvironment.bat
===================================================================
--- sandbox/jng/diet_oem/setenvironment.bat (rev 0)
+++ sandbox/jng/diet_oem/setenvironment.bat 2015-04-29 19:14:44 UTC (rev 8637)
@@ -0,0 +1,265 @@
+ at echo off
+SET MG_OEM_PLATFORM=x64
+SET MG_OEM_PLAT_SHORT=64
+SET MG_OEM_CONFIG=Release
+:study_params
+if (%1)==() goto setvars
+
+if "%1"=="-config" goto get_config
+if "%1"=="-c" goto get_config
+
+if "%1"=="-platform" goto get_platform
+if "%1"=="-p" goto get_platform
+
+if "%1"=="-help" goto help_show
+if "%1"=="-h" goto help_show
+
+goto custom_error
+
+:next_param
+shift
+shift
+goto study_params
+
+:get_platform
+SET MG_OEM_PLATFORM=%2
+if "%2"=="Win32" (
+ SET MG_OEM_PLAT_SHORT=
+ goto next_param
+)
+if "%2"=="x64" goto next_param
+SET ERRORMSG=Unrecognised platform: %2
+goto custom_error
+
+:get_config
+SET MG_OEM_CONFIG=%2
+if "%2"=="debug" goto next_param
+if "%2"=="release" goto next_param
+SET ERRORMSG=Unrecognised config: %2
+goto custom_error
+
+:setvars
+if "%MG_OEM_CONFIG%"=="Debug" (
+ SET MG_OEM_ACE_DEBUG_SUFFIX=d
+ SET MG_OEM_CPPUNIT_DEBUG_SUFFIX=d
+ SET MG_OEM_CSMAP_DEBUG_SUFFIX=d
+ SET MG_OEM_DBXML_DEBUG_SUFFIX=d
+ SET MG_OEM_XERCES_DEBUG_SUFFIX=d
+ SET MG_OEM_DWFTK_DEBUG_SUFFIX=d
+ SET MG_OEM_FDO_DEBUG_SUFFIX=d
+ SET MG_OEM_GD_DEBUG_SUFFIX=d
+ SET MG_OEM_FREETYPE_DEBUG_SUFFIX=d
+ SET MG_OEM_LIBJPEG_DEBUG_SUFFIX=d
+ SET MG_OEM_LIBPNG_DEBUG_SUFFIX=d
+ SET MG_OEM_ZLIB_DEBUG_SUFFIX=d
+ SET MG_OEM_GEOS_DEBUG_SUFFIX=d
+ SET MG_OEM_JSONCPP_DEBUG_SUFFIX=d
+)
+REM ==================== ACE ==========================
+SET MG_OEM_ACE_INC_DIR=%CD%\ACE\ACE_Wrappers
+SET MG_OEM_ACE_LIB_DIR=%CD%\ACE\ACE_Wrappers\lib%MG_OEM_PLAT_SHORT%\%MG_OEM_CONFIG%
+SET MG_OEM_ACE_LIBS=ACE%MG_OEM_ACE_DEBUG_SUFFIX%.lib
+REM ==================== AGG ==========================
+REM ==================== CppUnit ======================
+SET MG_OEM_CPPUNIT_INC_DIR=%CD%\CppUnit-1.9.14\include
+SET MG_OEM_CPPUNIT_LIB_DIR=%CD%\CppUnit-1.9.14\lib%MG_OEM_PLAT_SHORT%
+SET MG_OEM_CPPUNIT_LIBS=CppUnit%MG_OEM_CPPUNIT_DEBUG_SUFFIX%.lib
+REM ==================== CS-Map =======================
+SET MG_OEM_CSMAP_INC_DIR=%CD%\CsMap\Include
+SET MG_OEM_CSMAP_LIB_DIR=%CD%\CsMap\lib110\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%
+SET MG_OEM_CSMAP_LIBS=csmap%MG_OEM_CSMAP_DEBUG_SUFFIX%.lib
+REM ==================== DBXML ========================
+SET MG_OEM_DBXML_INC_DIR=%CD%\dbxml\include\dbxml
+SET MG_OEM_DBXML_LIB_DIR=%CD%\dbxml\lib%MG_OEM_PLAT_SHORT%\%MG_OEM_CONFIG%
+SET MG_OEM_DBXML_LIBS=libdbxml25%MG_OEM_DBXML_DEBUG_SUFFIX%.lib
+SET MG_OEM_XERCES_INC_DIR=%CD%\dbxml\include
+SET MG_OEM_XERCES_LIB_DIR=%CD%\dbxml\lib%MG_OEM_PLAT_SHORT%\%MG_OEM_CONFIG%
+SET MG_OEM_XERCES_LIBS=xerces-c_3mg%MG_OEM_XERCES_DEBUG_SUFFIX%.lib
+REM ==================== DWFTK ========================
+SET MG_OEM_DWFTK_INC_DIR=%CD%\DWFTK\develop\global\src
+SET MG_OEM_DWFTK_LIB_DIR=%CD%\DWFTK\develop\global\lib\%MG_OEM_PLATFORM%\static\%MG_OEM_CONFIG%\vc10.0
+SET MG_OEM_DWFTK_LIBS=dwfcore_wt.1.7.0%MG_OEM_DBXML_DEBUG_SUFFIX%.lib;dwftk_wt.7.7.0%MG_OEM_DBXML_DEBUG_SUFFIX%.lib;whiptk_wt.7.13.601%MG_OEM_DBXML_DEBUG_SUFFIX%.lib
+REM ==================== FDO ==========================
+SET MG_OEM_FDO_INC_DIR=%CD%\FDO\Bin\Release%MG_OEM_PLAT_SHORT%
+SET MG_OEM_FDO_LIB_DIR=%CD%\FDO\Lib%MG_OEM_PLAT_SHORT%
+SET MG_OEM_FDO_LIBS=FDO%MG_FDO_DEBUG_SUFFIX%.lib
+REM ==================== GD ===========================
+SET MG_OEM_GD_INC_DIR=%CD%\gd\gd
+SET MG_OEM_GD_LIB_DIR=%CD%\gd\build\win32\gd\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%
+SET MG_OEM_GD_LIBS=gd%MG_FDO_DEBUG_SUFFIX%.lib
+SET MG_OEM_FREETYPE_INC_DIR=%CD%\gd\freetype\include
+SET MG_OEM_FREETYPE_LIB_DIR=%CD%\gd\freetype\objs\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%\
+SET MG_OEM_FREETYPE_LIBS=freetype235%MG_FDO_DEBUG_SUFFIX%.lib
+SET MG_OEM_LIBJPEG_INC_DIR=%CD%\gd\jpeg
+SET MG_OEM_LIBJPEG_LIB_DIR=%CD%\gd\jpeg\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%
+SET MG_OEM_LIBJPEG_LIBS=jpeg%MG_FDO_DEBUG_SUFFIX%.lib
+SET MG_OEM_LIBPNG_INC_DIR=%CD%\gd\lpng
+SET MG_OEM_LIBPNG_LIB_DIR=%CD%\gd\lpng\projects\vs\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%
+SET MG_OEM_LIBPNG_LIBS=libpng%MG_FDO_DEBUG_SUFFIX%.lib
+SET MG_OEM_ZLIB_INC_DIR=%CD%\gd\zlib
+SET MG_OEM_ZLIB_LIB_DIR=%CD%\gd\lpng\projects\vs\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%\ZLib
+SET MG_OEM_ZLIB_LIBS=zlib%MG_FDO_DEBUG_SUFFIX%.lib
+REM ==================== GEOS =========================
+SET MG_OEM_GEOS_INC_DIR=%CD%\geos\include
+SET MG_OEM_GEOS_LIB_DIR=%CD%\geos\VisualStudio\%MG_OEM_CONFIG%%MG_OEM_PLAT_SHORT%
+SET MG_OEM_GEOS_LIBS=GEOS%MG_FDO_DEBUG_SUFFIX%.lib
+REM ==================== HTTPD ========================
+SET MG_OEM_HTTPD_INC_DIR=%CD%\LinuxApt\httpd-2.4.10\include
+SET MG_OEM_HTTPD_LIB_DIR=%CD%\httpd\lib%MG_OEM_PLAT_SHORT%
+SET MG_OEM_HTTPD_LIBS=libhttpd.lib;libapr-1.lib;libaprutil-1.lib
+REM ==================== PHP ==========================
+SET MG_OEM_PHP_INC_DIR=%CD%\LinuxApt\php-5.5.17
+if "%MG_OEM_PLATFORM%"=="x64" (
+SET MG_OEM_PHP_LIB_DIR=%CD%\php\x64\Release_TS
+) else (
+SET MG_OEM_PHP_LIB_DIR=%CD%\php\Release_TS
+)
+SET MG_OEM_PHP_LIBS=php5ts.lib
+REM ==================== JSONCPP ======================
+SET MG_OEM_JSONCPP_INC_DIR=%CD%\jsoncpp\include
+SET MG_OEM_JSONCPP_LIB_DIR=%CD%\jsoncpp\lib%MG_OEM_PLAT_SHORT%\%MG_OEM_CONFIG%
+SET MG_OEM_JSONCPP_LIBS=lib_json%MG_FDO_DEBUG_SUFFIX%.lib
+
+REM Path sanity checking
+if not exist %MG_OEM_ACE_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_ACE_INC_DIR [%MG_OEM_ACE_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_ACE_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_ACE_LIB_DIR [%MG_OEM_ACE_LIB_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_CPPUNIT_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_CPPUNIT_INC_DIR [%MG_OEM_CPPUNIT_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_CPPUNIT_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_CPPUNIT_LIB_DIR [%MG_OEM_CPPUNIT_LIB_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_CSMAP_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_CSMAP_INC_DIR [%MG_OEM_CSMAP_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_CSMAP_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_CSMAP_LIB_DIR [%MG_OEM_CSMAP_LIB_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_DBXML_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_DBXML_INC_DIR [%MG_OEM_DBXML_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_DBXML_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_DBXML_LIB_DIR [%MG_OEM_DBXML_LIB_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_XERCES_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_XERCES_INC_DIR [%MG_OEM_XERCES_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_XERCES_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_XERCES_LIB_DIR [%MG_OEM_XERCES_LIB_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_HTTPD_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_HTTPD_INC_DIR [%MG_OEM_HTTPD_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_HTTPD_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_XERCES_LIB_DIR [%MG_OEM_XERCES_LIB_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_PHP_INC_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_PHP_INC_DIR [%MG_OEM_PHP_INC_DIR%]
+ goto custom_error_no_help
+)
+if not exist %MG_OEM_PHP_LIB_DIR% (
+ SET ERRORMSG=No such path: MG_OEM_PHP_LIB_DIR [%MG_OEM_PHP_LIB_DIR%]
+ goto custom_error_no_help
+)
+echo ========= Environment Variable Summary ============
+echo ==================== ACE ==========================
+echo MG_OEM_ACE_INC_DIR = %MG_OEM_ACE_INC_DIR%
+echo MG_OEM_ACE_LIB_DIR = %MG_OEM_ACE_LIB_DIR%
+echo MG_OEM_ACE_LIBS = %MG_OEM_ACE_LIBS%
+echo ==================== CppUnit ======================
+echo MG_OEM_CPPUNIT_INC_DIR = %MG_OEM_CPPUNIT_INC_DIR%
+echo MG_OEM_CPPUNIT_LIB_DIR = %MG_OEM_CPPUNIT_LIB_DIR%
+echo MG_OEM_CPPUNIT_LIBS = %MG_OEM_CPPUNIT_LIBS%
+echo ==================== CS-Map =======================
+echo MG_OEM_CSMAP_INC_DIR = %MG_OEM_CSMAP_INC_DIR%
+echo MG_OEM_CSMAP_LIB_DIR = %MG_OEM_CSMAP_LIB_DIR%
+echo MG_OEM_CSMAP_LIBS = %MG_OEM_CSMAP_LIBS%
+echo ==================== DBXML ========================
+echo MG_OEM_DBXML_INC_DIR = %MG_OEM_DBXML_INC_DIR%
+echo MG_OEM_DBXML_LIB_DIR = %MG_OEM_DBXML_LIB_DIR%
+echo MG_OEM_DBXML_LIBS = %MG_OEM_DBXML_LIBS%
+echo MG_OEM_XERCES_INC_DIR = %MG_OEM_XERCES_INC_DIR%
+echo MG_OEM_XERCES_LIB_DIR = %MG_OEM_XERCES_LIB_DIR%
+echo MG_OEM_XERCES_LIBS = %MG_OEM_XERCES_LIBS%
+echo ==================== DWFTK ========================
+echo MG_OEM_DWFTK_INC_DIR = %MG_OEM_DWFTK_INC_DIR%
+echo MG_OEM_DWFTK_LIB_DIR = %MG_OEM_DWFTK_LIB_DIR%
+echo MG_OEM_DWFTK_LIBS = %MG_OEM_DWFTK_LIBS%
+echo ==================== FDO ==========================
+echo MG_OEM_FDO_INC_DIR = %MG_OEM_FDO_INC_DIR%
+echo MG_OEM_FDO_LIB_DIR = %MG_OEM_FDO_LIB_DIR%
+echo MG_OEM_FDO_LIBS = %MG_OEM_FDO_LIBS%
+echo ==================== GD ===========================
+echo MG_OEM_GD_INC_DIR = %MG_OEM_GD_INC_DIR%
+echo MG_OEM_GD_LIB_DIR = %MG_OEM_GD_LIB_DIR%
+echo MG_OEM_GD_LIBS = %MG_OEM_GD_LIBS%
+echo MG_OEM_FREETYPE_INC_DIR = %MG_OEM_FREETYPE_INC_DIR%
+echo MG_OEM_FREETYPE_LIB_DIR = %MG_OEM_FREETYPE_LIB_DIR%
+echo MG_OEM_FREETYPE_LIBS = %MG_OEM_FREETYPE_LIBS%
+echo MG_OEM_LIBJPEG_INC_DIR = %MG_OEM_LIBJPEG_INC_DIR%
+echo MG_OEM_LIBJPEG_LIB_DIR = %MG_OEM_LIBJPEG_LIB_DIR%
+echo MG_OEM_LIBJPEG_LIBS = %MG_OEM_LIBJPEG_LIBS%
+echo MG_OEM_LIBPNG_INC_DIR = %MG_OEM_LIBPNG_INC_DIR%
+echo MG_OEM_LIBPNG_LIB_DIR = %MG_OEM_LIBPNG_LIB_DIR%
+echo MG_OEM_LIBPNG_LIBS = %MG_OEM_LIBPNG_LIBS%
+echo MG_OEM_ZLIB_INC_DIR = %MG_OEM_ZLIB_INC_DIR%
+echo MG_OEM_ZLIB_LIB_DIR = %MG_OEM_ZLIB_LIB_DIR%
+echo MG_OEM_ZLIB_LIBS = %MG_OEM_ZLIB_LIBS%
+echo ==================== GEOS =========================
+echo MG_OEM_GEOS_INC_DIR = %MG_OEM_GEOS_INC_DIR%
+echo MG_OEM_GEOS_LIB_DIR = %MG_OEM_GEOS_LIB_DIR%
+echo MG_OEM_GEOS_LIBS = %MG_OEM_GEOS_LIBS%
+echo ==================== HTTPD ========================
+echo MG_OEM_HTTPD_INC_DIR = %MG_OEM_HTTPD_INC_DIR%
+echo MG_OEM_HTTPD_LIB_DIR = %MG_OEM_HTTPD_LIB_DIR%
+echo MG_OEM_HTTPD_LIBS = %MG_OEM_HTTPD_LIBS%
+echo ==================== PHP ==========================
+echo MG_OEM_PHP_INC_DIR = %MG_OEM_PHP_INC_DIR%
+echo MG_OEM_PHP_LIB_DIR = %MG_OEM_PHP_LIB_DIR%
+echo MG_OEM_PHP_LIBS = %MG_OEM_PHP_LIBS%
+echo ==================== JSONCPP ======================
+echo MG_OEM_JSONCPP_INC_DIR = %MG_OEM_JSONCPP_INC_DIR%
+echo MG_OEM_JSONCPP_LIB_DIR = %MG_OEM_JSONCPP_LIB_DIR%
+echo MG_OEM_JSONCPP_LIBS = %MG_OEM_JSONCPP_LIBS%
+echo ===================================================
+goto quit
+
+:custom_error_no_help
+echo [ERROR]: %ERRORMSG%
+SET ERRORMSG=
+exit /B 1
+
+:custom_error
+echo [ERROR]: %ERRORMSG%
+SET ERRORMSG=
+echo Please use the format:
+:help_show
+echo ************************************************************************
+echo build.bat [-h]
+echo [-a=Action]
+echo [-o=OutputDirectory]
+echo Help: -h[elp]
+echo Action: -a[ction]=build(default)
+echo clean
+echo ************************************************************************
+:quit
+SET MG_OEM_OUTPUT=
+SET MG_OEM_PLATFORM=
+SET MG_OEM_CONFIG=
+SET MG_OEM_ACTION=
\ No newline at end of file
More information about the mapguide-commits
mailing list