blender/build_files/cmake
Lukas Tönne bbfcb0b1e4 Build file macro for testing unordered_map C++ container support.
Using unordered_map and unordered_set C++ container types currently
requires careful testing or usage of boost, due to the various confusing
C++ version differences in include paths and namespaces.

Libmv defines tests for these cases in cmake and scons, such that ceres
can use any available implementation, or fall back too std::map/std::set
if none can be found.

This patch generalizes this buildfile code by providing a Blender macro.
* cmake: defines both the variables used by libmv at them moment as well
as 2 variables UNORDERED_MAP_INCLUDE_PREFIX and UNORDERED_MAP_NAMESPACE,
which can later be used in other C++ parts for convenience.
* scons: adds a tool script returning the include prefix and namespace.
Libmv checks these to define the appropriate definitions for ceres.

Differential Revision: https://developer.blender.org/D425
2014-03-25 09:25:00 +01:00
..
config Cycles: Add a cmake config to easily compile Cycles Standalone. 2014-01-20 20:44:39 +01:00
example_scripts patch cmake_linux_install.sh to do multithreaded build 2014-02-27 16:00:26 +01:00
Modules Fix for rBec81feab6649: better to search for versionned libs first, else it can use your system ones instead of those built by install_deps! 2014-01-14 21:52:17 +01:00
buildinfo.cmake tweaks to buildinfo 2014-03-07 18:27:16 +06:00
clang_array_check.py code cleanup: minor changes, clang checker option for exact size matches and use vector functions. 2013-04-14 12:01:12 +00:00
cmake_consistency_check_config.py add missing bullet header to cmake, quiet reports from 'make test_cmake' 2013-02-06 04:16:28 +00:00
cmake_consistency_check.py Code cleanup: remove references to svn and code style 2014-01-28 23:01:22 +11:00
cmake_netbeans_project.py add error check for qtcreator&netbeans project file generators to quit early if cmake fails. 2013-01-07 14:25:26 +00:00
cmake_qtcreator_project.py add error check for qtcreator&netbeans project file generators to quit early if cmake fails. 2013-01-07 14:25:26 +00:00
cmake_static_check_clang_array.py code cleanup: minor changes, clang checker option for exact size matches and use vector functions. 2013-04-14 12:01:12 +00:00
cmake_static_check_cppcheck.py remove unused auto-key struct-member from uiAfterFunc, add compiler defines to cppcheck utility script. 2013-08-10 23:27:42 +00:00
cmake_static_check_smatch.py pass compiler defines such as __FLT_MIN__ to smatch and sparse (they fail without them). 2013-08-08 01:53:02 +00:00
cmake_static_check_sparse.py pass compiler defines such as __FLT_MIN__ to smatch and sparse (they fail without them). 2013-08-08 01:53:02 +00:00
cmake_static_check_splint.py code cleanup: 2013-01-15 23:17:45 +00:00
macros.cmake Build file macro for testing unordered_map C++ container support. 2014-03-25 09:25:00 +01:00
packaging.cmake Add the date to the CPack rpm package version 2014-02-12 13:45:36 -07:00
project_info.py code cleanup: rename bmesh operator files to be more consistent 2013-05-20 07:38:11 +00:00
project_source_info.py pass compiler defines such as __FLT_MIN__ to smatch and sparse (they fail without them). 2013-08-08 01:53:02 +00:00
RpmBuild.cmake when building blender as a py module use add_library(... MODULE on all systems, was SHARED on linux/windows. 2012-01-11 00:09:46 +00:00