premake/premake4.lua
changeset 10422 34fb2e531f7c
parent 9998 f67cf37e9cd4
equal deleted inserted replaced
10421:55fd4e519a58 10422:34fb2e531f7c
   119 	elseif SDL_getos() == "cygwin" then
   119 	elseif SDL_getos() == "cygwin" then
   120 		premakeTemplateHeader = "./config/SDL_config_cygwin.template.h"
   120 		premakeTemplateHeader = "./config/SDL_config_cygwin.template.h"
   121 	end
   121 	end
   122 
   122 
   123 	local genFile = baseLoc .. "/SDL-gen.lua"
   123 	local genFile = baseLoc .. "/SDL-gen.lua"
   124 	local file = fileopen(genFile, "wt")
   124 	local file = fileopen(genFile, "w")
   125 	print("Generating " .. genFile .. "...")
   125 	print("Generating " .. genFile .. "...")
   126 	-- begin generating the config header file
   126 	-- begin generating the config header file
   127 	startGeneration(premakeConfigHeader, premakeTemplateHeader)
   127 	startGeneration(premakeConfigHeader, premakeTemplateHeader)
   128 
   128 
   129 	-- begin generating the actual premake script
   129 	-- begin generating the actual premake script