MapGuide OEM Buildpack README ============================= This document describes the MapGuide OEM buildpack Purpose ======= MapGuide relies on many thirdparty components. The source code for these components are included with the source for MapGuide. This is a blessing and a curse. - It's a blessing it means all the source code is there to build MapGuide from the ground up. No need to try and find these dependencies, it's all together - It's a curse because these components: - Have to be built everytime MapGuide is built adding to overall build times, according to our previous build systems. These components only have to be built once - Adds extra size burden to the MapGuide source tree. This is 1.9GB of source code and other various files! This build pack aims to alleviate such problems by including the necessary headers, precompiled binaries and import libraries that allow you to build MapGuide without needing to download and build the source for all thirdparty components. With this build pack, you now only just have to build the MapGuide source, which when free of the Oem source now weighs in under 300MB uncompressed, with build times up to twice as fast. What's included in this buildpack ================================= * Headers, libs, supporting data files and pre-compiled binaries (where applicable) for: * ACE * CS-Map (includes dictionary data files) * CppUnit * DBXML * Xerces * db * xqilla * DWF Toolkit * GD * GEOS * httpd * jsoncpp * php * Supporting build tools and utilities: * SWIG * IMake (SWIG preparation tool) * SetAssemblyVersion (for stamping version numbers to AssemblyInfo.cs files) * 7-zip Usage ===== 1. Extract this archive to a location of your choice 2. In a Visual Studio command-line prompt, run setenvironment.bat from the extracted location a. Pass -p=Win32|x64 to set the desired CPU platform (default is x64) b. Pass -c=Debug|Release to set the desired configuration (default is Release) 3.a. For an IDE build, type devenv to launch Visual Studio and have it pull in the environment variables set by setenvironment.bat 3.b. For a command-line build, run build.bat from the MapGuide source root Important Notes =============== Any build whether it's IDE or command-line must use the same platform/configuration as you have set via setenvironment.bat. If you set (Release, x64) then you must build from the IDE or command-line using the same platform/configuration