ci: setup linux build. (#4)
This commit is contained in:
16
xmake.lua
16
xmake.lua
@@ -63,8 +63,12 @@ target('libdi')
|
||||
remove_files('src/tools/**')
|
||||
set_basename('di')
|
||||
|
||||
add_ldflags('$(shell llvm-config --libs)') -- xrepo llvm bug?
|
||||
|
||||
add_packages(
|
||||
'nlohmann_json'
|
||||
'xxhash',
|
||||
'nlohmann_json',
|
||||
'llvm'
|
||||
)
|
||||
|
||||
target('askrva')
|
||||
@@ -111,15 +115,10 @@ target('extractsym')
|
||||
set_pcxxheader('src/pch.h')
|
||||
|
||||
add_packages(
|
||||
'llvm',
|
||||
'nlohmann_json',
|
||||
'argparse'
|
||||
)
|
||||
|
||||
if is_plat('linux') then -- workaround to fix link problem.
|
||||
add_links('LLVM')
|
||||
end
|
||||
|
||||
target('makepdb')
|
||||
set_kind('binary')
|
||||
add_deps('libdi')
|
||||
@@ -127,11 +126,6 @@ target('makepdb')
|
||||
set_pcxxheader('src/pch.h')
|
||||
|
||||
add_packages(
|
||||
'llvm',
|
||||
'nlohmann_json',
|
||||
'argparse'
|
||||
)
|
||||
|
||||
if is_plat('linux') then
|
||||
add_links('LLVM')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user