<commit_before>cmake_minimum_required(VERSION 2.6)

project( ExocortexAlembic )

INCLUDE(./ExocortexCMakeShared.txt)

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

SET(DIR_SOFTIMAGEALEBMIC ${CMAKE_CURRENT_SOURCE_DIR})

get_filename_component( LIBRARY_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" PATH )
set( LIBRARY_ROOT "${LIBRARY_ROOT}/Libraries" )
if( NOT EXISTS ${LIBRARY_ROOT} )
	message(FATAL_ERROR "Can't find LIBRARY_ROOT: ${LIBRARY_ROOT}" )
endif()
 
# Configuration
SET( alembic_MAJOR_VERSION "1" )
SET( alembic_MINOR_VERSION "0" ) 
SET( alembic_VERSION "${alembic_MAJOR_VERSION}.${alembic_MINOR_VERSION}" )

add_definitions( "-Dalembic_MAJOR_VERSION=${alembic_MAJOR_VERSION}" )
add_definitions( "-Dalembic_MINOR_VERSION=${alembic_MINOR_VERSION}" )

if( WIN32 )
	set( Exocortex_SERVICES ON )
elseif( UNIX )
	set( Exocortex_SERVICES OFF )
else()
	message(FATAL_ERROR "Should not get here")
endif()

#set( Exocortex_BETA_EXPIRY_DATE 1330560000 )	# when beta is over, undefine this and it will not be enabled.
set( Exocortex_RLM_ONLY ON )					# use only RLM licensing.

# Exocortex Services
if( Exocortex_BETA_EXPIRY_DATE )
	message( "---> ENABLING EXPIRY DATE LICENSING: ${EXOCORTEX_BETA_EXPIRY_DATE}" )
	add_definitions( "-DEXOCORTEX_BETA_EXPIRY_DATE=${Exocortex_BETA_EXPIRY_DATE}" )
endif()

if( Exocortex_RLM_ONLY )
	add_definitions( "-DEXOCORTEX_RLM_ONLY" )
endif()

setup_os_name()
setup_cpu_name()

# RLM (floating license manager)
if( Exocortex_SERVICES OR Exocortex_RLM_ONLY )<commit_msg>cleanup cmake file -- rename project when compiling for WinXP.<commit_after>cmake_minimum_required(VERSION 2.6)

if( HDF5_ENABLE_THREADSAFE )
	project( ExocortexAlembic )
else()
	project( ExocortexAlembic_WinXP )
endif()

INCLUDE(./ExocortexCMakeShared.txt)

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

SET(DIR_SOFTIMAGEALEBMIC ${CMAKE_CURRENT_SOURCE_DIR})

get_filename_component( LIBRARY_ROOT "${CMAKE_CURRENT_SOURCE_DIR}" PATH )
set( LIBRARY_ROOT "${LIBRARY_ROOT}/Libraries" )
if( NOT EXISTS ${LIBRARY_ROOT} )
	message(FATAL_ERROR "Can't find LIBRARY_ROOT: ${LIBRARY_ROOT}" )
endif()
 
# Configuration
SET( alembic_MAJOR_VERSION "1" )
SET( alembic_MINOR_VERSION "0" ) 
SET( alembic_VERSION "${alembic_MAJOR_VERSION}.${alembic_MINOR_VERSION}" )

add_definitions( "-Dalembic_MAJOR_VERSION=${alembic_MAJOR_VERSION}" )
add_definitions( "-Dalembic_MINOR_VERSION=${alembic_MINOR_VERSION}" )

if( WIN32 )
	set( Exocortex_SERVICES ON )
elseif( UNIX )
	set( Exocortex_SERVICES OFF )
else()
	message(FATAL_ERROR "Should not get here")
endif()

set( Exocortex_RLM_ONLY ON )					# use only RLM licensing.

if( Exocortex_RLM_ONLY )
	add_definitions( "-DEXOCORTEX_RLM_ONLY" )
endif()

setup_os_name()
setup_cpu_name()

# RLM (floating license manager)
if( Exocortex_SERVICES OR Exocortex_RLM_ONLY )
{'fraction_non_alphanumeric': 0.10840197693574959, 'fraction_numerical': 0.008237232289950576, 'mean_word_length': 7.295081967213115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5724734', 'n_tokens_mistral': 1287, 'n_tokens_neox': 1196, 'n_words': 228}