<commit_before>#=============================================================================
# CMake configuration file for the Chrono_Subsys library
#=============================================================================

# ------------------------------------------------------------------------------
# LIST THE FILES in the Chrono_Subsys LIBRARY
# ------------------------------------------------------------------------------

SET(Chrono_Subsys_FILES
    ChApiSubsys.h
    ChDriver.h
    ChDriver.cpp
    ChPowertrain.h
    ChPowertrain.cpp
    ChDriveline.h
    ChDriveline.cpp
    ChSuspension.h
    ChSuspension.cpp
    ChSteering.h
    ChSteering.cpp
    ChVehicle.h
    ChVehicle.cpp
    ChWheel.h
    ChWheel.cpp
    ChTire.h
    ChTire.cpp
    ChTerrain.h
    ChTerrain.cpp
    ChBrake.h
    ChBrake.cpp
)


SET(Chrono_Susp_FILES
    suspension/ChDoubleWishbone.h
    suspension/ChDoubleWishbone.cpp
    suspension/ChDoubleWishboneReduced.h
    suspension/ChDoubleWishboneReduced.cpp
    suspension/ChSolidAxle.h
    suspension/ChSolidAxle.cpp

    suspension/DoubleWishbone.h
    suspension/DoubleWishbone.cpp
)

SET(Chrono_Wheel_FILES
    wheel/Wheel.h
    wheel/Wheel.cpp
)

SET(Chrono_Steering_FILES
    steering/ChPitmanArm.h
    steering/ChPitmanArm.cpp

    steering/PitmanArm.h
    steering/PitmanArm.cpp
)

SET(Chrono_Driveline_FILES
    driveline/ChShaftsDriveline2WD.h
    driveline/ChShaftsDriveline2WD.cpp
    driveline/ChShaftsDriveline4WD.h
    driveline/ChShaftsDriveline4WD.cpp

    driveline/ShaftsDriveline2WD.h
    driveline/ShaftsDriveline2WD.cpp
)

SET(Chrono_Driver_FILES
    driver/ChDataDriver.h
    driver/ChDataDriver.cpp
)

SET(Chrono_Powertrain_FILES
    powertrain/ChSimplePowertrain.h
    powertrain/ChSimplePowertrain.cpp
    powertrain/ChShaftsPowertrain.h
    powertrain/ChShaftsPowertrain.cpp
)

SET(Chrono_Tire_FILES
    tire/ChRigidTire.h
    tire/ChRigidTire.cpp
    tire/ChPacejkaTire.h
    tire/ChPacejkaTire.cpp
    tire/ChLugreTire.h
    tire/ChLugreTire.cpp
)

SET(Chrono_Brake_FILES
    brake/ChBrakeSimple.h
    brake/ChBrakeSimple.cpp

    brake/BrakeSimple.h
    brake/BrakeSimple.cpp
)

SET(Chrono_terrain_FILES
	terrain/FlatTerrain.h
	terrain/FlatTerrain.cpp
)

IF (ENABLE_IRRLICHT)
    SET(Chrono_Driver_FILES ${Chrono_Driver_FILES}
        driver/ChIrrGuiDriver.h
        driver/ChIrrGuiDriver.cpp
    )

    # On Windows, disable warning C4275 
    IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
        SET(CH_BUILDFLAGS "${CH_BUILDFLAGS} /wd4275")
    ENDIF()
ENDIF()

SOURCE_GROUP("base" FILES ${Chrono_Subsys_FILES})
SOURCE_GROUP("suspension" FILES ${Chrono_Susp_FILES})
SOURCE_GROUP("wheel" FILES ${Chrono_Wheel_FILES})
SOURCE_GROUP("steering" FILES ${Chrono_Steering_FILES})
SOURCE_GROUP("driveline" FILES ${Chrono_Driveline_FILES})
SOURCE_GROUP("driver" FILES ${Chrono_Driver_FILES})
SOURCE_GROUP("powertrain" FILES ${Chrono_Powertrain_FILES})
SOURCE_GROUP("tire" FILES ${Chrono_Tire_FILES})
SOURCE_GROUP("brake" FILES ${Chrono_Brake_FILES})
SOURCE_GROUP("terrain" FILES ${Chrono_terrain_FILES})

# ------------------------------------------------------------------------------
# ADD THE Chrono_Subsys LIBRARY
# ------------------------------------------------------------------------------

ADD_LIBRARY(Chrono_Subsys SHARED<commit_msg>Add files for RigidTerrain to CMakeLists.<commit_after>#=============================================================================
# CMake configuration file for the Chrono_Subsys library
#=============================================================================

# ------------------------------------------------------------------------------
# LIST THE FILES in the Chrono_Subsys LIBRARY
# ------------------------------------------------------------------------------

SET(Chrono_Subsys_FILES
    ChApiSubsys.h
    ChDriver.h
    ChDriver.cpp
    ChPowertrain.h
    ChPowertrain.cpp
    ChDriveline.h
    ChDriveline.cpp
    ChSuspension.h
    ChSuspension.cpp
    ChSteering.h
    ChSteering.cpp
    ChVehicle.h
    ChVehicle.cpp
    ChWheel.h
    ChWheel.cpp
    ChTire.h
    ChTire.cpp
    ChTerrain.h
    ChTerrain.cpp
    ChBrake.h
    ChBrake.cpp
)


SET(Chrono_Susp_FILES
    suspension/ChDoubleWishbone.h
    suspension/ChDoubleWishbone.cpp
    suspension/ChDoubleWishboneReduced.h
    suspension/ChDoubleWishboneReduced.cpp
    suspension/ChSolidAxle.h
    suspension/ChSolidAxle.cpp

    suspension/DoubleWishbone.h
    suspension/DoubleWishbone.cpp
)

SET(Chrono_Wheel_FILES
    wheel/Wheel.h
    wheel/Wheel.cpp
)

SET(Chrono_Steering_FILES
    steering/ChPitmanArm.h
    steering/ChPitmanArm.cpp

    steering/PitmanArm.h
    steering/PitmanArm.cpp
)

SET(Chrono_Driveline_FILES
    driveline/ChShaftsDriveline2WD.h
    driveline/ChShaftsDriveline2WD.cpp
    driveline/ChShaftsDriveline4WD.h
    driveline/ChShaftsDriveline4WD.cpp

    driveline/ShaftsDriveline2WD.h
    driveline/ShaftsDriveline2WD.cpp
)

SET(Chrono_Driver_FILES
    driver/ChDataDriver.h
    driver/ChDataDriver.cpp
)

SET(Chrono_Powertrain_FILES
    powertrain/ChSimplePowertrain.h
    powertrain/ChSimplePowertrain.cpp
    powertrain/ChShaftsPowertrain.h
    powertrain/ChShaftsPowertrain.cpp
)

SET(Chrono_Tire_FILES
    tire/ChRigidTire.h
    tire/ChRigidTire.cpp
    tire/ChPacejkaTire.h
    tire/ChPacejkaTire.cpp
    tire/ChLugreTire.h
    tire/ChLugreTire.cpp
)

SET(Chrono_Brake_FILES
    brake/ChBrakeSimple.h
    brake/ChBrakeSimple.cpp

    brake/BrakeSimple.h
    brake/BrakeSimple.cpp
)

SET(Chrono_terrain_FILES
    terrain/FlatTerrain.h
    terrain/FlatTerrain.cpp
    terrain/RigidTerrain.h
    terrain/RigidTerrain.cpp
)

IF (ENABLE_IRRLICHT)
    SET(Chrono_Driver_FILES ${Chrono_Driver_FILES}
        driver/ChIrrGuiDriver.h
        driver/ChIrrGuiDriver.cpp
    )

    # On Windows, disable warning C4275 
    IF(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
        SET(CH_BUILDFLAGS "${CH_BUILDFLAGS} /wd4275")
    ENDIF()
ENDIF()

SOURCE_GROUP("base" FILES ${Chrono_Subsys_FILES})
SOURCE_GROUP("suspension" FILES ${Chrono_Susp_FILES})
SOURCE_GROUP("wheel" FILES ${Chrono_Wheel_FILES})
SOURCE_GROUP("steering" FILES ${Chrono_Steering_FILES})
SOURCE_GROUP("driveline" FILES ${Chrono_Driveline_FILES})
SOURCE_GROUP("driver" FILES ${Chrono_Driver_FILES})
SOURCE_GROUP("powertrain" FILES ${Chrono_Powertrain_FILES})
SOURCE_GROUP("tire" FILES ${Chrono_Tire_FILES})
SOURCE_GROUP("brake" FILES ${Chrono_Brake_FILES})
SOURCE_GROUP("terrain" FILES ${Chrono_terrain_FILES})

# ------------------------------------------------------------------------------
# ADD THE Chrono_Subsys LIBRARY
# ------------------------------------------------------------------------------

ADD_LIBRARY(Chrono_Subsys SHARED
{'fraction_non_alphanumeric': 0.20873063170441, 'fraction_numerical': 0.004171632896305125, 'mean_word_length': 2.7905138339920947, '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': '1165563', 'n_tokens_mistral': 2446, 'n_tokens_neox': 2414, 'n_words': 284}