Browse Source

Remove 17-drawstress from Emscripten build.

Бранимир Караџић 3 years ago
parent
commit
05b60be3c2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      scripts/genie.lua

+ 2 - 2
scripts/genie.lua

@@ -601,9 +601,9 @@ or _OPTIONS["with-combined-examples"] then
 		)
 		)
 
 
 	-- 17-drawstress requires multithreading, does not compile for singlethreaded wasm
 	-- 17-drawstress requires multithreading, does not compile for singlethreaded wasm
---	if platform is not single-threaded then
+	if premake.gcc.namestyle == nil or not premake.gcc.namestyle == "Emscripten" then
 		exampleProject(false, "17-drawstress")
 		exampleProject(false, "17-drawstress")
---	end
+	end
 
 
 	-- C99 source doesn't compile under WinRT settings
 	-- C99 source doesn't compile under WinRT settings
 	if not premake.vstudio.iswinrt() then
 	if not premake.vstudio.iswinrt() then