<commit_before>#=============================================================================
# CMake configuration file for Tracked Vehicle modeling library
#=============================================================================
SET(ENABLE_TRACK_VEHICLE
  FALSE  CACHE  BOOL
  "Turn this ON to generate the Tracked Vehicle modeling unit."
)

# require irrlicht
IF(NOT ENABLE_UNIT_IRRLICHT)
  MESSAGE(WARNING "need irrlicht for GUI input")
  RETURN()
ENDIF()

IF(NOT ENABLE_TRACK_VEHICLE)
  RETURN()
ELSE()
  MESSAGE(STATUS "...enabling Tracked Vehicle library and models. Also creates Chrono_Utils library")
ENDIF()


ADD_SUBDIRECTORY(utils)

cmake_minimum_required(VERSION 2.8)

SET(CT_BASE_FILES
subsys/ChApiSubsys.h
subsys/base/ChTrackVehicle.h
subsys/base/ChTrackVehicle.cpp
subsys/base/ChDriverTrack.h
subsys/base/ChDriverTrack.cpp
)

SET(CT_VEHICLE_FILES
subsys/trackVehicle/TrackVehicle.h
subsys/trackVehicle/TrackVehicle.cpp
subsys/trackVehicle/DriveChain.h
subsys/trackVehicle/DriveChain.cpp
subsys/trackVehicle/LoopChain.h
subsys/trackVehicle/LoopChain.cpp
subsys/trackVehicle/TrackSoilBin.h
subsys/trackVehicle/TrackSoilBin.cpp
)

SET(CT_SUSPENSION_FILES
subsys/suspension/TorsionArmSuspension.h
subsys/suspension/TorsionArmSuspension.cpp
)

SET(CT_IDLER_FILES
subsys/idler/IdlerSimple.h
subsys/idler/IdlerSimple.cpp
subsys/idler/SupportRoller.h
subsys/idler/SupportRoller.cpp
)

SET(CT_DRIVER_FILES
subsys/driver/ChIrrGuiTrack.h
subsys/driver/ChIrrGuiTrack.cpp
subsys/driver/Track_FuncDriver.h
subsys/driver/Track_FuncDriver.cpp
)

SET(CT_DRIVEGEAR_FILES
subsys/driveGear/DriveGear.h
subsys/driveGear/DriveGear.cpp
)

SET(CT_CHAIN_FILES
subsys/trackChain/TrackChain.h
subsys/trackChain/TrackChain.cpp
)

SET(CT_TRACKSYSTEM_FILES
subsys/trackSystem/TrackSystem.h
subsys/trackSystem/TrackSystem.cpp
)

SET(CH_POWERTRAIN_FILES
subsys/powertrain/TrackPowerTrain.h
subsys/powertrain/TrackPowerTrain.cpp
)

SET(CH_DRIVELINE_FILES
subsys/driveline/TrackDriveline.h
subsys/driveline/TrackDriveline.cpp
subsys/driveline/TrackDriveline_1WD.h
subsys/driveline/TrackDriveline_1WD.cpp
)


SOURCE_GROUP("base" FILES ${CT_BASE_FILES})
SOURCE_GROUP("vehicle" FILES ${CT_VEHICLE_FILES})
SOURCE_GROUP("suspension" FILES ${CT_SUSPENSION_FILES})
SOURCE_GROUP("idler" FILES ${CT_IDLER_FILES})
SOURCE_GROUP("driver" FILES ${CT_DRIVER_FILES})
SOURCE_GROUP("driveGear" FILES ${CT_DRIVEGEAR_FILES})
SOURCE_GROUP("chain" FILES ${CT_CHAIN_FILES})
SOURCE_GROUP("trackSystem" FILES ${CT_TRACKSYSTEM_FILES})
SOURCE_GROUP("powertrain" FILES ${CH_POWERTRAIN_FILES})
SOURCE_GROUP("driveline" FILES ${CH_DRIVELINE_FILES})

