<commit_before># Embedded build for LuaBind
# 2009-2010 <NAME> <<EMAIL>>
# http://academic.cleardefinition.com/
# Iowa State University HCI Graduate Program/VRAC

set(LUABIND_SRCS
	class.cpp
	class_info.cpp
	class_registry.cpp
	class_rep.cpp
	create_class.cpp
	error.cpp
	exception_handler.cpp
	function.cpp
	inheritance.cpp
	link_compatibility.cpp
	object_rep.cpp
	open.cpp
	pcall.cpp
	scope.cpp
	stack_content_by_name.cpp
	weak_ref.cpp
	wrapper_base.cpp)

set(LUABIND_API
	../luabind/adopt_policy.hpp
	../luabind/back_reference_fwd.hpp
	../luabind/back_reference.hpp
	../luabind/class.hpp
	../luabind/class_info.hpp
	../luabind/config.hpp
	../luabind/container_policy.hpp
	../luabind/copy_policy.hpp
	../luabind/dependency_policy.hpp
	../luabind/discard_result_policy.hpp
	../luabind/error.hpp
	../luabind/exception_handler.hpp
	../luabind/from_stack.hpp
	../luabind/function.hpp
	../luabind/get_main_thread.hpp
	../luabind/get_pointer.hpp
	../luabind/handle.hpp
	../luabind/iterator_policy.hpp
	../luabind/luabind.hpp
	../luabind/lua_state_fwd.hpp
	../luabind/lua_include.hpp
	../luabind/make_function.hpp
	../luabind/nil.hpp
	../luabind/no_dependency.hpp
	../luabind/object.hpp
	../luabind/open.hpp
	../luabind/operator.hpp
	../luabind/out_value_policy.hpp
	../luabind/prefix.hpp
	../luabind/raw_policy.hpp
	../luabind/return_reference_to_policy.hpp
	../luabind/scope.hpp
	../luabind/shared_ptr_converter.hpp
	../luabind/tag_function.hpp
	../luabind/typeid.hpp
	../luabind/value_wrapper.hpp
	../luabind/version.hpp
	../luabind/weak_ref.hpp
	../luabind/wrapper_base.hpp
	../luabind/yield_policy.hpp)

set(LUABIND_DETAIL_API
	../luabind/detail/call_function.hpp
	../luabind/detail/call.hpp
	../luabind/detail/call_member.hpp
	../luabind/detail/call_operator_iterate.hpp
	../luabind/detail/class_registry.hpp
	../luabind/detail/class_rep.hpp
	../luabind/detail/constructor.hpp
	../luabind/detail/conversion_storage.hpp
	../luabind/detail/convert_to_lua.hpp
	../luabind/detail/debug.hpp
	../luabind/detail/decorate_type.hpp
	../luabind/detail/deduce_signature.hpp
	../luabind/detail/enum_maker.hpp
	../luabind/detail/format_signature.hpp
	../luabind/detail/garbage_collector.hpp
	../luabind/detail/has_get_pointer.hpp
	../luabind/detail/inheritance.hpp
	../luabind/detail/instance_holder.hpp
	../luabind/detail/link_compatibility.hpp
	../luabind/detail/make_instance.hpp
	../luabind/detail/most_derived.hpp
	../luabind/detail/object_call.hpp
	../luabind/detail/object_rep.hpp
	../luabind/detail/open.hpp
	../luabind/detail/operator_id.hpp
	../luabind/detail/other.hpp
	../luabind/detail/pcall.hpp
	../luabind/detail/pointee_sizeof.hpp
	../luabind/detail/pointee_typeid.hpp
	../luabind/detail/policy.hpp
	../luabind/detail/primitives.hpp
	../luabind/detail/property.hpp
	../luabind/detail/ref.hpp
	../luabind/detail/signature_match.hpp
	../luabind/detail/stack_utils.hpp
	../luabind/detail/typetraits.hpp
	../luabind/detail/yes_no.hpp)

set(LUABIND_EXTRA_LIBS)
if(MSVC)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251")
elseif(CMAKE_COMPILER_IS_GNUCXX)
	list(APPEND LUABIND_EXTRA_LIBS m)
endif()

add_library(luabind ${LUABIND_SRCS})
target_link_libraries(luabind ${LUA_LIBRARIES} ${LUABIND_EXTRA_LIBS})<commit_msg>improve display of sources in IDE<commit_after># Embedded build for LuaBind
# 2009-2010 <NAME> <<EMAIL>>
# http://academic.cleardefinition.com/
# Iowa State University HCI Graduate Program/VRAC

