<NME> CMakeLists.txt
<BEF> SET( PYTHON_LIBS python26)

file(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
file(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
	ENDIF()
ENDIF()

SET( PROJECT_NAME "ExocortexCrate" )

IF (UNIX AND NOT APPLE )
	ADD_DEFINITIONS(-DLINUX )
ENDIF()

IF( WIN32 )
	ADD_DEFINITIONS( -D_WIN64 -DWIN64 )
ENDIF()

set( Exocortex_INSTALL_BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/install" )

if( HDF5_ENABLE_THREADSAFE )
	add_definitions( -DH5_HAVE_THREADSAFE )
	if( WIN32 )
		SET( PROJECT_NAME "${PROJECT_NAME}_Windows7" )
		set( Exocortex_INSTALL_BASE_DIR ${Exocortex_INSTALL_BASE_DIR}/Windows7 )
	elseif( UNIX )
		IF (CMAKE_BUILD_TYPE MATCHES "Debug")
			SET( PROJECT_NAME "${PROJECT_NAME}_LinuxDebug" )
			set( Exocortex_INSTALL_BASE_DIR ${Exocortex_INSTALL_BASE_DIR}/LinuxDebug )
		ELSE()
			SET( PROJECT_NAME "${PROJECT_NAME}_LinuxRelease" )
			set( Exocortex_INSTALL_BASE_DIR ${Exocortex_INSTALL_BASE_DIR}/LinuxRelease )
		ENDIF()
  ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )
  SET( MODSUFFIX ".pyd" )
else()
  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")
  SET( MODSUFFIX ".so" )
endif()

		message(FATAL_ERROR "Should not get here")
	endif()
endif()

if( MSVC9 )
	SET( PROJECT_NAME "${PROJECT_NAME}_2008" )
elseif( MSVC10 )
	SET( PROJECT_NAME "${PROJECT_NAME}_2010" )
elseif( MSVC11 )
    OUTPUT_NAME _ExocortexAlembicPython
    PREFIX "" # There is no prefix even on UNIXes
    SUFFIX "${MODSUFFIX}"
)
project( ${PROJECT_NAME} )

INCLUDE(./ExocortexCMakeShared.txt)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set( HDF5Folder "HDF5" )
set( ZlibFolder "HDF5" )
set( IlmBaseFolder "Alembic" )
set( AlembicFolder "Alembic" )

SET(DIR_SOFTIMAGEALEBMIC ${CMAKE_CURRENT_SOURCE_DIR})

get_filename_component( LIBRARY_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" PATH )
set( LIBRARY_VERSION "20160502.02" )
set( LIBRARY_ROOT "${LIBRARY_ROOT}/Libraries.${LIBRARY_VERSION}" )
if( NOT EXISTS ${LIBRARY_ROOT} )
	message( "!!!" )
	message( "!!! Download the latest library from here: " )
	message( "!!! https://s3-us-west-2.amazonaws.com/exocortex-downloads/Libraries.${LIBRARY_VERSION}.7z")
	message( "!!!" )
	message( FATAL_ERROR "Can't find LIBRARY_ROOT: ${LIBRARY_ROOT}" )
endif()

# Configuration
SET( crate_MAJOR_VERSION "1" )
SET( crate_MINOR_VERSION "1" )
SET( crate_BUILD_VERSION "151")
SET( crate_VERSION "${crate_MAJOR_VERSION}.${crate_MINOR_VERSION}" )
SET( crate_FULLVERSION "${crate_MAJOR_VERSION}.${crate_MINOR_VERSION}.${crate_BUILD_VERSION}" )

add_definitions( "-Dcrate_MAJOR_VERSION=${crate_MAJOR_VERSION}" )
add_definitions( "-Dcrate_MINOR_VERSION=${crate_MINOR_VERSION}" )
add_definitions( "-Dcrate_BUILD_VERSION=${crate_BUILD_VERSION}" )

setup_os_name()
setup_cpu_name()

SET( ALEMBIC64 0 )
IF( WIN32 )
	IF( CMAKE_SIZEOF_VOID_P MATCHES "8" )
		SET( ALEMBIC64 1 )
	ENDIF( CMAKE_SIZEOF_VOID_P MATCHES "8" )
ENDIF( WIN32 )

IF( UNIX )
	IF( CMAKE_SIZEOF_VOID_P MATCHES "8" )
		SET( ALEMBIC64 1 )
	ENDIF( CMAKE_SIZEOF_VOID_P MATCHES "8" )
ENDIF( UNIX )

IF( UNIX )
	# Issues with fpic (requires position independent code option during linking to these libs).

	# C Flags
	SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC"  )
	SET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g3"  )
	#SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fPIC"  )

	# C++ Flags
	SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC"  )
	SET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE} -g3"  )
	#SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fPIC"  )

ENDIF()

# Boost.
set( BOOST_INCLUDEDIR "${LIBRARY_ROOT}/boost/include/boost-1_44" )

if ( UNIX )
	set ( BOOST_OSDIR "linux" )
	set( OS_NAME "linux" )
elseif( WIN32 )
	set ( BOOST_OSDIR "windows" )
	set( OS_NAME "windows" )
else()
	message(FATAL_ERROR "Should not get here")
endif()

if( CMAKE_SIZEOF_VOID_P MATCHES "8" )
	set( CPU_NAME "x64" )
	set( BOOST_LIBRARYDIR "${LIBRARY_ROOT}/boost/lib/x64/${BOOST_OSDIR}" )
elseif( CMAKE_SIZEOF_VOID_P MATCHES "4" )
	set( CPU_NAME "x86" )
	set( BOOST_LIBRARYDIR "${LIBRARY_ROOT}/boost/lib/x86/${BOOST_OSDIR}" )
else()
	message(FATAL_ERROR "Should not get here")
endif()

#MESSAGE( "BOOST_INCLUDEDIR: ${BOOST_INCLUDEDIR}" )
#MESSAGE( "BOOST_LIBRARYDIR: ${BOOST_LIBRARYDIR}" )
if( NOT EXISTS ${BOOST_INCLUDEDIR} )
	message(FATAL_ERROR "Can't find BOOST_INCLUDEDIR: ${BOOST_INCLUDEDIR}" )
endif()

if( NOT EXISTS ${BOOST_LIBRARYDIR} )
	message(FATAL_ERROR "Can't find BOOST_LIBRARYDIR: ${BOOST_LIBRARYDIR}" )
endif()

# Boost
set(Boost_USE_STATIC_LIBS ON)
set(Boost_USE_MULTITHREADED ON)
set(Boost_DETAILED_FAILURE_MSG ON )
set(Boost_USE_STATIC_RUNTIME ON)
set(Boost_NO_SYSTEM_PATHS true )

if( MSVC11 OR MSVC10 )
	set(BOOST_COMPONENTS date_time program_options regex thread iostreams filesystem system unit_test_framework )
else()
	set(BOOST_COMPONENTS date_time program_options regex thread iostreams python filesystem system unit_test_framework )
endif()

find_package( Boost 1.44.0 COMPONENTS REQUIRED ${BOOST_COMPONENTS} )

include_directories( ${Boost_INCLUDE_DIRS} )
link_directories( ${Boost_LIBRARY_DIRS} )

IF( WIN32 )
	#We statically link to reduce dependancies (copied from Bullet CMakeLists.txt)
	FOREACH(flag_var CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
		IF(${flag_var} MATCHES "/MD")
			STRING(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
		ENDIF(${flag_var} MATCHES "/MD")
		IF(${flag_var} MATCHES "/MDd")
			STRING(REGEX REPLACE "/MDd" "/MTd" ${flag_var} "${${flag_var}}")
		ENDIF(${flag_var} MATCHES "/MDd")
	ENDFOREACH(flag_var)
endif()

# For multithreaded builds
# [mkonyk] Fix ~ these are only valid on Windows platforms.
IF( WIN32 )
	SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP" )
	SET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP" )

	# For Alembic library
	SET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DPLATFORM_WINDOWS" )
ENDIF( WIN32 )

SET( ILMBASE_ROOT_DIR "Shared/ilmbase-1.0.2" )
SET( ZLIB_ROOT_DIR "Shared/zlib-1.2.5" )
SET( HDF_ROOT_DIR "Shared/hdf5-1.8.9" )
SET( ALEMBIC_ROOT_DIR "Shared/alembic-1.5.0" )
SET( ALEMBIC_NO_TESTS TRUE )
SET( ALEMBIC_NO_BOOTSTRAP TRUE )
SET( ALEMBIC_NO_OPENGL TRUE )

add_definitions( -Dalembic_ver=${ALEMBIC_ROOT_DIR} )
add_definitions( -Dhdf_ver=${HDF_ROOT_DIR} )
add_definitions( -Dcrate_ver=crate-${crate_FULLVERSION} )

# ILM Math
include_directories( "${ILMBASE_ROOT_DIR}/Half" )
include_directories( "${ILMBASE_ROOT_DIR}/Iex" )
include_directories( "${ILMBASE_ROOT_DIR}/IlmThread" )
include_directories( "${ILMBASE_ROOT_DIR}/Imath" )

ADD_SUBDIRECTORY ( ${ILMBASE_ROOT_DIR} )
SET( ALEMBIC_ILMBASE_LIBS ilmbase )

# ZLib
SET( BUILD_SHARED_LIBS OFF )
SET( SKIP_INSTALL_ALL ON )
SET( SKIP_INSTALL_LIBRARIES ON )

# For multithreaded builds
IF( WIN32 )
	SET( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd" )
	SET( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} /MTd" )
	SET( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT" )
	SET( CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} /MT" )
ENDIF()



include_directories( ${ZLIB_ROOT_DIR} )
include_directories("${CMAKE_CURRENT_BINARY_DIR}/${ZLIB_ROOT_DIR}" )

ADD_SUBDIRECTORY ( ${ZLIB_ROOT_DIR} )
SET( ALEMBIC_ZLIB_LIBS zlib )

# HDF
SET( ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/${ZLIB_ROOT_DIR}" )
SET( H5_HAVE_ZLIB_H ON )
SET( H5_ZLIB_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/${ZLIB_ROOT_DIR}/zlib.h" )
SET( ZLIB_LIBRARY zlib )
SET( H5_HAVE_FILTER_DEFLATE ON )
SET(HDF5_ENABLE_THREADSAFE ON CACHE BOOL "Thread safety")
SET(HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "Disable sZip")
SET(HDF5_BUILD_HL_LIB ON CACHE BOOL "Build high level lib")

ADD_SUBDIRECTORY ( ${HDF_ROOT_DIR} )
include_directories( "${HDF_ROOT_DIR}/src" )
include_directories( "${HDF_ROOT_DIR}/hl/src" )
include_directories( "${HDF_ROOT_DIR}/c++/src" )
include_directories( "${HDF_ROOT_DIR}/hl/c++/src" )
include_directories( "${CMAKE_CURRENT_BINARY_DIR}/${HDF_ROOT_DIR}" )
SET( ALEMBIC_HDF5_LIBS hdf5 hdf5_hl )

# reset the output directories
UNSET(CMAKE_RUNTIME_OUTPUT_DIRECTORY CACHE)
UNSET(CMAKE_LIBRARY_OUTPUT_DIRECTORY CACHE)
UNSET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY CACHE)

# Alembic
add_definitions( -DNOMINMAX )	 # disable min/max macros from <windows.h>.
include_directories( ${ALEMBIC_ROOT_DIR} )
ADD_SUBDIRECTORY ( ${ALEMBIC_ROOT_DIR} )
SET( ALEMBIC_CORE_LIBS AlembicAbcMaterial AlembicAbcGeom AlembicAbc AlembicAbcCoreHDF5 AlembicAbcCoreOgawa AlembicAbcCoreAbstract AlembicAbcCoreFactory AlembicOgawa AlembicUtil )

SET( ALL_ALEMBIC_LIBS ${ALEMBIC_CORE_LIBS} ${ALEMBIC_HDF5_LIBS} ${ALEMBIC_ZLIB_LIBS}
		${ALEMBIC_ILMBASE_LIBS} ${ZLIB_LIBRARIES} ${Boost_LIBRARIES} )

ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Shared/CommonUtils" "${CMAKE_CURRENT_BINARY_DIR}/Shared/CommonUtils" )

include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/Shared/CommonUtils" )


add_definitions( -D_WINSOCKAPI_ )
add_definitions( -D_WINSOCKAPI2_ )


# Python extension
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Python/CMakeLists.txt")
	if( NOT MSVC10 AND NOT MSVC11 )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Python/2.6.7" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicPython/2.6.7" )
		if( WIN32 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Python/2.7.2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicPython/2.7.2" )
		else()
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Python/2.5.2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicPython/2.5.2" )
		endif()
	endif()
ENDIF()

# Arnold dso
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Arnold/CMakeLists.txt")
	if( NOT MSVC10 AND NOT MSVC11 )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Arnold/3" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicArnold/3" )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Arnold/4" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicArnold/4" )
	endif()
ENDIF()

# softimage plugin
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/CMakeLists.txt")
	if( WIN32 )
		if( MSVC11 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2015" )
		elseif( NOT MSVC10 AND NOT MSVC11 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2012" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2014SP2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2014SP2" )
		endif()
	else()
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2015" )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2014SP2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2014SP2" )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2012" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2012" )
	endif()
ENDIF()

# maya plugin
# guide to maya compiler versions: http://around-the-corner.typepad.com/adn/2012/06/maya-compiler-versions.html
IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Maya/CMakeLists.txt")
	if( WIN32 )
		if( MSVC11 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2017"   "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2017" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016.5" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016.5" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016"   "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2015"   "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2015" )
		elseif( MSVC10 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2014" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2014" )
		endif()
	else()
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016.5" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016.5" )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016" )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2015" )
		ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2014" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2014" )
	endif()
