<commit_before>CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(OpenSG)

SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${OpenSG_SOURCE_DIR}/CMake")

##########################
# Disallow in-source build
##########################

IF("${OpenSG_SOURCE_DIR}"  STREQUAL "${OpenSG_BINARY_DIR}")
  MESSAGE(FATAL_ERROR "OpenSG requires an out of source Build. \n"
                      "Please create a separate binary directory and run "
                      "CMake there.")
ENDIF("${OpenSG_SOURCE_DIR}"  STREQUAL "${OpenSG_BINARY_DIR}")

OPTION(BUILD_SHARED_LIBS "Set to OFF to build static libraries" ON)

OPTION(OSG_ENABLE_NEW_SHADER "" OFF)
OPTION(OSG_ENABLE_OGL2_SHADERFUNCTIONS "" OFF)
SET(OSG_SHADER_CACHE_MODE 5 CACHE STRING "")

OPTION(OSG_ENABLE_FCD2CODE "" OFF)
OPTION(OSG_ENABLE_SCANPARSE_REGEN "" OFF)

OPTION(OSG_ENABLE_GLDEFINE_MAPPER "" ON)
OPTION(OSG_ENABLE_NEW_OSB_IO "" ON)

OPTION(OSG_ENABLE_SSE2 "" ON)

OPTION(OSG_ENABLE_TESTCONTAINER "" OFF)
OPTION(OSG_ENABLE_VALGRIND_CHECKS "" OFF)
OPTION(OSG_ENABLE_MEMORY_DEBUGGING "" OFF)

IF(UNIX)
    OPTION(OSG_ENABLE_ELF_LOCALSTORAGE "" ON)
ELSEIF(WIN32)
    OPTION(OSG_ENABLE_WIN_LOCALSTORAGE "" ON)
ENDIF()

OPTION(OSGCOMPAT_ENABLE                  "" OFF)
OPTION(OSGCOMPAT_DISABLE_DEPRECATED      "" ON)
OPTION(OSGCOMPAT_ENABLE_DEPRECATED_PROPS "" OFF)


# Not sure
#OPTION(OSG_ENABLE_MTCPTR "" ON)
#OPTION(OSG_ENABLE_GIF    "" ON)

##################
# System Packages
##################

OPTION(OSGBUILD_BASE         "" ON)
OPTION(OSGBUILD_SYSTEM       "" ON)
OPTION(OSGBUILD_STATE        "" ON)
OPTION(OSGBUILD_DRAWABLE     "" ON)
OPTION(OSGBUILD_GROUP        "" ON)
OPTION(OSGBUILD_TEXT         "" ON)
OPTION(OSGBUILD_UTIL         "" ON)
OPTION(OSGBUILD_WINDOW       "" ON)
OPTION(OSGBUILD_EFFECTGROUPS "" ON)
OPTION(OSGBUILD_CLUSTER      "" ON)
OPTION(OSGBUILD_FILEIO       "" ON)
OPTION(OSGBUILD_IMAGEFILEIO  "" ON)
OPTION(OSGBUILD_WINDOWGLUT   "" ON)

IF(UNIX)
    OPTION(OSGBUILD_WINDOWX "" ON)
ENDIF(UNIX)

IF(WIN32)
    OPTION(OSGBUILD_WINDOWWIN32 "" ON)
ENDIF(WIN32)

#OPTION(OSGBUILD_ "" ON)

##################
# Contrib Packages
##################

OPTION(OSGBUILD_BACKGROUNDLOADER    "" ON)
OPTION(OSGBUILD_COMPLEXSCENEMANAGER "" ON)
OPTION(OSGBUILD_LABELLING           "" OFF)
OPTION(OSGBUILD_MANIPULATORS        "" ON)
OPTION(OSGBUILD_PLY                 "" OFF)
OPTION(OSGBUILD_RRT                 "" OFF)
OPTION(OSGBUILD_TRIANGULATOR        "" OFF)
OPTION(OSGBUILD_VTK                 "" ON)
OPTION(OSGBUILD_TESTS               "" ON)
<commit_msg>fixed: changed defaults from my tree to svn<commit_after>CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

