Zrax
14 years ago
42 changed files with 267 additions and 84 deletions
@ -0,0 +1,23 @@ |
|||||||
|
add_definitions(-D_LIB) |
||||||
|
|
||||||
|
add_subdirectory(plAgeDescription) |
||||||
|
add_subdirectory(plAgeLoader) |
||||||
|
add_subdirectory(plAudible) |
||||||
|
#add_subdirectory(plAudio) # TODO: DirectX |
||||||
|
#add_subdirectory(plAudioCore) # TODO: DirectX |
||||||
|
add_subdirectory(plAvatar) |
||||||
|
add_subdirectory(plCompression) |
||||||
|
add_subdirectory(plContainer) |
||||||
|
#add_subdirectory(plDeviceSelector) # Not being used by any current slns |
||||||
|
add_subdirectory(plDrawable) |
||||||
|
add_subdirectory(plEncryption) |
||||||
|
add_subdirectory(plFile) |
||||||
|
#add_subdirectory(plGClip) # Not being used by any current slns |
||||||
|
#add_subdirectory(plGeometry) # Not being used by any current slns |
||||||
|
#add_subdirectory(plGImage) |
||||||
|
add_subdirectory(plGLight) |
||||||
|
#add_subdirectory(plGRenderProcs) # Not being used by any current slns |
||||||
|
#add_subdirectory(plInputCore) # TODO: DirectX |
||||||
|
add_subdirectory(plInterp) |
||||||
|
add_subdirectory(plIntersect) |
||||||
|
add_subdirectory(plJPEG) |
@ -0,0 +1,41 @@ |
|||||||
|
include_directories("../../CoreLib") |
||||||
|
include_directories("../../NucleusLib") |
||||||
|
include_directories("../../PubUtilLib") |
||||||
|
|
||||||
|
include_directories(${ZLIB_INCLUDE_DIR}) |
||||||
|
|
||||||
|
set(plFile_SOURCES |
||||||
|
hsFiles.cpp |
||||||
|
plBrowseFolder.cpp |
||||||
|
plEncryptedStream.cpp |
||||||
|
plFileUtils.cpp |
||||||
|
plInitFileReader.cpp |
||||||
|
plSecureStream.cpp |
||||||
|
plStreamSource.cpp |
||||||
|
) |
||||||
|
|
||||||
|
if(WIN32) |
||||||
|
set(plFile_SOURCES ${plFile_SOURCES} hsFiles_Win.cpp) |
||||||
|
elseif(APPLE) |
||||||
|
set(plFile_SOURCES "${plFile_SOURCES} hsFiles_Mac.cpp") |
||||||
|
#elseif(PS2) |
||||||
|
# set(plFile_SOURCES "${plFile_SOURCES} hsFiles_PS2.cpp") |
||||||
|
else(WIN32) |
||||||
|
set(plFile_SOURCES "${plFile_SOURCES} hsFiles_Unix.cpp") |
||||||
|
endif(WIN32) |
||||||
|
|
||||||
|
set(plFile_HEADERS |
||||||
|
hsFiles.h |
||||||
|
plBrowseFolder.h |
||||||
|
plEncryptedStream.h |
||||||
|
plFileUtils.h |
||||||
|
plInitFileReader.h |
||||||
|
plSecureStream.h |
||||||
|
plStreamSource.h |
||||||
|
) |
||||||
|
|
||||||
|
add_library(plFile STATIC ${plFile_SOURCES} ${plFile_HEADERS}) |
||||||
|
target_link_libraries(plFile ${ZLIB_LIBRARIES}) |
||||||
|
|
||||||
|
source_group("Source Files" FILES ${plFile_SOURCES}) |
||||||
|
source_group("Header Files" FILES ${plFile_HEADERS}) |
@ -0,0 +1,37 @@ |
|||||||
|
include_directories("../../CoreLib") |
||||||
|
include_directories("../../NucleusLib/inc") |
||||||
|
include_directories("../../NucleusLib") |
||||||
|
include_directories("../../PubUtilLib") |
||||||
|
|
||||||
|
include_directories(${OPENSSL_INCLUDE_DIR}) |
||||||
|
|
||||||
|
set(plGLight_SOURCES |
||||||
|
plDirectShadowMaster.cpp |
||||||
|
plLightInfo.cpp |
||||||
|
plLightProxy.cpp |
||||||
|
plLightSpace.cpp |
||||||
|
plPerspDirSlave.cpp |
||||||
|
plPointShadowMaster.cpp |
||||||
|
plShadowCaster.cpp |
||||||
|
plShadowMaster.cpp |
||||||
|
plShadowSlave.cpp |
||||||
|
) |
||||||
|
|
||||||
|
set(plGLight_HEADERS |
||||||
|
plDirectShadowMaster.h |
||||||
|
plGLightCreatable.h |
||||||
|
plLightInfo.h |
||||||
|
plLightKonstants.h |
||||||
|
plLightProxy.h |
||||||
|
plLightSpace.h |
||||||
|
plPerspDirSlave.h |
||||||
|
plPointShadowMaster.h |
||||||
|
plShadowCaster.h |
||||||
|
plShadowMaster.h |
||||||
|
plShadowSlave.h |
||||||
|
) |
||||||
|
|
||||||
|
add_library(plGLight STATIC ${plGLight_SOURCES} ${plGLight_HEADERS}) |
||||||
|
|
||||||
|
source_group("Source Files" FILES ${plGLight_SOURCES}) |
||||||
|
source_group("Header Files" FILES ${plGLight_HEADERS}) |
@ -0,0 +1,31 @@ |
|||||||
|
include_directories("../../CoreLib") |
||||||
|
include_directories("../../NucleusLib/inc") |
||||||
|
include_directories("../../NucleusLib") |
||||||
|
include_directories("../../PubUtilLib") |
||||||
|
|
||||||
|
set(plInterp_SOURCES |
||||||
|
hsInterp.cpp |
||||||
|
hsKeys.cpp |
||||||
|
plAnimPath.cpp |
||||||
|
plAnimTimeConvert.cpp |
||||||
|
plATCEaseCurves.cpp |
||||||
|
plController.cpp |
||||||
|
plModulator.cpp |
||||||
|
) |
||||||
|
|
||||||
|
set(plInterp_HEADERS |
||||||
|
hsInterp.h |
||||||
|
hsKeys.h |
||||||
|
hsTimedValue.h |
||||||
|
plAnimEaseTypes.h |
||||||
|
plAnimPath.h |
||||||
|
plAnimTimeConvert.h |
||||||
|
plController.h |
||||||
|
plInterpCreatable.h |
||||||
|
plModulator.h |
||||||
|
) |
||||||
|
|
||||||
|
add_library(plInterp STATIC ${plInterp_SOURCES} ${plInterp_HEADERS}) |
||||||
|
|
||||||
|
source_group("Source Files" FILES ${plInterp_SOURCES}) |
||||||
|
source_group("Header Files" FILES ${plInterp_HEADERS}) |
@ -0,0 +1,31 @@ |
|||||||
|
include_directories("../../CoreLib") |
||||||
|
include_directories("../../NucleusLib/inc") |
||||||
|
include_directories("../../NucleusLib") |
||||||
|
include_directories("../../PubUtilLib") |
||||||
|
|
||||||
|
set(plIntersect_SOURCES |
||||||
|
plClosest.cpp |
||||||
|
plHardRegion.cpp |
||||||
|
plHardRegionPlanes.cpp |
||||||
|
plHardRegionTypes.cpp |
||||||
|
plSoftVolume.cpp |
||||||
|
plSoftVolumeTypes.cpp |
||||||
|
plVolumeIsect.cpp |
||||||
|
) |
||||||
|
|
||||||
|
set(plIntersect_HEADERS |
||||||
|
plClosest.h |
||||||
|
plHardRegion.h |
||||||
|
plHardRegionPlanes.h |
||||||
|
plHardRegionTypes.h |
||||||
|
plIntersectCreatable.h |
||||||
|
plRegionBase.h |
||||||
|
plSoftVolume.h |
||||||
|
plSoftVolumeTypes.h |
||||||
|
plVolumeIsect.h |
||||||
|
) |
||||||
|
|
||||||
|
add_library(plIntersect STATIC ${plIntersect_SOURCES} ${plIntersect_HEADERS}) |
||||||
|
|
||||||
|
source_group("Source Files" FILES ${plIntersect_SOURCES}) |
||||||
|
source_group("Header Files" FILES ${plIntersect_HEADERS}) |
@ -0,0 +1,20 @@ |
|||||||
|
include_directories("../../CoreLib") |
||||||
|
include_directories("../../NucleusLib/inc") |
||||||
|
include_directories("../../NucleusLib") |
||||||
|
include_directories("../../PubUtilLib") |
||||||
|
|
||||||
|
find_package(JPEG REQUIRED) |
||||||
|
include_directories(${JPEG_INCLUDE_DIR}) |
||||||
|
|
||||||
|
set(plJPEG_SOURCES |
||||||
|
plJPEG.cpp |
||||||
|
) |
||||||
|
|
||||||
|
set(plJPEG_HEADERS |
||||||
|
plJPEG.h |
||||||
|
) |
||||||
|
|
||||||
|
add_library(plJPEG STATIC ${plJPEG_SOURCES} ${plJPEG_HEADERS}) |
||||||
|
|
||||||
|
source_group("Source Files" FILES ${plJPEG_SOURCES}) |
||||||
|
source_group("Header Files" FILES ${plJPEG_HEADERS}) |
Loading…
Reference in new issue