Build system for C++
Go to file
Joca 99dc627c8c
Add documentation and README
2025-09-13 20:39:02 -03:00
builder Initial commit 2025-09-13 19:39:35 -03:00
config Initial commit 2025-09-13 19:39:35 -03:00
deps Initial commit 2025-09-13 19:39:35 -03:00
help Initial commit 2025-09-13 19:39:35 -03:00
initializer Initial commit 2025-09-13 19:39:35 -03:00
runner Initial commit 2025-09-13 19:39:35 -03:00
DOCS.md Add documentation and README 2025-09-13 20:39:02 -03:00
README.md Add documentation and README 2025-09-13 20:39:02 -03:00
lana.v Initial commit 2025-09-13 19:39:35 -03:00

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

  1. Install V: https://vlang.io/
  2. Build Lana:
    v . -o lana
    
  3. 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 project
  • lana run - Build and execute
  • lana clean - Remove build files
  • lana 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

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request