Skip to content

florianvazelle/vk3DLoader

Repository files navigation

Actions Status Codacy Badge Platform License Lines of Code

vk3DLoader

This is work in progress Vulkan project to load and visualize a 3D model.

Building

Build and run the standalone target

Use the following command to build and run the executable target.

cmake -Bbuild
cmake --build build
./build/bin/vk3DLoader --help

Build and run test suite

Use the following commands from the project's root directory to run the test suite.

cmake -Bbuild
cmake --build build
./build/bin/vk3DLoaderTests

Developement

To run it with include-what-you-use :

sudo apt install llvm-10-dev libclang-10-dev clang-10
git clone https://github.com/include-what-you-use/include-what-you-use.git iwyu

cd iwyu
git checkout clang_10

mkdir build
cd build

cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=/usr/lib/llvm-10 ..

cd ..
CC="clang" CXX="clang++" cmake -DCMAKE_CXX_INCLUDE_WHAT_YOU_USE="iwyu/build/bin/include-what-you-use;-Xiwyu;any;-Xiwyu;iwyu;-Xiwyu;args" -Bbuild
cmake --build build 2> iwyu.log

Dependencies

  • C++20 compiler :
    • Visual Studio 2019
    • GCC 9+ or Clang 10+
  • CMake for build system creation (>= 3.16.3)
  • Conan for install packages (>= 1.0)
  • Doxygen for generate documentation (>= 1.8, optional)

References

Quote to save many hours

Input attachments of course are not "textures"; they're attachments.