add index

This commit is contained in:
chatlanin
2022-03-24 16:30:10 +03:00
parent 3cfd5bec03
commit 4f3a63c5f2
4 changed files with 22 additions and 1 deletions

View File

@@ -6,7 +6,7 @@ deps += string_dep
deps += range_dep
deps += container_dep
deps += logger_dep
deps += math_dep
deps += hack_dep
executable(
'hack', 'main.cpp',

6
index/index.hpp Normal file
View File

@@ -0,0 +1,6 @@
#include "string/string.hpp"
#include "range/range.hpp"
#include "container/container.hpp"
#include "logger/logger.hpp"
#include "math/matrix.hpp"
#include "math/vector.hpp"

14
index/meson.build Normal file
View File

@@ -0,0 +1,14 @@
headers = ['index.hpp']
sources = []
lib = library(
'hack',
include_directories : inc,
install : true,
sources: [headers, sources]
)
hack_dep = declare_dependency(
include_directories: inc,
link_with: lib
)

View File

@@ -29,5 +29,6 @@ inc = []
inc += include_directories('.')
subdir('src')
subdir('index')
subdir('bin')
subdir('tests')