Skip to content

Latest commit

 

History

131 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KalaCLI

This is a cli executable template for C++ 20 on Windows and Linux.

Please be aware that this library/software has limited or no documentation at the current stage due to the KalaKit and the Elypso Engine ecosystem being in early development, if you have questions then message me on discord at @kirjukala or via email. The website linked at the right side also does not currently function because both the domain and its server backend are still in early development.

This project relies on several external dependencies, they are not shipped inside this project, please make sure you have that repository cloned into a folder inside the same parent directory as this project folder before compiling this project from source.

Projects that use this template

KalaMake

Minimal compile example

To compile KalaCLI on Windows without Kalamake:

//create the root build dir
mkdir build

//create the target binary dir
mkdir build\release-windows

//create the object dir
mkdir build\release-windows\obj

//go to the target binary dir
cd build\release-windows

//compile cpp files
for /r "..\..\src" %f in (*.cpp) do clang++ -DLIB_STATIC -std=c++20 -c "%f" -I"..\..\include" -I"..\..\..\external-shared\KalaHeaders\include" -o "obj\%~nf.obj"

//link into library
llvm-lib /OUT:kalacli.lib "obj\*.obj"

And on Linux:

//create the root build dir
mkdir build

//create the target binary dir
mkdir build\release-linux

//create the object dir
mkdir build\release-linux\obj

//go to the target binary dir
cd build\release-linux

//compile cpp files
for f in ../../src/**/*.cpp
    clang++ -DLIB_STATIC -std=c++20 -c "$f" -I"../../include" -I"../../../external-shared/KalaHeaders/include" -o obj/(basename $f .cpp).o
end

//link into library
ar rcs libkalacli.a obj/*.o

Links

Donate on PayPal

Official Discord server

Official Youtube channel


Docs

How to build from source

External libraries

Lost Empire Entertainment and KalaKit ecosystem

About

C++20 CLI template library on Windows and Linux.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages