<commit_before># urdf_parser
project( urdf_parser )

message( STATUS "Creating urdf parser" )

# Boost
find_package(Boost REQUIRED system)
include_directories(${Boost_INCLUDE_DIR})

include_directories ( . 
		../urdfdom_headers 
		.. )

# Search all header and source files
file( GLOB urdfdom_model_srcs pose.cpp model.cpp link.cpp joint.cpp world.cpp )
file( GLOB urdfdom_model_hdrs urdf_parser.h )
file( GLOB urdfdom_sensor_srcs urdf_sensor.cpp )
file( GLOB urdf_model_state_srcs urdf_model_state.cpp twist.cpp )

# Add Libraries

#-- urdfdom_model
add_library(urdfdom_model SHARED ${urdfdom_model_srcs} ${urdfdom_model_hdrs} )
target_link_libraries(urdfdom_model tinyxml ${Boost_LIBRARIES} )

set_target_properties (urdfdom_model PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
set_target_properties (urdfdom_model PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
  install (FILES ${urdfdom_model_hdrs} DESTINATION include/dart/Parser/urdf_parser )
  install (TARGETS urdfdom_model  DESTINATION lib)

#-- urdfdom_sensor
add_library(urdfdom_sensor SHARED ${urdfdom_sensor_srcs})
target_link_libraries(urdfdom_sensor ${Boost_LIBRARIES})

set_target_properties (urdfdom_sensor  PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
set_target_properties (urdfdom_sensor PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
  install (TARGETS urdfdom_sensor LIBRARY DESTINATION lib)

#-- urdfdom_model_state
add_library(urdfdom_model_state SHARED ${urdf_model_state_srcs} )
target_link_libraries(urdfdom_model_state  ${Boost_LIBRARIES})

set_target_properties (urdfdom_model_state PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
set_target_properties (urdfdom_model_state PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
  install (FILES ${urdf_model_state_srcs} DESTINATION include/dart/Parser/urdf_parser )
  install (TARGETS urdfdom_model_state LIBRARY DESTINATION lib)<commit_msg>More Parser fixes CMake<commit_after># urdf_parser
project( urdf_parser )

message( STATUS "Creating urdf parser" )

# Boost
find_package(Boost REQUIRED system)
include_directories(${Boost_INCLUDE_DIR})

include_directories ( . 
		../urdfdom_headers 
		.. )

# Search all header and source files
file( GLOB urdfdom_model_srcs pose.cpp model.cpp link.cpp joint.cpp world.cpp )
file( GLOB urdfdom_model_hdrs urdf_parser.h )
file( GLOB urdfdom_sensor_srcs urdf_sensor.cpp )
file( GLOB urdf_model_state_srcs urdf_model_state.cpp twist.cpp )

# Add Libraries

#-- urdfdom_model
add_library(urdfdom_model SHARED ${urdfdom_model_srcs} ${urdfdom_model_hdrs} )
target_link_libraries(urdfdom_model tinyxml ${Boost_LIBRARIES} )

set_target_properties (urdfdom_model PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
set_target_properties (urdfdom_model PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
  install (FILES ${urdfdom_model_hdrs} DESTINATION include/dart/Parser/urdf_parser )
  install (TARGETS urdfdom_model  DESTINATION lib)

#-- urdfdom_sensor
add_library(urdfdom_sensor SHARED ${urdfdom_sensor_srcs})
target_link_libraries(urdfdom_sensor ${Boost_LIBRARIES})

set_target_properties (urdfdom_sensor  PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
set_target_properties (urdfdom_sensor PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
  install (TARGETS urdfdom_sensor DESTINATION lib)

#-- urdfdom_model_state
add_library(urdfdom_model_state SHARED ${urdf_model_state_srcs} )
target_link_libraries(urdfdom_model_state  ${Boost_LIBRARIES})

set_target_properties (urdfdom_model_state PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
set_target_properties (urdfdom_model_state PROPERTIES ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}/lib")
  install (FILES ${urdf_model_state_srcs} DESTINATION include/dart/Parser/urdf_parser )
  install (TARGETS urdfdom_model_state DESTINATION lib)
{'fraction_non_alphanumeric': 0.0802248339294839, 'fraction_numerical': 0.0, 'mean_word_length': 8.50242718446602, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5618661', 'n_tokens_mistral': 1459, 'n_tokens_neox': 1416, 'n_words': 244}