<commit_before>file(GLOB LIB_SOURCES
    "Vortex2D.h"
    "Engine/Density.h"
    "Engine/Density.cpp"
    "Engine/LevelSet.h"
    "Engine/LevelSet.cpp"
    "Engine/Pressure.h"
    "Engine/Pressure.cpp"
    "Engine/Advection.h"
    "Engine/Advection.cpp"
    "Engine/Extrapolation.h"
    "Engine/Extrapolation.cpp"
    "Engine/World.h"
    "Engine/World.cpp"
    "Engine/Size.h"
    "Engine/Size.cpp"
    "Engine/Boundaries.h"
    "Engine/Boundaries.cpp"
    "Engine/PrefixScan.h"
    "Engine/PrefixScan.cpp"
    "Engine/Particles.h"
    "Engine/Particles.cpp"
    "Engine/Rigidbody.h"
    "Engine/Rigidbody.cpp"
    "Engine/Velocity.h"
    "Engine/Velocity.cpp"
    "Engine/LinearSolver/LinearSolver.h"
    "Engine/LinearSolver/LinearSolver.cpp"
    "Engine/LinearSolver/Preconditioner.h"
    "Engine/LinearSolver/Reduce.h"
    "Engine/LinearSolver/Reduce.cpp"
    "Engine/LinearSolver/GaussSeidel.h"
    "Engine/LinearSolver/GaussSeidel.cpp"
    "Engine/LinearSolver/Jacobi.h"
    "Engine/LinearSolver/Jacobi.cpp"
    "Engine/LinearSolver/ConjugateGradient.h"
    "Engine/LinearSolver/ConjugateGradient.cpp"
    "Engine/LinearSolver/Diagonal.h"
    "Engine/LinearSolver/Diagonal.cpp"
    "Engine/LinearSolver/IncompletePoisson.h"
    "Engine/LinearSolver/IncompletePoisson.cpp"
    "Engine/LinearSolver/Transfer.h"
    "Engine/LinearSolver/Transfer.cpp"
    "Engine/LinearSolver/Multigrid.h"
    "Engine/LinearSolver/Multigrid.cpp"
    "Renderer/*.cpp"
    "Renderer/*.h"
    "SPIRV/Reflection.h"
    "SPIRV/Reflection.cpp"
    "Utils/variant.hpp"
    "Utils/vk_mem_alloc.h")

file(GLOB SHADER_SOURCES
    "Renderer/Kernels/*.vert"
    "Renderer/Kernels/*.frag"
    "Engine/Kernels/Advect.comp"
    "Engine/Kernels/AdvectVelocity.comp"
    "Engine/Kernels/BuildDiv.comp"
    "Engine/Kernels/BuildRigidbodyDiv.comp"
    "Engine/Kernels/BuildMatrix.comp"
    "Engine/Kernels/Extrapolate.comp"
    "Engine/Kernels/Project.comp"
    "Engine/Kernels/RigidbodyPressure.comp"
    "Engine/Kernels/Redistance.comp"
    "Engine/Kernels/ConstrainVelocity.comp"
    "Engine/Kernels/ConstrainRigidbodyVelocity.comp"
    "Engine/Kernels/ExtrapolateVelocity.comp"
    "Engine/Kernels/PolygonDist.frag"
    "Engine/Kernels/CircleDist.frag"
    "Engine/Kernels/UpdateVertices.comp"
    "Engine/Kernels/DistanceField.frag"
    "Engine/Kernels/PreScanAdd.comp"
    "Engine/Kernels/PreScan.comp"
    "Engine/Kernels/PreScanStoreSum.comp"
    "Engine/Kernels/ParticleCount.comp"
    "Engine/Kernels/ParticleClamp.comp"
    "Engine/Kernels/ParticleSpawn.comp"
    "Engine/Kernels/ParticleBucket.comp"
    "Engine/Kernels/ParticleCloud.vert"
    "Engine/Kernels/ParticleCloud.frag"
    "Engine/Kernels/ParticlePhi.comp"
    "Engine/Kernels/ParticleToGrid.comp"
    "Engine/Kernels/ParticleFromGrid.comp"
    "Engine/Kernels/AdvectParticles.comp"
    "Engine/LinearSolver/Kernels/*.comp")

download_project(PROJ                SPIRV_Cross
                 GIT_REPOSITORY      https://github.com/KhronosGroup/SPIRV-Cross.git
                 GIT_TAG             master<commit_msg>fix previous  commit (missing glm)<commit_after>file(GLOB LIB_SOURCES
    "Vortex2D.h"
    "Engine/Density.h"
    "Engine/Density.cpp"
    "Engine/LevelSet.h"
    "Engine/LevelSet.cpp"
    "Engine/Pressure.h"
    "Engine/Pressure.cpp"
    "Engine/Advection.h"
    "Engine/Advection.cpp"
    "Engine/Extrapolation.h"
    "Engine/Extrapolation.cpp"
    "Engine/World.h"
    "Engine/World.cpp"
    "Engine/Size.h"
    "Engine/Size.cpp"
    "Engine/Boundaries.h"
    "Engine/Boundaries.cpp"
    "Engine/PrefixScan.h"
    "Engine/PrefixScan.cpp"
    "Engine/Particles.h"
    "Engine/Particles.cpp"
    "Engine/Rigidbody.h"
    "Engine/Rigidbody.cpp"
    "Engine/Velocity.h"
    "Engine/Velocity.cpp"
    "Engine/LinearSolver/LinearSolver.h"
    "Engine/LinearSolver/LinearSolver.cpp"
    "Engine/LinearSolver/Preconditioner.h"
    "Engine/LinearSolver/Reduce.h"
    "Engine/LinearSolver/Reduce.cpp"
    "Engine/LinearSolver/GaussSeidel.h"
    "Engine/LinearSolver/GaussSeidel.cpp"
    "Engine/LinearSolver/Jacobi.h"
    "Engine/LinearSolver/Jacobi.cpp"
    "Engine/LinearSolver/ConjugateGradient.h"
    "Engine/LinearSolver/ConjugateGradient.cpp"
    "Engine/LinearSolver/Diagonal.h"
    "Engine/LinearSolver/Diagonal.cpp"
    "Engine/LinearSolver/IncompletePoisson.h"
    "Engine/LinearSolver/IncompletePoisson.cpp"
    "Engine/LinearSolver/Transfer.h"
    "Engine/LinearSolver/Transfer.cpp"
    "Engine/LinearSolver/Multigrid.h"
    "Engine/LinearSolver/Multigrid.cpp"
    "Renderer/*.cpp"
    "Renderer/*.h"
    "SPIRV/Reflection.h"
    "SPIRV/Reflection.cpp"
    "Utils/variant.hpp"
    "Utils/vk_mem_alloc.h")

file(GLOB SHADER_SOURCES
    "Renderer/Kernels/*.vert"
    "Renderer/Kernels/*.frag"
    "Engine/Kernels/Advect.comp"
    "Engine/Kernels/AdvectVelocity.comp"
    "Engine/Kernels/BuildDiv.comp"
    "Engine/Kernels/BuildRigidbodyDiv.comp"
    "Engine/Kernels/BuildMatrix.comp"
    "Engine/Kernels/Extrapolate.comp"
    "Engine/Kernels/Project.comp"
    "Engine/Kernels/RigidbodyPressure.comp"
    "Engine/Kernels/Redistance.comp"
    "Engine/Kernels/ConstrainVelocity.comp"
    "Engine/Kernels/ConstrainRigidbodyVelocity.comp"
    "Engine/Kernels/ExtrapolateVelocity.comp"
    "Engine/Kernels/PolygonDist.frag"
    "Engine/Kernels/CircleDist.frag"
    "Engine/Kernels/UpdateVertices.comp"
    "Engine/Kernels/DistanceField.frag"
    "Engine/Kernels/PreScanAdd.comp"
    "Engine/Kernels/PreScan.comp"
    "Engine/Kernels/PreScanStoreSum.comp"
    "Engine/Kernels/ParticleCount.comp"
    "Engine/Kernels/ParticleClamp.comp"
    "Engine/Kernels/ParticleSpawn.comp"
    "Engine/Kernels/ParticleBucket.comp"
    "Engine/Kernels/ParticleCloud.vert"
    "Engine/Kernels/ParticleCloud.frag"
    "Engine/Kernels/ParticlePhi.comp"
    "Engine/Kernels/ParticleToGrid.comp"
    "Engine/Kernels/ParticleFromGrid.comp"
    "Engine/Kernels/AdvectParticles.comp"
    "Engine/LinearSolver/Kernels/*.comp")

download_project(PROJ                glm
                 GIT_REPOSITORY      https://github.com/g-truc/glm.git
                 GIT_TAG             0.9.8.4
                 ${UPDATE_DISCONNECTED_IF_AVAILABLE})
add_subdirectory(${glm_SOURCE_DIR} ${glm_BINARY_DIR})

download_project(PROJ                SPIRV_Cross
                 GIT_REPOSITORY      https://github.com/KhronosGroup/SPIRV-Cross.git
                 GIT_TAG             master
{'fraction_non_alphanumeric': 0.12908266916705735, 'fraction_numerical': 0.0009376465072667605, 'mean_word_length': 3.1912246234446626, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '734850', 'n_tokens_mistral': 2458, 'n_tokens_neox': 2423, 'n_words': 196}