An intermediate level base for gint/fxsdk projects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KikooDX c0b7146138 bump gint version to 2.5 8 months ago
assets-cg gint project template 9 months ago
assets-fx gint project template 9 months ago
include gint project template 9 months ago
src gint project template 9 months ago
.clang-format gint project template 9 months ago
.gitignore gint project template 9 months ago
CMakeLists.txt bump gint version to 2.5 8 months ago
LICENSE gint project template 9 months ago
README gint project template 9 months ago

README

KikooDX's gint project template
===============================
This is a base project for gint softwares.

Before anything
---------------
Open and read CMakeLists.txt.

Building your project
---------------------
For monochrome calculator target:
$ fxsdk build-fx

For color calculator target:
$ fxsdk build-cg

Making changes
--------------
After creating new .c files, add those to the SRC list in CMakeLists and
rebuild. Same process for graphical assets in the corresponding ASSETS
in the corresponding ASSETS* list, but you will also need to edit
assets*/fxconv-metada.

Before commiting
----------------
Run this command at the base of the git tree:
$ clang-format -i src/**.c include/**.h
It will beautify the source of your project according to the
configuration in the .clang-format file.

Nice tricks
-----------
Search for a function declaration.
$ git grep '$sample'

See changes since last commit.
$ git diff <file>

Require entr, recompile whenever a source file change (poor man LSP).
Ctrl-C to end.
$ find src/ include/ -type f | entr -r fxsdk build-cg

License
-------
Copyright (C) 2021 KikooDX <kikoodx@paranoici.org>
This template is under the 0BSD license. See LICENSE for informations.