set(LUABIND_SRCS
	class.cpp
	class_info.cpp
	class_registry.cpp
	class_rep.cpp
	create_class.cpp
	error.cpp
	exception_handler.cpp
	function.cpp
	inheritance.cpp
	link_compatibility.cpp
	object_rep.cpp
	open.cpp
	pcall.cpp
	scope.cpp
	stack_content_by_name.cpp
	weak_ref.cpp
	wrapper_base.cpp)

set(LUABIND_API
	../luabind/adopt_policy.hpp
	../luabind/back_reference_fwd.hpp
	../luabind/back_reference.hpp
	../luabind/class.hpp
	../luabind/class_info.hpp
	../luabind/config.hpp
	../luabind/container_policy.hpp
	../luabind/copy_policy.hpp
	../luabind/dependency_policy.hpp
	../luabind/discard_result_policy.hpp
	../luabind/error.hpp
	../luabind/exception_handler.hpp
	../luabind/from_stack.hpp
	../luabind/function.hpp
	../luabind/get_main_thread.hpp
	../luabind/get_pointer.hpp
	../luabind/handle.hpp
	../luabind/iterator_policy.hpp
	../luabind/luabind.hpp
	../luabind/lua_state_fwd.hpp
	../luabind/lua_include.hpp
	../luabind/make_function.hpp
	../luabind/nil.hpp
	../luabind/no_dependency.hpp
	../luabind/object.hpp
	../luabind/open.hpp
	../luabind/operator.hpp
	../luabind/out_value_policy.hpp
	../luabind/prefix.hpp
	../luabind/raw_policy.hpp
	../luabind/return_reference_to_policy.hpp
	../luabind/scope.hpp
	../luabind/shared_ptr_converter.hpp
	../luabind/tag_function.hpp
	../luabind/typeid.hpp
	../luabind/value_wrapper.hpp
	../luabind/version.hpp
	../luabind/weak_ref.hpp
	../luabind/wrapper_base.hpp
	../luabind/yield_policy.hpp)
source_group(API FILES ${LUABIND_API})

set(LUABIND_DETAIL_API
	../luabind/detail/call_function.hpp
	../luabind/detail/call.hpp
	../luabind/detail/call_member.hpp
	../luabind/detail/call_operator_iterate.hpp
	../luabind/detail/class_registry.hpp
	../luabind/detail/class_rep.hpp
	../luabind/detail/constructor.hpp
	../luabind/detail/conversion_storage.hpp
	../luabind/detail/convert_to_lua.hpp
	../luabind/detail/debug.hpp
	../luabind/detail/decorate_type.hpp
	../luabind/detail/deduce_signature.hpp
	../luabind/detail/enum_maker.hpp
	../luabind/detail/format_signature.hpp
	../luabind/detail/garbage_collector.hpp
	../luabind/detail/has_get_pointer.hpp
	../luabind/detail/inheritance.hpp
	../luabind/detail/instance_holder.hpp
	../luabind/detail/link_compatibility.hpp
	../luabind/detail/make_instance.hpp
	../luabind/detail/most_derived.hpp
	../luabind/detail/object_call.hpp
	../luabind/detail/object_rep.hpp
	../luabind/detail/open.hpp
	../luabind/detail/operator_id.hpp
	../luabind/detail/other.hpp
	../luabind/detail/pcall.hpp
	../luabind/detail/pointee_sizeof.hpp
	../luabind/detail/pointee_typeid.hpp
	../luabind/detail/policy.hpp
	../luabind/detail/primitives.hpp
	../luabind/detail/property.hpp
	../luabind/detail/ref.hpp
	../luabind/detail/signature_match.hpp
	../luabind/detail/stack_utils.hpp
	../luabind/detail/typetraits.hpp
	../luabind/detail/yes_no.hpp)
source_group(Internal FILES ${LUABIND_DETAIL_API})

set(LUABIND_EXTRA_LIBS)
if(MSVC)
	set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4251")
elseif(CMAKE_COMPILER_IS_GNUCXX)
	list(APPEND LUABIND_EXTRA_LIBS m)
endif()

add_library(luabind ${LUABIND_SRCS} ${LUABIND_API} ${LUABIND_DETAIL_API})
target_link_libraries(luabind ${LUA_LIBRARIES} ${LUABIND_EXTRA_LIBS})
{'fraction_non_alphanumeric': 0.15356545537479094, 'fraction_numerical': 0.0036490801277178045, 'mean_word_length': 3.8084795321637426, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5067214', 'n_tokens_mistral': 2765, 'n_tokens_neox': 2693, 'n_words': 266}