PROJECT(OpenSG)

SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${OpenSG_SOURCE_DIR}/CMake")

##########################
# Disallow in-source build
##########################

IF("${OpenSG_SOURCE_DIR}"  STREQUAL "${OpenSG_BINARY_DIR}")
  MESSAGE(FATAL_ERROR "OpenSG requires an out of source Build. \n"
                      "Please create a separate binary directory and run "
                      "CMake there.")
ENDIF("${OpenSG_SOURCE_DIR}"  STREQUAL "${OpenSG_BINARY_DIR}")

OPTION(BUILD_SHARED_LIBS "Set to OFF to build static libraries" ON)

OPTION(OSG_ENABLE_NEW_SHADER "" ON)
OPTION(OSG_ENABLE_OGL2_SHADERFUNCTIONS "" ON)
SET(OSG_SHADER_CACHE_MODE 0 CACHE STRING "")

OPTION(OSG_ENABLE_FCD2CODE "" OFF)
OPTION(OSG_ENABLE_SCANPARSE_REGEN "" OFF)

OPTION(OSG_ENABLE_GLDEFINE_MAPPER "" ON)
OPTION(OSG_ENABLE_NEW_OSB_IO "" ON)

OPTION(OSG_ENABLE_SSE2 "" ON)

OPTION(OSG_ENABLE_TESTCONTAINER "" OFF)
OPTION(OSG_ENABLE_VALGRIND_CHECKS "" OFF)
OPTION(OSG_ENABLE_MEMORY_DEBUGGING "" OFF)

IF(UNIX)
    OPTION(OSG_ENABLE_ELF_LOCALSTORAGE "" ON)
ELSEIF(WIN32)
    OPTION(OSG_ENABLE_WIN_LOCALSTORAGE "" ON)
ENDIF()

OPTION(OSGCOMPAT_ENABLE                  "" OFF)
OPTION(OSGCOMPAT_DISABLE_DEPRECATED      "" ON)
OPTION(OSGCOMPAT_ENABLE_DEPRECATED_PROPS "" OFF)


# Not sure
#OPTION(OSG_ENABLE_MTCPTR "" ON)
#OPTION(OSG_ENABLE_GIF    "" ON)

##################
# System Packages
##################

OPTION(OSGBUILD_BASE         "" ON)
OPTION(OSGBUILD_SYSTEM       "" ON)
OPTION(OSGBUILD_STATE        "" ON)
OPTION(OSGBUILD_DRAWABLE     "" ON)
OPTION(OSGBUILD_GROUP        "" ON)
OPTION(OSGBUILD_TEXT         "" ON)
OPTION(OSGBUILD_UTIL         "" ON)
OPTION(OSGBUILD_WINDOW       "" ON)
OPTION(OSGBUILD_EFFECTGROUPS "" ON)
OPTION(OSGBUILD_CLUSTER      "" ON)
OPTION(OSGBUILD_FILEIO       "" ON)
OPTION(OSGBUILD_IMAGEFILEIO  "" ON)
OPTION(OSGBUILD_WINDOWGLUT   "" ON)

IF(UNIX)
    OPTION(OSGBUILD_WINDOWX "" ON)
ENDIF(UNIX)

IF(WIN32)
    OPTION(OSGBUILD_WINDOWWIN32 "" ON)
ENDIF(WIN32)

#OPTION(OSGBUILD_ "" ON)

##################
# Contrib Packages
##################

OPTION(OSGBUILD_BACKGROUNDLOADER    "" ON)
OPTION(OSGBUILD_COMPLEXSCENEMANAGER "" ON)
OPTION(OSGBUILD_MANIPULATORS        "" ON)
OPTION(OSGBUILD_PLY                 "" OFF)
OPTION(OSGBUILD_VTK                 "" ON)
OPTION(OSGBUILD_TESTS               "" ON)

{'fraction_non_alphanumeric': 0.14987864077669902, 'fraction_numerical': 0.0056634304207119745, 'mean_word_length': 4.4460352422907485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '175137', 'n_tokens_mistral': 1857, 'n_tokens_neox': 1961, 'n_words': 289}