[UNDER HEAVY DEVELOPMENT] Simple and lightweight IRC protocol helper
This repository has been archived on 2021-04-17. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Alex D. 8b9a527ace
Fix argument tokenizer
2020-09-24 18:59:16 +02:00
include Add tag helpers, timestamp assembler, use system defined paths for tests and add timestamp tests 2020-09-01 11:49:37 +02:00
src Fix argument tokenizer 2020-09-24 18:59:16 +02:00
tests Improve cmake list and link against built lib instead of existing lib to prevent linker errors 2020-09-22 22:33:20 +02:00
.clang-format Add GPL and .clang-format 2020-06-22 19:10:57 +02:00
.gitignore Change build outputs and paths, use cmake's defaults, change some build definitions, remove unistd dep listing (it isn't used), add option summary, instruct for out of tree builds, fix a assembler bug and add ircv3 test for the msg assembler 2020-07-23 15:59:41 +02:00
CMakeLists.txt Fix argument tokenizer 2020-09-24 18:59:16 +02:00
COPYING Add GPL and .clang-format 2020-06-22 19:10:57 +02:00
README.md Rename IRCV3 to BUILD_IRCV3 and fix tests linking, add headers to filesystem 2020-09-15 17:11:34 +02:00

README.md

MicroIRC, a simple, lightweight IRC protocol helper

Requirements

  • CMake (tested on 3.17)
  • C99+ compiler

Building

First, create the required build files (usually the Makefile)

cmake -H . -B build/ -DBUILD_HELPERS=1 -DCMAKE_BUILD_TYPE=Release -DBUILD_IRCV3=1
Option Description Type Supported since
BUILD_HELPERS Build simple assemblers and tokenizers that handle the heavy lifting boolean -
BUILD_TESTS Build tests that check if the build results behave as they should boolean -
BUILD_IRCV3 Build IRCv3 support (WIP) boolean -

Following that, just use your build system and compile it

Example for make:

cd build/
make

You now should have the library built at build/libuirc.so (or your build output path)

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.