ENDIF()

# houdini plugin
#IF(INCLUDE_ALEMBIC_HOUDINI)
#IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Houdini/CMakeLists.txt")
#	ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Houdini" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicHoudini" )
#ENDIF()
#ENDIF(INCLUDE_ALEMBIC_HOUDINI)

# 3dsmax plugin
if( WIN32 )
	IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/CMakeLists.txt")
		if( MSVC11 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2017" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2017" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2016" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2016" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2015" )
		elseif( MSVC10 )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2014" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2014" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2013" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2013" )
		else()
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2012" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2012" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2011" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2011" )
			ADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2010" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2010" )
		endif()
	ENDIF()
endif()

<MSG> Merge branch 'HEAD' of git@github.com:Exocortex/ExocortexAlembicPython.git

<DFF> @@ -1,4 +1,8 @@
-SET( PYTHON_LIBS python26)
+if(WIN32) 
+  SET( PYTHON_LIBS python26)
+else()
+  SET( PYTHON_LIBS python2.6)
+endif()
 
 file(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)
 file(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
@@ -33,7 +37,8 @@ if(WIN32)
   ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )
   SET( MODSUFFIX ".pyd" )
 else()
-  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")
+  INCLUDE_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/Fedora )
+  LINK_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/libsFedora )
   SET( MODSUFFIX ".so" )
 endif()
 
