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

include_directories(${OPENAL_INCLUDE_DIR})

set(plPhysical_SOURCES
    plCollisionDetector.cpp
    plPhysicalProxy.cpp
    plPhysicalSDLModifier.cpp
    plPhysicalSndGroup.cpp
    plPhysicsSoundMgr.cpp
    plPickingDetector.cpp
)

set(plPhysical_HEADERS
    plCollisionDetector.h
    plDetectorModifier.h
    plPhysicalCreatable.h
    plPhysicalProxy.h
    plPhysicalSDLModifier.h
    plPhysicalSndGroup.h
    plPhysicsSoundMgr.h
    plPickingDetector.h
    plSimDefs.h
)

add_library(plPhysical STATIC ${plPhysical_SOURCES} ${plPhysical_HEADERS})

source_group("Source Files" FILES ${plPhysical_SOURCES})
source_group("Header Files" FILES ${plPhysical_HEADERS})