2 Star 1 Fork 2

fasiondog / hikyuu_extern_libs

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
xmake.lua 1.29 KB
Copy Edit Web IDE Raw Blame History
fasiondog authored 2019-09-09 02:08 . remove fmt, spdlog, avx2
-- set warning all as error
set_warnings("all", "error")
--set_warnings("all")
-- set language: C99, c++ standard
-- must set c99, other sqlite3 will not generate .lib
set_languages("C99", "cxx17")
-- disable some compiler errors
add_cxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing")
add_mxflags("-Wno-error=deprecated-declarations", "-fno-strict-aliasing")
set_objectdir("$(buildir)/$(mode)/$(plat)/$(arch)/.objs")
set_targetdir("$(buildir)/$(mode)/$(plat)/$(arch)/lib")
set_headerdir("$(buildir)/$(mode)/$(plat)/$(arch)/inc")
--add_includedirs("$(env BOOST_ROOT)")
--add_linkdirs("$(env BOOST_LIB)")
if is_mode("debug") then
set_symbols("debug")
set_optimize("none")
end
-- is release now
if is_mode("release") then
if is_plat("windows") then
set_symbols("hidden")
end
set_optimize("fastest")
set_strip("all")
end
-- for the windows platform (msvc)
if is_plat("windows") then
-- add some defines only for windows
add_defines("NOCRYPT", "NOGDI")
add_cxflags("-EHsc", "/Zc:__cplusplus")
if is_mode("release") then
add_cxflags("-MD")
elseif is_mode("debug") then
add_cxflags("-Gs", "-RTC1")
add_cxflags("-MDd")
end
end
add_vectorexts("sse", "sse2", "sse3", "ssse3", "mmx", "avx")
add_subdirs("./src/sqlite3")

Comment ( 0 )

Sign in to post a comment

1
https://git.oschina.net/fasiondog/hikyuu_extern_libs.git
git@git.oschina.net:fasiondog/hikyuu_extern_libs.git
fasiondog
hikyuu_extern_libs
hikyuu_extern_libs
master

Search

103111 552b83b3 1850385 103110 ed87a847 1850385