Skip to content

Ethanscharlie/Charlie2D-Project-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Charlie2D-Project-Template

The official Charlie2D Project Template

Compile Instructions

Linux

Install cmake, sdl2, sdl2_ttf, sdl2_mixer, sdl2_gfx, sdl2_image Note: When you distriute your game the users will also have to install those packages (besides cmake of course), I recomend you don't distribute linux builds for this reason

Compile

mkdir build
cd build
cmake ..
make
./index

Windows

Download and install Cmake (Downloads)

Download and install the Mingw Compiler for x86_64 (Downloads)

Extract and add the bin folder to your PATH env variable (Guide)

Compile

mkdir build
cd build
cmake -G "MinGW Makefiles" -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ ..
cmake --build .
.\index.exe