Giter VIP home page Giter VIP logo

skeletoncpp's Introduction

skeletonCPP

This is a skeleton Premake project for C++ and SFML. Make sure to update name of the project in following places:

  • tools/version.py
  • tools/globals.py
  • premake5.lua

NOTE: Make sure to add premake5.exe (download from premake website) to premake folder if it is not there

(Windows) To use project, run commands in terminal :

  • To generate solution: cli.bat gensln
  • To build: cli.bat build
  • To run: cli.bat run
  • You can also combine all of them: cli.bat gensln build run

##Add SFML static libraries to external directory.

  • include/SFML/{all sfml headers}
  • lib/{all static libs}

##To compile SFML for static libs:

  • Download 'SourceCode' from https://www.sfml-dev.org/download.php
  • Download cmake from https://cmake.org/download/
  • Open cmake-gui
  • Select source code folder for sfml
  • Select build binaries folder
  • Unselect BUILD_SHARED_LIBS
  • Select SFML_USE_STATIC_STD_LIBS
  • Select other SFML_BUILD_{xx} for whatever you need
  • Press Configure, select the generator for the project (VS for example)
  • After making sure there are no errors, press Generate
  • Open VS solution project, build all
  • Files will be generated in lib/{Debug/Release} folder(s)

skeletoncpp's People

Contributors

bhattigurjot avatar

Watchers

James Cloos avatar  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.