@@ -49,4 +54,4 @@ SET_TARGET_PROPERTIES(_ExocortexAlembicPython
     OUTPUT_NAME _ExocortexAlembicPython
     PREFIX "" # There is no prefix even on UNIXes
     SUFFIX "${MODSUFFIX}"
-)
\ No newline at end of file
+)

{'commit': 'diff --git a/CMakeLists.txt b/CMakeLists.txt\nindex c8c9723b..81576f39 100644\n--- a/CMakeLists.txt\n+++ b/CMakeLists.txt\n@@ -1,4 +1,8 @@\n-SET( PYTHON_LIBS python26)\n+if(WIN32) \n+  SET( PYTHON_LIBS python26)\n+else()\n+  SET( PYTHON_LIBS python2.6)\n+endif()\n \n file(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)\n file(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)\n@@ -33,7 +37,8 @@ if(WIN32)\n   ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )\n   SET( MODSUFFIX ".pyd" )\n else()\n-  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")\n+  INCLUDE_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/Fedora )\n+  LINK_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/libsFedora )\n   SET( MODSUFFIX ".so" )\n endif()\n \n@@ -49,4 +54,4 @@ SET_TARGET_PROPERTIES(_ExocortexAlembicPython\n     OUTPUT_NAME _ExocortexAlembicPython\n     PREFIX "" # There is no prefix even on UNIXes\n     SUFFIX "${MODSUFFIX}"\n-)\n\\ No newline at end of file\n+)\ndiff --git a/oproperty.cpp b/oproperty.cpp\nindex 6c8d99a3..093c1ce9 100644\n--- a/oproperty.cpp\n+++ b/oproperty.cpp\n@@ -525,7 +525,7 @@ static PyObject * oProperty_setValues(PyObject * self, PyObject * args)\n       case propertyTP_char_array:\n       {\n          _COPY_TUPLE_TO_VECTOR_(int,int,"i",1);\n-         std::vector<const signed char> values(nbItems);\n+         std::vector<signed char> values(nbItems);\n          for(size_t i=0;i<nbItems;i++)\n             values[i] = tupleVec[i] > 0;\n          Alembic::Abc::OCharArrayProperty::sample_type sample;\n@@ -554,7 +554,7 @@ static PyObject * oProperty_setValues(PyObject * self, PyObject * args)\n       }\n       case propertyTP_uint32_array:\n       {\n-         _COPY_TUPLE_TO_VECTOR_(unsigned long,unsigned long,"k",1);\n+         _COPY_TUPLE_TO_VECTOR_(boost::uint32_t,unsigned long,"k",1);\n          Alembic::Abc::OUInt32ArrayProperty::sample_type sample;\n          if(tupleVec.size() > 0)\n             sample = Alembic::Abc::OUInt32ArrayProperty::sample_type(&tupleVec.front(),tupleVec.size());\n@@ -563,7 +563,7 @@ static PyObject * oProperty_setValues(PyObject * self, PyObject * args)\n       }\n       case propertyTP_int32_array:\n       {\n-         _COPY_TUPLE_TO_VECTOR_(long,long,"l",1);\n+         _COPY_TUPLE_TO_VECTOR_(boost::int32_t,long,"l",1);\n          Alembic::Abc::OInt32ArrayProperty::sample_type sample;\n          if(tupleVec.size() > 0)\n             sample = Alembic::Abc::OInt32ArrayProperty::sample_type(&tupleVec.front(),tupleVec.size());\n@@ -572,7 +572,7 @@ static PyObject * oProperty_setValues(PyObject * self, PyObject * args)\n       }\n       case propertyTP_uint64_array:\n       {\n-         _COPY_TUPLE_TO_VECTOR_(unsigned long long,unsigned long long,"K",1);\n+         _COPY_TUPLE_TO_VECTOR_(boost::uint64_t,unsigned long long,"K",1);\n          Alembic::Abc::OUInt64ArrayProperty::sample_type sample;\n          if(tupleVec.size() > 0)\n             sample = Alembic::Abc::OUInt64ArrayProperty::sample_type(&tupleVec.front(),tupleVec.size());\n@@ -581,7 +581,7 @@ static PyObject * oProperty_setValues(PyObject * self, PyObject * args)\n       }\n       case propertyTP_int64_array:\n       {\n-         _COPY_TUPLE_TO_VECTOR_(long long,long long,"L",1);\n+         _COPY_TUPLE_TO_VECTOR_(boost::int64_t,long long,"L",1);\n          Alembic::Abc::OInt64ArrayProperty::sample_type sample;\n          if(tupleVec.size() > 0)\n             sample = Alembic::Abc::OInt64ArrayProperty::sample_type(&tupleVec.front(),tupleVec.size());\n', 'commit_subject': "Merge branch 'HEAD' of git@github.com:Exocortex/ExocortexAlembicPython.git", 'repo_name': 'Exocortex/ExocortexCrate', 'committer': {'name': 'Ben Houston', 'email': '73675debcd8a436be48ec22211dcf44fe0df0a64@exocortex.com', 'time_sec': '1331065797', 'tz_offset': '-300', 'date': {'seconds': '1331065797'}}, 'commit_tree': '35e87cc0a8545229e524d508ca098a162592579a', 'commit_message': "Merge branch 'HEAD' of git@github.com:Exocortex/ExocortexAlembicPython.git\n", 'language_name': 'HTML', 'license': 'bsd-3-clause', 'hunks': '@@ -1,4 +1,8 @@\n-SET( PYTHON_LIBS python26)\n+if(WIN32) \n+  SET( PYTHON_LIBS python26)\n+else()\n+  SET( PYTHON_LIBS python2.6)\n+endif()\n \n file(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)\n file(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)\n@@ -33,7 +37,8 @@ if(WIN32)\n   ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )\n   SET( MODSUFFIX ".pyd" )\n else()\n-  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")\n+  INCLUDE_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/Fedora )\n+  LINK_DIRECTORIES( ${LIBRARY_ROOT}/python/2.6.7/libsFedora )\n   SET( MODSUFFIX ".so" )\n endif()\n \n@@ -49,4 +54,4 @@ SET_TARGET_PROPERTIES(_ExocortexAlembicPython\n     OUTPUT_NAME _ExocortexAlembicPython\n     PREFIX "" # There is no prefix even on UNIXes\n     SUFFIX "${MODSUFFIX}"\n-)\n\\ No newline at end of file\n+)\n', 'addition_count': 8, 'deletion_count': 3, 'src_file': 'a/CMakeLists.txt', 'tgt_file': 'b/CMakeLists.txt', 'file_extension': '.txt', 'before_file': 'SET( PYTHON_LIBS python26)\n\nfile(GLOB Sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)\nfile(GLOB Includes ${CMAKE_CURRENT_SOURCE_DIR}/*.h)\n\tENDIF()\nENDIF()\n\nSET( PROJECT_NAME "ExocortexCrate" )\n\nIF (UNIX AND NOT APPLE )\n\tADD_DEFINITIONS(-DLINUX )\nENDIF()\n\nIF( WIN32 )\n\tADD_DEFINITIONS( -D_WIN64 -DWIN64 )\nENDIF()\n\nset( Exocortex_INSTALL_BASE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/install" )\n\nif( HDF5_ENABLE_THREADSAFE )\n\tadd_definitions( -DH5_HAVE_THREADSAFE )\n\tif( WIN32 )\n\t\tSET( PROJECT_NAME "${PROJECT_NAME}_Windows7" )\n\t\tset( Exocortex_INSTALL_BASE_DIR ${Exocortex_INSTALL_BASE_DIR}/Windows7 )\n\telseif( UNIX )\n\t\tIF (CMAKE_BUILD_TYPE MATCHES "Debug")\n\t\t\tSET( PROJECT_NAME "${PROJECT_NAME}_LinuxDebug" )\n\t\t\tset( Exocortex_INSTALL_BASE_DIR ${Exocortex_INSTALL_BASE_DIR}/LinuxDebug )\n\t\tELSE()\n\t\t\tSET( PROJECT_NAME "${PROJECT_NAME}_LinuxRelease" )\n\t\t\tset( Exocortex_INSTALL_BASE_DIR ${Exocortex_INSTALL_BASE_DIR}/LinuxRelease )\n\t\tENDIF()\n  ADD_DEFINITIONS( /DBOOST_ALL_NO_LIB )\n  SET( MODSUFFIX ".pyd" )\nelse()\n  MESSAGE("WE NEED TO IMPLEMENT LINUX FOR THE PYTHON EXTENSION!")\n  SET( MODSUFFIX ".so" )\nendif()\n\n\t\tmessage(FATAL_ERROR "Should not get here")\n\tendif()\nendif()\n\nif( MSVC9 )\n\tSET( PROJECT_NAME "${PROJECT_NAME}_2008" )\nelseif( MSVC10 )\n\tSET( PROJECT_NAME "${PROJECT_NAME}_2010" )\nelseif( MSVC11 )\n    OUTPUT_NAME _ExocortexAlembicPython\n    PREFIX "" # There is no prefix even on UNIXes\n    SUFFIX "${MODSUFFIX}"\n)\nproject( ${PROJECT_NAME} )\n\nINCLUDE(./ExocortexCMakeShared.txt)\n\nset_property(GLOBAL PROPERTY USE_FOLDERS ON)\nset( HDF5Folder "HDF5" )\nset( ZlibFolder "HDF5" )\nset( IlmBaseFolder "Alembic" )\nset( AlembicFolder "Alembic" )\n\nSET(DIR_SOFTIMAGEALEBMIC ${CMAKE_CURRENT_SOURCE_DIR})\n\nget_filename_component( LIBRARY_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" PATH )\nset( LIBRARY_VERSION "20160502.02" )\nset( LIBRARY_ROOT "${LIBRARY_ROOT}/Libraries.${LIBRARY_VERSION}" )\nif( NOT EXISTS ${LIBRARY_ROOT} )\n\tmessage( "!!!" )\n\tmessage( "!!! Download the latest library from here: " )\n\tmessage( "!!! https://s3-us-west-2.amazonaws.com/exocortex-downloads/Libraries.${LIBRARY_VERSION}.7z")\n\tmessage( "!!!" )\n\tmessage( FATAL_ERROR "Can\'t find LIBRARY_ROOT: ${LIBRARY_ROOT}" )\nendif()\n\n# Configuration\nSET( crate_MAJOR_VERSION "1" )\nSET( crate_MINOR_VERSION "1" )\nSET( crate_BUILD_VERSION "151")\nSET( crate_VERSION "${crate_MAJOR_VERSION}.${crate_MINOR_VERSION}" )\nSET( crate_FULLVERSION "${crate_MAJOR_VERSION}.${crate_MINOR_VERSION}.${crate_BUILD_VERSION}" )\n\nadd_definitions( "-Dcrate_MAJOR_VERSION=${crate_MAJOR_VERSION}" )\nadd_definitions( "-Dcrate_MINOR_VERSION=${crate_MINOR_VERSION}" )\nadd_definitions( "-Dcrate_BUILD_VERSION=${crate_BUILD_VERSION}" )\n\nsetup_os_name()\nsetup_cpu_name()\n\nSET( ALEMBIC64 0 )\nIF( WIN32 )\n\tIF( CMAKE_SIZEOF_VOID_P MATCHES "8" )\n\t\tSET( ALEMBIC64 1 )\n\tENDIF( CMAKE_SIZEOF_VOID_P MATCHES "8" )\nENDIF( WIN32 )\n\nIF( UNIX )\n\tIF( CMAKE_SIZEOF_VOID_P MATCHES "8" )\n\t\tSET( ALEMBIC64 1 )\n\tENDIF( CMAKE_SIZEOF_VOID_P MATCHES "8" )\nENDIF( UNIX )\n\nIF( UNIX )\n\t# Issues with fpic (requires position independent code option during linking to these libs).\n\n\t# C Flags\n\tSET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC"  )\n\tSET(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g3"  )\n\t#SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -fPIC"  )\n\n\t# C++ Flags\n\tSET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC"  )\n\tSET(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_RELEASE} -g3"  )\n\t#SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fPIC"  )\n\nENDIF()\n\n# Boost.\nset( BOOST_INCLUDEDIR "${LIBRARY_ROOT}/boost/include/boost-1_44" )\n\nif ( UNIX )\n\tset ( BOOST_OSDIR "linux" )\n\tset( OS_NAME "linux" )\nelseif( WIN32 )\n\tset ( BOOST_OSDIR "windows" )\n\tset( OS_NAME "windows" )\nelse()\n\tmessage(FATAL_ERROR "Should not get here")\nendif()\n\nif( CMAKE_SIZEOF_VOID_P MATCHES "8" )\n\tset( CPU_NAME "x64" )\n\tset( BOOST_LIBRARYDIR "${LIBRARY_ROOT}/boost/lib/x64/${BOOST_OSDIR}" )\nelseif( CMAKE_SIZEOF_VOID_P MATCHES "4" )\n\tset( CPU_NAME "x86" )\n\tset( BOOST_LIBRARYDIR "${LIBRARY_ROOT}/boost/lib/x86/${BOOST_OSDIR}" )\nelse()\n\tmessage(FATAL_ERROR "Should not get here")\nendif()\n\n#MESSAGE( "BOOST_INCLUDEDIR: ${BOOST_INCLUDEDIR}" )\n#MESSAGE( "BOOST_LIBRARYDIR: ${BOOST_LIBRARYDIR}" )\nif( NOT EXISTS ${BOOST_INCLUDEDIR} )\n\tmessage(FATAL_ERROR "Can\'t find BOOST_INCLUDEDIR: ${BOOST_INCLUDEDIR}" )\nendif()\n\nif( NOT EXISTS ${BOOST_LIBRARYDIR} )\n\tmessage(FATAL_ERROR "Can\'t find BOOST_LIBRARYDIR: ${BOOST_LIBRARYDIR}" )\nendif()\n\n# Boost\nset(Boost_USE_STATIC_LIBS ON)\nset(Boost_USE_MULTITHREADED ON)\nset(Boost_DETAILED_FAILURE_MSG ON )\nset(Boost_USE_STATIC_RUNTIME ON)\nset(Boost_NO_SYSTEM_PATHS true )\n\nif( MSVC11 OR MSVC10 )\n\tset(BOOST_COMPONENTS date_time program_options regex thread iostreams filesystem system unit_test_framework )\nelse()\n\tset(BOOST_COMPONENTS date_time program_options regex thread iostreams python filesystem system unit_test_framework )\nendif()\n\nfind_package( Boost 1.44.0 COMPONENTS REQUIRED ${BOOST_COMPONENTS} )\n\ninclude_directories( ${Boost_INCLUDE_DIRS} )\nlink_directories( ${Boost_LIBRARY_DIRS} )\n\nIF( WIN32 )\n\t#We statically link to reduce dependancies (copied from Bullet CMakeLists.txt)\n\tFOREACH(flag_var CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)\n\t\tIF(${flag_var} MATCHES "/MD")\n\t\t\tSTRING(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")\n\t\tENDIF(${flag_var} MATCHES "/MD")\n\t\tIF(${flag_var} MATCHES "/MDd")\n\t\t\tSTRING(REGEX REPLACE "/MDd" "/MTd" ${flag_var} "${${flag_var}}")\n\t\tENDIF(${flag_var} MATCHES "/MDd")\n\tENDFOREACH(flag_var)\nendif()\n\n# For multithreaded builds\n# [mkonyk] Fix ~ these are only valid on Windows platforms.\nIF( WIN32 )\n\tSET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP" )\n\tSET( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP" )\n\n\t# For Alembic library\n\tSET( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /DPLATFORM_WINDOWS" )\nENDIF( WIN32 )\n\nSET( ILMBASE_ROOT_DIR "Shared/ilmbase-1.0.2" )\nSET( ZLIB_ROOT_DIR "Shared/zlib-1.2.5" )\nSET( HDF_ROOT_DIR "Shared/hdf5-1.8.9" )\nSET( ALEMBIC_ROOT_DIR "Shared/alembic-1.5.0" )\nSET( ALEMBIC_NO_TESTS TRUE )\nSET( ALEMBIC_NO_BOOTSTRAP TRUE )\nSET( ALEMBIC_NO_OPENGL TRUE )\n\nadd_definitions( -Dalembic_ver=${ALEMBIC_ROOT_DIR} )\nadd_definitions( -Dhdf_ver=${HDF_ROOT_DIR} )\nadd_definitions( -Dcrate_ver=crate-${crate_FULLVERSION} )\n\n# ILM Math\ninclude_directories( "${ILMBASE_ROOT_DIR}/Half" )\ninclude_directories( "${ILMBASE_ROOT_DIR}/Iex" )\ninclude_directories( "${ILMBASE_ROOT_DIR}/IlmThread" )\ninclude_directories( "${ILMBASE_ROOT_DIR}/Imath" )\n\nADD_SUBDIRECTORY ( ${ILMBASE_ROOT_DIR} )\nSET( ALEMBIC_ILMBASE_LIBS ilmbase )\n\n# ZLib\nSET( BUILD_SHARED_LIBS OFF )\nSET( SKIP_INSTALL_ALL ON )\nSET( SKIP_INSTALL_LIBRARIES ON )\n\n# For multithreaded builds\nIF( WIN32 )\n\tSET( CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} /MTd" )\n\tSET( CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} /MTd" )\n\tSET( CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT" )\n\tSET( CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} /MT" )\nENDIF()\n\n\n\ninclude_directories( ${ZLIB_ROOT_DIR} )\ninclude_directories("${CMAKE_CURRENT_BINARY_DIR}/${ZLIB_ROOT_DIR}" )\n\nADD_SUBDIRECTORY ( ${ZLIB_ROOT_DIR} )\nSET( ALEMBIC_ZLIB_LIBS zlib )\n\n# HDF\nSET( ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/${ZLIB_ROOT_DIR}" )\nSET( H5_HAVE_ZLIB_H ON )\nSET( H5_ZLIB_HEADER "${CMAKE_CURRENT_SOURCE_DIR}/${ZLIB_ROOT_DIR}/zlib.h" )\nSET( ZLIB_LIBRARY zlib )\nSET( H5_HAVE_FILTER_DEFLATE ON )\nSET(HDF5_ENABLE_THREADSAFE ON CACHE BOOL "Thread safety")\nSET(HDF5_ENABLE_SZIP_SUPPORT OFF CACHE BOOL "Disable sZip")\nSET(HDF5_BUILD_HL_LIB ON CACHE BOOL "Build high level lib")\n\nADD_SUBDIRECTORY ( ${HDF_ROOT_DIR} )\ninclude_directories( "${HDF_ROOT_DIR}/src" )\ninclude_directories( "${HDF_ROOT_DIR}/hl/src" )\ninclude_directories( "${HDF_ROOT_DIR}/c++/src" )\ninclude_directories( "${HDF_ROOT_DIR}/hl/c++/src" )\ninclude_directories( "${CMAKE_CURRENT_BINARY_DIR}/${HDF_ROOT_DIR}" )\nSET( ALEMBIC_HDF5_LIBS hdf5 hdf5_hl )\n\n# reset the output directories\nUNSET(CMAKE_RUNTIME_OUTPUT_DIRECTORY CACHE)\nUNSET(CMAKE_LIBRARY_OUTPUT_DIRECTORY CACHE)\nUNSET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY CACHE)\n\n# Alembic\nadd_definitions( -DNOMINMAX )\t # disable min/max macros from <windows.h>.\ninclude_directories( ${ALEMBIC_ROOT_DIR} )\nADD_SUBDIRECTORY ( ${ALEMBIC_ROOT_DIR} )\nSET( ALEMBIC_CORE_LIBS AlembicAbcMaterial AlembicAbcGeom AlembicAbc AlembicAbcCoreHDF5 AlembicAbcCoreOgawa AlembicAbcCoreAbstract AlembicAbcCoreFactory AlembicOgawa AlembicUtil )\n\nSET( ALL_ALEMBIC_LIBS ${ALEMBIC_CORE_LIBS} ${ALEMBIC_HDF5_LIBS} ${ALEMBIC_ZLIB_LIBS}\n\t\t${ALEMBIC_ILMBASE_LIBS} ${ZLIB_LIBRARIES} ${Boost_LIBRARIES} )\n\nADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Shared/CommonUtils" "${CMAKE_CURRENT_BINARY_DIR}/Shared/CommonUtils" )\n\ninclude_directories( "${CMAKE_CURRENT_SOURCE_DIR}/Shared/CommonUtils" )\n\n\nadd_definitions( -D_WINSOCKAPI_ )\nadd_definitions( -D_WINSOCKAPI2_ )\n\n\n# Python extension\nIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Python/CMakeLists.txt")\n\tif( NOT MSVC10 AND NOT MSVC11 )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Python/2.6.7" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicPython/2.6.7" )\n\t\tif( WIN32 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Python/2.7.2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicPython/2.7.2" )\n\t\telse()\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Python/2.5.2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicPython/2.5.2" )\n\t\tendif()\n\tendif()\nENDIF()\n\n# Arnold dso\nIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Arnold/CMakeLists.txt")\n\tif( NOT MSVC10 AND NOT MSVC11 )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Arnold/3" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicArnold/3" )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Arnold/4" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicArnold/4" )\n\tendif()\nENDIF()\n\n# softimage plugin\nIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/CMakeLists.txt")\n\tif( WIN32 )\n\t\tif( MSVC11 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2015" )\n\t\telseif( NOT MSVC10 AND NOT MSVC11 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2012" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2014SP2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2014SP2" )\n\t\tendif()\n\telse()\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2015" )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2014SP2" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2014SP2" )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Softimage/2012" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicSoftimage2012" )\n\tendif()\nENDIF()\n\n# maya plugin\n# guide to maya compiler versions: http://around-the-corner.typepad.com/adn/2012/06/maya-compiler-versions.html\nIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Maya/CMakeLists.txt")\n\tif( WIN32 )\n\t\tif( MSVC11 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2017"   "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2017" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016.5" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016.5" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016"   "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2015"   "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2015" )\n\t\telseif( MSVC10 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2014" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2014" )\n\t\tendif()\n\telse()\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016.5" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016.5" )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2016" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2016" )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2015" )\n\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Maya/2014" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicMaya/2014" )\n\tendif()\nENDIF()\n\n# houdini plugin\n#IF(INCLUDE_ALEMBIC_HOUDINI)\n#IF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/Houdini/CMakeLists.txt")\n#\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/Houdini" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembicHoudini" )\n#ENDIF()\n#ENDIF(INCLUDE_ALEMBIC_HOUDINI)\n\n# 3dsmax plugin\nif( WIN32 )\n\tIF(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/CMakeLists.txt")\n\t\tif( MSVC11 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2017" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2017" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2016" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2016" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2015" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2015" )\n\t\telseif( MSVC10 )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2014" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2014" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2013" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2013" )\n\t\telse()\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2012" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2012" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2011" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2011" )\n\t\t\tADD_SUBDIRECTORY ( "${CMAKE_CURRENT_SOURCE_DIR}/3DSMax/2010" "${CMAKE_CURRENT_BINARY_DIR}/ExocortexAlembic3DSMax/2010" )\n\t\tendif()\n\tENDIF()\nendif()\n', 'message': "Merge branch 'HEAD' of git@github.com:Exocortex/ExocortexAlembicPython.git\n", 'author_name': 'Ben Houston', 'lang': 'txt'}