include_directories("../../CoreLib")
include_directories("../../FeatureLib")
include_directories("../../NucleusLib/inc")
include_directories("../../NucleusLib")
include_directories("../../PubUtilLib")

include_directories(${OPENAL_INCLUDE_DIR})

set(plAvatar_SOURCES
    plAGAnim.cpp
    plAGAnimInstance.cpp
    plAGApplicator.cpp
    plAGChannel.cpp
    plAGMasterMod.cpp
    plAGMasterSDLModifier.cpp
    plAGModifier.cpp
    plAnimStage.cpp
    plAntiGravAction.cpp
    plArmatureEffects.cpp
    plArmatureMod.cpp
    plAvatarClothing.cpp
    plAvatarMgr.cpp
    plAvatarSDLModifier.cpp
    plAvatarTasks.cpp
    plAvBehaviors.cpp
    plAvBrain.cpp
    plAvBrainClimb.cpp
    plAvBrainCoop.cpp
    plAvBrainCritter.cpp
    plAvBrainDrive.cpp
    plAvBrainGeneric.cpp
    plAvBrainHuman.cpp
    plAvBrainRideAnimatedPhysical.cpp
    plAvBrainSwim.cpp
    plAvCallbackAction.cpp
    plAvLadderModifier.cpp
    plAvTaskBrain.cpp
    plAvTaskSeek.cpp
    plClothingSDLModifier.cpp
    plCoopCoordinator.cpp
    plMatrixChannel.cpp
    plMultistageBehMod.cpp
    plNPCSpawnMod.cpp
    plOneShotMod.cpp
    plPhysicalControllerCore.cpp
    plPointChannel.cpp
    plQuatChannel.cpp
    plScalarChannel.cpp
    plSeekPointMod.cpp
    plSittingModifier.cpp
    plSwimRegion.cpp
)

set(plAvatar_HEADERS
    plAGAnim.h
    plAGAnimInstance.h
    plAGApplicator.h
    plAGChannel.h
    plAGMasterMod.h
    plAGMasterSDLModifier.h
    plAGModifier.h
    plAnimStage.h
    plAntiGravAction.h
    plArmatureEffects.h
    plArmatureMod.h
    plAvatarClothing.h
    plAvatarCreatable.h
    plAvatarMgr.h
    plAvatarSDLModifier.h
    plAvatarTasks.h
    plAvBehaviors.h
    plAvBrain.h
    plAvBrainClimb.h
    plAvBrainCoop.h
    plAvBrainCritter.h
    plAvBrainDrive.h
    plAvBrainGeneric.h
    plAvBrainHuman.h
    plAvBrainRideAnimatedPhysical.h
    plAvBrainSwim.h
    plAvCallbackAction.h
    plAvDefs.h
    plAvLadderModifier.h
    plAvTask.h
    plAvTaskBrain.h
    plAvTaskSeek.h
    plClothingLayout.h
    plClothingSDLModifier.h
    plCoopCoordinator.h
    plCritterCommands.h
    plMatrixChannel.h
    plMultistageBehMod.h
    plNPCSpawnMod.h
    plOneShotMod.h
    plPhysicalControllerCore.h
    plPointChannel.h
    plQuatChannel.h
    plScalarChannel.h
    plSeekPointMod.h
    plSittingModifier.h
    plSwimRegion.h
)

add_library(plAvatar STATIC ${plAvatar_SOURCES} ${plAvatar_HEADERS})

source_group("Source Files" FILES ${plAvatar_SOURCES})
source_group("Header Files" FILES ${plAvatar_HEADERS})