# ------------------------------------------------------------------------------
# Add the ChronoTrackVehicle library
ADD_LIBRARY(TrackVehicle SHARED 
			${CT_BASE_FILES}
			${CT_VEHICLE_FILES}
			${CT_SUSPENSION_FILES}<commit_msg>Fix case in filenames (important on case sensitive OS)<commit_after>#=============================================================================
# CMake configuration file for Tracked Vehicle modeling library
#=============================================================================
SET(ENABLE_TRACK_VEHICLE
  FALSE  CACHE  BOOL
  "Turn this ON to generate the Tracked Vehicle modeling unit."
)

# require irrlicht
IF(NOT ENABLE_UNIT_IRRLICHT)
  MESSAGE(WARNING "need irrlicht for GUI input")
  RETURN()
ENDIF()

IF(NOT ENABLE_TRACK_VEHICLE)
  RETURN()
ELSE()
  MESSAGE(STATUS "...enabling Tracked Vehicle library and models. Also creates Chrono_Utils library")
ENDIF()


ADD_SUBDIRECTORY(utils)

cmake_minimum_required(VERSION 2.8)

SET(CT_BASE_FILES
subsys/ChApiSubsys.h
subsys/base/ChTrackVehicle.h
subsys/base/ChTrackVehicle.cpp
subsys/base/ChDriverTrack.h
subsys/base/ChDriverTrack.cpp
)

SET(CT_VEHICLE_FILES
subsys/trackVehicle/TrackVehicle.h
subsys/trackVehicle/TrackVehicle.cpp
subsys/trackVehicle/DriveChain.h
subsys/trackVehicle/DriveChain.cpp
subsys/trackVehicle/LoopChain.h
subsys/trackVehicle/LoopChain.cpp
subsys/trackVehicle/TrackSoilBin.h
subsys/trackVehicle/TrackSoilBin.cpp
)

SET(CT_SUSPENSION_FILES
subsys/suspension/TorsionArmSuspension.h
subsys/suspension/TorsionArmSuspension.cpp
)

SET(CT_IDLER_FILES
subsys/idler/IdlerSimple.h
subsys/idler/IdlerSimple.cpp
subsys/idler/SupportRoller.h
subsys/idler/SupportRoller.cpp
)

SET(CT_DRIVER_FILES
subsys/driver/ChIrrGuiTrack.h
subsys/driver/ChIrrGuiTrack.cpp
subsys/driver/Track_FuncDriver.h
subsys/driver/Track_FuncDriver.cpp
)

SET(CT_DRIVEGEAR_FILES
subsys/driveGear/DriveGear.h
subsys/driveGear/DriveGear.cpp
)

SET(CT_CHAIN_FILES
subsys/trackChain/TrackChain.h
subsys/trackChain/TrackChain.cpp
)

SET(CT_TRACKSYSTEM_FILES
subsys/trackSystem/TrackSystem.h
subsys/trackSystem/TrackSystem.cpp
)

SET(CH_POWERTRAIN_FILES
subsys/powertrain/TrackPowertrain.h
subsys/powertrain/TrackPowertrain.cpp
)

SET(CH_DRIVELINE_FILES
subsys/driveline/TrackDriveline.h
subsys/driveline/TrackDriveline.cpp
subsys/driveline/TrackDriveline_1WD.h
subsys/driveline/TrackDriveline_1WD.cpp
)


SOURCE_GROUP("base" FILES ${CT_BASE_FILES})
SOURCE_GROUP("vehicle" FILES ${CT_VEHICLE_FILES})
SOURCE_GROUP("suspension" FILES ${CT_SUSPENSION_FILES})
SOURCE_GROUP("idler" FILES ${CT_IDLER_FILES})
SOURCE_GROUP("driver" FILES ${CT_DRIVER_FILES})
SOURCE_GROUP("driveGear" FILES ${CT_DRIVEGEAR_FILES})
SOURCE_GROUP("chain" FILES ${CT_CHAIN_FILES})
SOURCE_GROUP("trackSystem" FILES ${CT_TRACKSYSTEM_FILES})
SOURCE_GROUP("powertrain" FILES ${CH_POWERTRAIN_FILES})
SOURCE_GROUP("driveline" FILES ${CH_DRIVELINE_FILES})

# ------------------------------------------------------------------------------
# Add the ChronoTrackVehicle library
ADD_LIBRARY(TrackVehicle SHARED 
			${CT_BASE_FILES}
			${CT_VEHICLE_FILES}
			${CT_SUSPENSION_FILES}
{'fraction_non_alphanumeric': 0.16850201013808774, 'fraction_numerical': 0.0013983569306065373, 'mean_word_length': 6.364221364221364, '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': '5092419', 'n_tokens_mistral': 2165, 'n_tokens_neox': 2084, 'n_words': 283}