From 84a794164cbaecb58294549dc4be4c104d0a7f18 Mon Sep 17 00:00:00 2001 From: PBerger Date: Sun, 2 Mar 2014 17:16:50 +0100 Subject: [PATCH] Updated the BUILD.txt file with current information. Former-commit-id: efa4d0b2e4d0e50d5166dd94c1f552a1c42f5451 --- resources/BUILD.txt | 52 +++++++++++++++++++++++++++------------------ 1 file changed, 31 insertions(+), 21 deletions(-) diff --git a/resources/BUILD.txt b/resources/BUILD.txt index aa1934a44..dfb93b7d5 100644 --- a/resources/BUILD.txt +++ b/resources/BUILD.txt @@ -1,29 +1,39 @@ -CMake +CMake >= 2.8.11 + CMake is required as it is used to generate the Makefiles or Projects/Solutions required to build StoRM. Prerequisites: - Boost >= 1.49 + Boost >= 1.54 Build using the Boost Build system, for x64 use "bjam address-model=64" or "bjam.exe address-model=64 --build-type=complete" You may use --toolset to specify the compiler, for ex. msvc-10.0, intel11.1, etc Doxygen Set DOXYGEN_EXECUTABLE to your doxygen executable, e.g. "C:/Program Files/doxygen/bin/doxygen.exe" - GTest >= 1.6.0 - Download, build using CMake - If you installed gtest to e.g. "C:/C++ Projects/gtest-1.6.0" - Set GTEST_INCLUDE_DIR to "C:/C++ Projects/gtest-1.6.0/include" - Set GTEST_LIBRARY to "C:/C++ Projects/gtest-1.6.0/build/Release/gtest.lib" - Set GTEST_LIBRARY_DEBUG to "C:/C++ Projects/gtest-1.6.0/build/Debug/gtest.lib" - Set GTEST_MAIN_LIBRARY to "C:/C++ Projects/gtest-1.6.0/build/Release/gtest_main.lib" - Set GTEST_MAIN_LIBRARY_DEBUG to "C:/C++ Projects/gtest-1.6.0/build/Debug/gtest_main.lib" - STLSoft - Download from http://www.stlsoft.org/ - Headers-Only, unpack to a location of your choice, e.g. "C:/C++ Projects/stlsoft" - Set STLSOFT_INCLUDE_DIR to "C:/C++ Projects/stlsoft/include" - Pantheios - Download from http://www.pantheios.org/ - Unpack and build following the provided instructions - If you installed Pantheios to e.g. "C:/C++ Projects/pantheios" - Set PANTHEIOS_INCLUDE_DIR to "C:/C++ Projects/pantheios/include" - The other fields should be auto completed after to next "Configure" round + GTest >= 1.7.0 + GTest is included in the StoRM Sources under /resources/3rdparty/gtest-1.7.0 and builds automatically alongside StoRM + CUDD >= 2.5.0 + CUDD is included in the StoRM Sources under /resources/3rdparty/cudd-2.5.0 and builds automatically alongside StoRM. + Its Sourced where heavily modified as to incorporate newer Versions of Boost, changes in C++ (TR1 to C++11) and + to remove components only available under UNIX. + Log4CPlus >= 1.1.2 + Log4CPlus is included in the StoRM Sources under /resources/3rdparty/log4cplus-1.1.3-rc1 and builds automatically alongside StoRM. + Its Sourced where slightly modified as to incorporate Unicode handling under Win32, Clang compatability and shared/static build options. + Eigen >= 3.2.1 + Eigen is included in the StoRM Sources under /resources/3rdparty/eigen and builds automatically alongside StoRM. + GMM >= 4.2 + GMM is included in the StoRM Sources under /resources/3rdparty/gmm-4.2 and builds automatically alongside StoRM. + LTL2DStar >= 0.5.1 + LTL2DStar is included in the StoRM Sources under /resources/3rdparty/ltl2dstar-0.5.1 and builds automatically alongside StoRM. + Its Sourced where heavily modified as to incorporate changes in C++ (TR1 to C++11) and + to remove components only available under UNIX. +Optional: + Gurobi >= 5.5.0 + Specify the path to the gurobi root dir using -DGUROBI_ROOT=/your/path/to/gurobi + Z3 >= 4.3.2 + Specify the path to the z3 root dir using -DZ3_ROOT=/your/path/to/z3 + +It is recommended to make an out-of-source build, meaning that the folder in which CMake generates its Cache, Makefiles and output files should not be the Project Root nor its Source Directory. +A typical build layout is to create a folder "build" in the project root alongside the CMakeLists.txt file, change into this folder and execute "cmake .." as this will leave all source files untouched +and makes cleaning up the build tree very easy. +There are several options available for the CMake Script as to control behaviour and included components. If no error occured during the last CMake Configure round, press Generate. -Now you can build STORM using the generated project/makefiles in the Build folder you selected. \ No newline at end of file +Now you can build StoRM using the generated project/makefiles in the Build folder you selected. \ No newline at end of file