|
||
---|---|---|
builder | ||
config | ||
deps | ||
help | ||
initializer | ||
runner | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
DOCS.md | ||
LICENSE | ||
README.md | ||
lana.v | ||
v.mod |
README.md
Lana - V C++ Build System
A simple, fast C++ build tool designed for modern C++ projects.
Features
- Automatic dependency tracking for efficient rebuilds
- Simple configuration with
config.ini
files - Cross-platform support
- Clean, minimal interface
Installation
- Install V: https://vlang.io/
- Build Lana:
v . -o lana
- Add to PATH or use from current directory
Quick Start
Initialize a new project
lana init myproject
cd myproject
Build the project
lana build
Run the project
lana run
Clean build files
lana clean
Project Structure
myproject/
├── src/ # Source files (.cpp, .cc, .cxx)
├── include/ # Header files (.h, .hpp)
├── build/ # Object files and intermediates
├── bin/ # Executable output
├── config.ini # Build configuration
├── README.md # Project documentation
└── .gitignore # Git ignore file
Commands
lana build
- Compile the projectlana run
- Build and executelana clean
- Remove build fileslana init <name>
- Create new project
Configuration
Edit config.ini
to customize your build:
# Project settings
project_name = myproject
src_dir = src
build_dir = build
bin_dir = bin
debug = true
optimize = false
verbose = false
include_dirs = include
libraries =
cflags =
ldflags =
License
MIT License - see LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Submit a pull request