Giter Club home page Giter Club logo

cinpact's Introduction

How to install dependencies

You need to install vulkan and sdl. I explained the steps for vcpkg but you use any other way to install and link these 2 libraries. Just make sure that vulkan-sdk is installed on your pc.

using vcpkg

To install vcpkg:

https://vcpkg.io/en/getting-started.html

Dependencies

For windows:

To install vulkan:

vcpkg install vulkan:x64-windows

For linux replace the windows with linux

To install sdl2:

vcpkg install sdl2[vulkan] --triplet x64-windows

For linux replace the windows with linux

For linux:

To install vulkan:

vcpkg install vulkan:x64-windows

For linux replace the windows with linux

To install sdl2:

vcpkg install sdl2[vulkan] --triplet x64-windows

Link vcpkg to your project

Add vcpkg to toochain and then run

cmake .. -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake

How to build

Create a directory a build directory instead the project folder and change directory to that folder then execute following command:

For make, ninja, etc

For release build:

cmake -DCMAKE_BUILD_TYPE=Release ..

For debug build:

cmake -DCMAKE_BUILD_TYPE=Debug ..

For visual studio

cmake ..

You can use visual studio (recommended) or ninja on windows. For linux use the unix makefiles to run the project.

cinpact's People

Contributors

mohammadfakhreddin avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.