fix:微修正xmake编译脚本

This commit is contained in:
taynpg 2025-01-08 13:54:10 +08:00
parent e77f8446ee
commit d178369cae
3 changed files with 5 additions and 6 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@ build
.vs
.cache
cmake-*
.xmake
.xmake
compile_commands.json

View File

@ -14,13 +14,11 @@ target("tsc")
end
option("boost")
set_default(false)
boost_root_dir = os.getenv("BOOST_HEADER_DIR")
boost_lib_dir = os.getenv("BOOST_LIB_DIR")
boost_libs = os.getenv("BOOST_LIBS")
add_includedirs(boost_root_dir)
print(boost_root_dir)
add_defines("USE_BOOST_FILESYSTEM")
add_linkdirs(boost_lib_dir)
print(boost_lib_dir)
add_links(boost_libs)
print(boost_libs)
add_links(boost_libs)

2
ofen

@ -1 +1 @@
Subproject commit de084c146d75ebddf5ed773a61e4603a6f3ce085
Subproject commit 164834769c86477143993da3eab36186716f5e3b