Skip to content

Thoq-jar/MeowMake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MeowMake

MeowMake is a simple build system for C/C++ projects. It is designed to be easy to use and easy to understand. It is written in Zig and is cross-platform.

Syntax

purriler - compiler (eg. clang++)
purroject_files - files (eg. ["main.cc", "utils.cc"])
meoutput - name of exec (eg. my_app)
purriler_flags - compiler flags (eg. -Wall -O2 `wx-config --cxxflags`)
purrepends - libraries (eg. ["`wx-config --libs`"])
meocal_purrepends - local libraries (eg. ["-I./include", "-L./lib"])

Installation

Prerequisites:

  • Rust and Cargo
  • Git
  • Administrator privileges

Linux/macOS:

cd $HOME/
mkdir -p .meowmake
cd .meowmake/
git clone https://github.com/Thoq-jar/MeowMake.git .
git checkout master
git pull
zig build --release=safe
mv zig-out/bin/meowmake $HOME/.meowmake/meowmake
rm -rf zig-out/
cd ..
export PATH="$HOME/.meowmake/:$PATH"

Windows:

cd %USERPROFILE%
mkdir .meowmake
cd .meowmake
git clone https://github.com/Thoq-jar/MeowMake.git .
zig.exe build --release=safe
copy zig-out\bin\meowmake.exe %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
cd ..

Updating

Linux/macOS:

cd $HOME/.meowmake
git pull
zig build --release=safe
mv zig-out/bin/meowmake $HOME/.meowmake/meowmake
rm -rf zig-out/
cd $HOME/
export PATH="$HOME/.meowmake/:$PATH"

Windows:

cd %USERPROFILE%/.meowmake
git pull
zig.exe build --release=safe
copy zig-out\bin\meowmake.exe %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
cd %USERPROFILE%

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Build system with cat syntax (so real)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages