o
odinpkg.dev
packages / library / Odin_Project_Template

Odin_Project_Template

0d7d43dlibrary

No description provided.

No license · updated 2 years ago

Odin project template

A fork of Jocabin's Odin-template. https://github.com/Jocabin/odin-template

How to build and run

Rename all the occurences of program_name in the template by your app name.

./build.bat will build with debug informations, and then run the program.

Informations

At the begining of the src/main.odin file, you will notice a block of code. This is for tracking bad frees and unfree allocations. All errors printed to stderr will finish in the mem_leaks.txt file.

With that, you can retrieve all memories allocations in this file.

This template contain all necessary files for LSP, formating and debuging to use with Visual Studio Code, in case you need it.

Don't forget to add mem_leaks.txt in your .gitignore!