Files
kraken/kraken/CMakeLists.txt
Kearwood Gilbert 356962e140
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled
Add GLTF loader stub
2026-03-31 22:21:59 -07:00

103 lines
4.7 KiB
CMake

include_directories(public)
add_subdirectory(public)
set(KRAKEN_PUBLIC_HEADERS "${KRAKEN_PUBLIC_HEADERS}" PARENT_SCOPE)
set(KRAKEN_PRIVATE_HEADERS "${KRAKEN_PRIVATE_HEADERS}" PARENT_SCOPE)
# Private Implementation
add_sources(kraken.cpp)
add_private_headers(KREngine-common.h)
add_sources(resources/KRResource+blend.cpp)
add_sources(resources/KRResource+gltf.cpp)
# add_source(resources/KRResource+fbx.cpp) # TODO - Locate FBX SDK dependencies
add_private_headers(resources/KRResource.h)
add_source_and_header(KRAudioBuffer)
add_source_and_header(KRBehavior)
add_source_and_header(KRContext)
add_source_and_header(KRContextObject)
add_source_and_header(KRDevice)
add_source_and_header(KRDeviceManager)
add_source_and_header(KRHelpers)
add_source_and_header(KRModelView)
add_source_and_header(KROctree)
add_source_and_header(KROctreeNode)
add_source_and_header(KRPipeline)
add_source_and_header(KRPipelineManager)
add_source_and_header(KRPresentationThread)
add_source_and_header(KRRenderGraph)
add_source_and_header(KRRenderGraphBlackFrame)
add_source_and_header(KRRenderGraphDeferred)
add_source_and_header(KRRenderGraphForward)
add_source_and_header(KRRenderPass)
add_source_and_header(KRRenderSettings)
add_source_and_header(KRSampler)
add_source_and_header(KRSamplerManager)
add_source_and_header(KRShaderReflection)
add_source_and_header(KRStreamerThread)
add_source_and_header(KRSurface)
add_source_and_header(KRSurfaceManager)
add_source_and_header(KRSwapchain)
add_source_and_header(KRUniformBuffer)
add_source_and_header(KRUniformBufferManager)
add_source_and_header(KRViewport)
add_source_and_header(nodes/KRAmbientZone)
add_source_and_header(nodes/KRAudioSource)
add_source_and_header(nodes/KRBone)
add_source_and_header(nodes/KRCamera)
add_source_and_header(nodes/KRCollider)
add_source_and_header(nodes/KRDirectionalLight)
add_source_and_header(nodes/KRLight)
add_source_and_header(nodes/KRLocator)
add_source_and_header(nodes/KRLODGroup)
add_source_and_header(nodes/KRLODSet)
add_source_and_header(nodes/KRModel)
add_source_and_header(nodes/KRNode)
add_source_and_header(nodes/KRParticleSystem)
add_source_and_header(nodes/KRParticleSystemNewtonian)
add_source_and_header(nodes/KRPointLight)
add_source_and_header(nodes/KRReverbZone)
add_source_and_header(nodes/KRSpotLight)
add_source_and_header(nodes/KRSprite)
add_source_and_header(resources/animation/KRAnimation)
add_source_and_header(resources/animation/KRAnimationAttribute)
add_source_and_header(resources/animation/KRAnimationLayer)
add_source_and_header(resources/animation/KRAnimationManager)
add_source_and_header(resources/animation_curve/KRAnimationCurve)
add_source_and_header(resources/animation_curve/KRAnimationCurveManager)
add_source_and_header(resources/audio/KRAudioManager)
add_source_and_header(resources/audio/KRAudioSample)
add_source_and_header(resources/audio/KRAudioSampleBinding)
add_source_and_header(resources/bundle/KRBundle)
add_source_and_header(resources/bundle/KRBundleManager)
add_source_and_header(resources/KRResource)
add_source_and_header(resources/KRResourceBinding)
add_source_and_header(resources/KRResourceManager)
add_source_and_header(resources/material/KRMaterial)
add_source_and_header(resources/material/KRMaterialBinding)
add_source_and_header(resources/material/KRMaterialManager)
add_source_and_header(resources/mesh/KRMesh)
add_source_and_header(resources/mesh/KRMeshBinding)
add_source_and_header(resources/mesh/KRMeshCube)
add_source_and_header(resources/mesh/KRMeshManager)
add_source_and_header(resources/mesh/KRMeshQuad)
add_source_and_header(resources/mesh/KRMeshSphere)
add_source_and_header(resources/scene/KRScene)
add_source_and_header(resources/scene/KRSceneManager)
add_source_and_header(resources/shader/KRShader)
add_source_and_header(resources/shader/KRShaderManager)
add_source_and_header(resources/source/KRSource)
add_source_and_header(resources/source/KRSourceManager)
add_source_and_header(resources/texture/KRTexture)
add_source_and_header(resources/texture/KRTexture2D)
add_source_and_header(resources/texture/KRTextureAnimated)
add_source_and_header(resources/texture/KRTextureBinding)
add_source_and_header(resources/texture/KRTextureCube)
add_source_and_header(resources/texture/KRTextureKTX)
add_source_and_header(resources/texture/KRTextureKTX2)
add_source_and_header(resources/texture/KRTextureManager)
add_source_and_header(resources/texture/KRTexturePNG)
add_source_and_header(resources/texture/KRTexturePVR)
add_source_and_header(resources/texture/KRTextureTGA)
add_source_and_header(resources/unknown/KRUnknown)
add_source_and_header(resources/unknown/KRUnknownManager)
add_sources(resources/KRResource+obj.cpp)