Skip to content

0verLighT/libft

Repository files navigation

libft

Extention of 42 libft

That libft can compile with meson.build and Makefile

meson

Setup meson

meson setup builddir
meson compile -C builddir

The lib as been created in builddir diretory.

If you want put libft as subprojects in your project you can add libft.wrap or set git submodule add https://github.com/0verLighT/libft.git subprojects/libft

libft.wrap

[wrap-git]
url = https://github.com/0verlight/libft.git
revision = HEAD
depth = 1

In your meson.build you need to add these lines

deps = [
    dependency('libft')
]

executable('my_awesome_project', dependencies: deps)

ASM

Some functions are reimplemented in ASM, for compile in ASM you need to compile with meson.build and setup like this:

meson setup builddir -Dasm=true
meson compile -C build

Makefile is not updated for compile in ASM.

If you are on x86_64or x86 architecture, you need nasm.

About

42 | libft 125/125

Resources

License

Stars

Watchers

Forks

Contributors