<commit_before>option(ROS "Build against ROS" FALSE)

set(OMPL_MAJOR_VERSION 0)
set(OMPL_MINOR_VERSION 3)
set(OMPL_PATCH_VERSION 0)
set(OMPL_VERSION "${OMPL_MAJOR_VERSION}.${OMPL_MINOR_VERSION}.${OMPL_PATCH_VERSION}")

if(ROS)
	rosbuild_add_boost_directories()
	set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
	
	include(CheckIncludeFileCXX)
	# add ODE extension if ODE found
	CHECK_INCLUDE_FILE_CXX(ode/ode.h ODE_FOUND)
	set(OMPL_EXTENSION_ODE ODE_FOUND)
else(ROS)
	if(NOT OMPLAPP_VERSION)
		cmake_minimum_required(VERSION 2.8)
		project(ompl CXX)
		set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
		include(CompilerSettings)
		find_package(Boost COMPONENTS date_time thread filesystem system REQUIRED)
		include_directories(${Boost_INCLUDE_DIR})
		
		# ODE is only needed for ODE bindings
		find_package(ODE QUIET)
		set(OMPL_EXTENSION_ODE ODE_FOUND)
		if (ODE_FOUND)<commit_msg>bugfix in config.h for defining ODE extension<commit_after>option(ROS "Build against ROS" FALSE)

set(OMPL_MAJOR_VERSION 0)
set(OMPL_MINOR_VERSION 3)
set(OMPL_PATCH_VERSION 0)
set(OMPL_VERSION "${OMPL_MAJOR_VERSION}.${OMPL_MINOR_VERSION}.${OMPL_PATCH_VERSION}")

if(ROS)
	rosbuild_add_boost_directories()
	set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
	
	include(CheckIncludeFileCXX)
	# add ODE extension if ODE found
	CHECK_INCLUDE_FILE_CXX(ode/ode.h ODE_FOUND)
	set(OMPL_EXTENSION_ODE ${ODE_FOUND})
else(ROS)
	if(NOT OMPLAPP_VERSION)
		cmake_minimum_required(VERSION 2.8)
		project(ompl CXX)
		set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules")
		include(CompilerSettings)
		find_package(Boost COMPONENTS date_time thread filesystem system REQUIRED)
		include_directories(${Boost_INCLUDE_DIR})
		
		# ODE is only needed for ODE bindings
		find_package(ODE QUIET)
		set(OMPL_EXTENSION_ODE ${ODE_FOUND})
		if (ODE_FOUND)
{'fraction_non_alphanumeric': 0.09134615384615384, 'fraction_numerical': 0.005341880341880342, 'mean_word_length': 7.919047619047619, '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': '1737978', 'n_tokens_mistral': 813, 'n_tokens_neox': 721, 'n_words': 123}