fix:微修正xmake编译脚本
This commit is contained in:
parent
e77f8446ee
commit
d178369cae
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ build
|
||||
.cache
|
||||
cmake-*
|
||||
.xmake
|
||||
compile_commands.json
|
@ -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)
|
2
ofen
2
ofen
@ -1 +1 @@
|
||||
Subproject commit de084c146d75ebddf5ed773a61e4603a6f3ce085
|
||||
Subproject commit 164834769c86477143993da3eab36186716f5e3b
|
Loading…
x
Reference in New Issue
Block a user