fix: fix pch deps.
This commit is contained in:
@@ -56,6 +56,11 @@ if is_mode('debug') then
|
|||||||
add_defines('LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1')
|
add_defines('LLVM_DISABLE_ABI_BREAKING_CHECKS_ENFORCING=1')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
add_packages('boost')
|
||||||
|
if is_plat('linux') or is_plat('macosx') then
|
||||||
|
add_defines('BOOST_STACKTRACE_USE_ADDR2LINE=1')
|
||||||
|
end
|
||||||
|
|
||||||
--- targets
|
--- targets
|
||||||
|
|
||||||
target('libdi')
|
target('libdi')
|
||||||
@@ -69,14 +74,10 @@ target('libdi')
|
|||||||
if is_plat('linux') then
|
if is_plat('linux') then
|
||||||
add_ldflags('$(shell llvm-config --libs)') -- xrepo llvm bug?
|
add_ldflags('$(shell llvm-config --libs)') -- xrepo llvm bug?
|
||||||
end
|
end
|
||||||
if is_plat('linux') or is_plat('macosx') then
|
|
||||||
add_defines('BOOST_STACKTRACE_USE_ADDR2LINE=1')
|
|
||||||
end
|
|
||||||
|
|
||||||
add_packages(
|
add_packages(
|
||||||
'xxhash',
|
'xxhash',
|
||||||
'nlohmann_json',
|
'nlohmann_json',
|
||||||
'boost',
|
|
||||||
'llvm'
|
'llvm'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user