add index
This commit is contained in:
@@ -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
6
index/index.hpp
Normal 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
14
index/meson.build
Normal 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
|
||||
)
|
||||
@@ -29,5 +29,6 @@ inc = []
|
||||
inc += include_directories('.')
|
||||
|
||||
subdir('src')
|
||||
subdir('index')
|
||||
subdir('bin')
|
||||
subdir('tests')
|
||||
|
||||
Reference in New Issue
Block a user