diff --git a/bin/meson.build b/bin/meson.build index 7147830..c4f35dc 100644 --- a/bin/meson.build +++ b/bin/meson.build @@ -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', diff --git a/index/index.hpp b/index/index.hpp new file mode 100644 index 0000000..0f2a16c --- /dev/null +++ b/index/index.hpp @@ -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" diff --git a/index/meson.build b/index/meson.build new file mode 100644 index 0000000..c3f35b2 --- /dev/null +++ b/index/meson.build @@ -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 +) diff --git a/meson.build b/meson.build index 1ad4935..543f1bf 100644 --- a/meson.build +++ b/meson.build @@ -29,5 +29,6 @@ inc = [] inc += include_directories('.') subdir('src') +subdir('index') subdir('bin') subdir('tests')