File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ set_version("0.0.1")
44
55set_xmakever (" 2.8.6" )
66
7- set_allowedplats (" windows" )
7+ set_allowedplats (" windows" , " linux " ) -- tested in x86_64 linux
88set_allowedmodes (" debug" , " release" )
99
1010option (" test" , {showmenu = true , default = false })
@@ -14,13 +14,17 @@ set_languages("c++20")
1414set_warnings (" all" )
1515add_rules (" mode.debug" , " mode.release" )
1616
17+ if is_plat (" linux" ) then
18+ set_toolchains (" gcc" ) -- tested with gcc
19+ end
20+
1721if is_plat (" windows" ) then
1822 set_runtimes (" MD" )
1923 add_cxflags (" /permissive-" , {tools = " cl" })
2024end
2125
2226if has_config (" test" ) then
23- add_requires (" gtest" , {configs = {main = true , gmock = false }})
27+ add_requires (" gtest" , {system = false , configs = {main = true , gmock = false }})
2428end
2529
2630target (" magic" )
You can’t perform that action at this time.
0 commit comments