Skip to content
/ bam Public template
forked from CedricGuillemet/bam

Framework for multiplatform prototypes

License

Notifications You must be signed in to change notification settings

slyben/bam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BAM! framework

Linux Build Status Emscripten Build Status

MacOS Build Status Windows Build Status

A template/framework for experiments using bgfx/dear imgui/imguizmo. Fork this repo, clone it and start hacking. Build for Win32/Linux/MacOS and Web with 1 repo, 1 codebase. Goal is to clone, write the first line of code and build for your platform within 5 Min.

MacOS Windows Ubuntu Web

I encourage you to add any 'must have' sub-repo and extend the sample app accordingly. (As long as it's not Boost.)

Build

Binary output directory is bin/

Clone repo

git clone https://github.com/CedricGuillemet/bam.git --recurse-submodules

Windows

mkdir build
cd build
cmake .. -G "Visual Studio 16 2019" -A x64

And open .sln with Visual Studio

Mac

mkdir build
cd build
cmake .. -G Xcode

And open project with Xcode

Linux

mkdir build
cd build
cmake .. -G Ninja
ninja

Web

Clone and activate emsdk https://github.com/emscripten-core/emsdk Install your favorite build tool supported by cmake (ninja, make, ...)

mkdir build
cd build
emcmake cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release
ninja

Test web

In bin folder:

python3 -m http.server

About

Framework for multiplatform prototypes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 37.1%
  • C 34.5%
  • C++ 9.6%
  • CMake 8.9%
  • GLSL 6.2%
  • HTML 3.2%
  • Other 0.5%