add hack_dep
This commit is contained in:
parent
d691c0e655
commit
5b5c604e24
@ -1 +1,42 @@
|
||||
inc += include_directories('.')
|
||||
|
||||
headers = [
|
||||
'hack/concepts/concepts.hpp',
|
||||
'hack/container/container.hpp',
|
||||
'hack/iterators/associative_ostream_iterator.hpp',
|
||||
'hack/iterators/sequence_ostream_iterator.hpp',
|
||||
'hack/logger/logger.hpp',
|
||||
'hack/math/matrix.hpp',
|
||||
'hack/math/max.hpp',
|
||||
'hack/math/vector.hpp',
|
||||
'hack/range/range.hpp',
|
||||
'hack/range/range.hpp',
|
||||
'hack/security/is_link.hpp',
|
||||
'hack/security/is_string.hpp',
|
||||
'hack/security/uuid.hpp',
|
||||
'hack/security/validate_email.hpp',
|
||||
'hack/string/string.hpp',
|
||||
'hack/string/string_concat_helper.hpp',
|
||||
'hack/string/utf8_len.hpp',
|
||||
'hack/utils/func_query.hpp',
|
||||
'hack/utils/utils.hpp',
|
||||
'hack/view/color.hpp'
|
||||
]
|
||||
|
||||
sources = []
|
||||
|
||||
lib = library(
|
||||
'hack',
|
||||
include_directories : inc,
|
||||
sources: [headers, sources],
|
||||
dependencies : deps,
|
||||
cpp_args: args
|
||||
)
|
||||
|
||||
hack_dep = declare_dependency(
|
||||
include_directories: inc,
|
||||
link_with: lib,
|
||||
)
|
||||
|
||||
deps += hack_dep
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user