set(THIS_PROJECT prt) project( ${THIS_PROJECT} ) #START-FILE-LIST # File List auto generated by waf2cmake.py, do not modify manually. set (SourceGroup_API ../../Tools/PRT/CompressedLookupTable.h ../../Tools/PRT/IObserver.h ../../Tools/PRT/ISHLog.h ../../Tools/PRT/ISHMaterial.h ../../Tools/PRT/ITransferConfigurator.h ../../Tools/PRT/Legendre.h ../../Tools/PRT/MaterialFactory.h ../../Tools/PRT/MeshCoefficientStreams.h ../../Tools/PRT/PRTTypes.h ../../Tools/PRT/QuantizedSamplesHolder.h ../../Tools/PRT/SHAllocator.h ../../Tools/PRT/SHCompressor.h ../../Tools/PRT/SHFramework.h ../../Tools/PRT/SHFrameworkBasis.h ../../Tools/PRT/SHMath.h ../../Tools/PRT/SHRotate.h ../../Tools/PRT/SimpleIndexedMesh.h ../../Tools/PRT/SmartPtrAllocator.h ../../Tools/PRT/TransferParameters.h ) source_group("API" FILES ${SourceGroup_API}) set (SourceGroup_PRT ../../Tools/SphericalHarmonics/PRT/AlphaTextureMaterial.cpp ../../Tools/SphericalHarmonics/PRT/AlphaTextureMaterial.h ../../Tools/SphericalHarmonics/PRT/BacklightingAlphaTextureMaterial.cpp ../../Tools/SphericalHarmonics/PRT/BacklightingAlphaTextureMaterial.h ../../Tools/SphericalHarmonics/PRT/BaseTextureMaterial.cpp ../../Tools/SphericalHarmonics/PRT/BaseTextureMaterial.h ../../Tools/SphericalHarmonics/PRT/BasicUtils.h ../../Tools/SphericalHarmonics/PRT/CoefficientStream.cpp ../../Tools/SphericalHarmonics/PRT/CommonImageReader.cpp ../../Tools/SphericalHarmonics/PRT/CommonImageReader.h ../../Tools/SphericalHarmonics/PRT/DefaultAlphaMaterial.cpp ../../Tools/SphericalHarmonics/PRT/DefaultAlphaMaterial.h ../../Tools/SphericalHarmonics/PRT/DefaultBacklightingMaterial.cpp ../../Tools/SphericalHarmonics/PRT/DefaultBacklightingMaterial.h ../../Tools/SphericalHarmonics/PRT/DefaultMaterial.cpp ../../Tools/SphericalHarmonics/PRT/DefaultMaterial.h ../../Tools/SphericalHarmonics/PRT/DefaultTransferConfigurator.h ../../Tools/SphericalHarmonics/PRT/FullVisCache.cpp ../../Tools/SphericalHarmonics/PRT/FullVisCache.h ../../Tools/SphericalHarmonics/PRT/HDRImageReader.cpp ../../Tools/SphericalHarmonics/PRT/HDRImageReader.h ../../Tools/SphericalHarmonics/PRT/IImageReader.h ../../Tools/SphericalHarmonics/PRT/ISampleGenerator.h ../../Tools/SphericalHarmonics/PRT/ITransfer.h ../../Tools/SphericalHarmonics/PRT/ITransferConfigurator.cpp ../../Tools/SphericalHarmonics/PRT/Icosahedron.h ../../Tools/SphericalHarmonics/PRT/ImageFactory.cpp ../../Tools/SphericalHarmonics/PRT/ImageFactory.h ../../Tools/SphericalHarmonics/PRT/MaterialFactory.cpp ../../Tools/SphericalHarmonics/PRT/PrintTransferObserver.cpp ../../Tools/SphericalHarmonics/PRT/PrintTransferObserver.h ../../Tools/SphericalHarmonics/PRT/RandomSampleGen.h ../../Tools/SphericalHarmonics/PRT/RasterCube.h ../../Tools/SphericalHarmonics/PRT/RasterTable.h ../../Tools/SphericalHarmonics/PRT/RayCache.h ../../Tools/SphericalHarmonics/PRT/RayCaster.cpp ../../Tools/SphericalHarmonics/PRT/RayCaster.h ../../Tools/SphericalHarmonics/PRT/SHAllocator.cpp ../../Tools/SphericalHarmonics/PRT/SHFramework.cpp ../../Tools/SphericalHarmonics/PRT/SHLog.cpp ../../Tools/SphericalHarmonics/PRT/SHLog.h ../../Tools/SphericalHarmonics/PRT/SampleGenerator.cpp ../../Tools/SphericalHarmonics/PRT/SampleGenerator.h ../../Tools/SphericalHarmonics/PRT/SampleRetrieval.h ../../Tools/SphericalHarmonics/PRT/SimpleIndexedMesh.cpp ../../Tools/SphericalHarmonics/PRT/SimpleTriangleRasterizer.cpp ../../Tools/SphericalHarmonics/PRT/SimpleTriangleRasterizer.h ../../Tools/SphericalHarmonics/PRT/SubTriManager.h ../../Tools/SphericalHarmonics/PRT/TIFImageReader.cpp ../../Tools/SphericalHarmonics/PRT/TIFImageReader.h ../../Tools/SphericalHarmonics/PRT/TangentSpaceCalculation.h ../../Tools/SphericalHarmonics/PRT/Transfer.cpp ../../Tools/SphericalHarmonics/PRT/Transfer.h ../../Tools/SphericalHarmonics/PRT/TransferConfiguratorFactory.cpp ../../Tools/SphericalHarmonics/PRT/TransferConfiguratorFactory.h ../../Tools/SphericalHarmonics/PRT/TransferParameters.cpp ../../Tools/SphericalHarmonics/PRT/VegetationTransferConfigurator.h ../../Tools/SphericalHarmonics/PRT/VertexInterface.h ../../Tools/SphericalHarmonics/PRT/stdafx.cpp ../../Tools/SphericalHarmonics/PRT/stdafx.h ) source_group("PRT" FILES ${SourceGroup_PRT}) # Support unity build with uber files set(NoUberFile ${SourceGroup_API} ${SourceGroup_PRT} ) set (SOURCES ${NoUberFile} ) #END-FILE-LIST include_directories( ${CMAKE_SOURCE_DIR}/Code/Tools ) include_directories( ${CMAKE_SOURCE_DIR}/Code/Tools/PRT ) include_directories( ${CMAKE_SOURCE_DIR}/Code/Tools/SphericalHarmonics ) include_directories( ${SDK_DIR}/tiff-4.0.4/libtiff ) include_directories( ${CRY_LIBS_DIR}/tiff ) add_definitions( -DPRT_COMPILE ) add_definitions( -DNOT_USE_CRY_STRING ) add_definitions( -DOFFLINE_COMPUTATION ) add_definitions( -D_HAS_EXCEPTIONS=0 ) add_definitions( -DNOMINMAX ) add_library( ${THIS_PROJECT} STATIC ${SOURCES}) target_link_libraries( ${THIS_PROJECT} tiff ) SET_PLATFORM_TARGET_PROPERTIES( ${THIS_PROJECT} )