Source

gltut / framework / framework.lua

Diff from to

framework/framework.lua

 
+local myPath = os.getcwd();
 
 function SetupSolution(slnName)
 	solution(slnName)
 		defines {"_CRT_SECURE_NO_WARNINGS", "_CRT_SECURE_NO_DEPRECATE", "_SCL_SECURE_NO_WARNINGS", "TIXML_USE_STL"}
 		defines {"FREEGLUT_STATIC", "WIN32"}
 		
+	local currPath = os.getcwd();
+	os.chdir(myPath);
+		
 	project "framework"
 		kind "StaticLib"
 		language "c++"
 		configuration "Release"
 			defines {"RELEASE", "NDEBUG"};
 			targetname("framework")
+
+	os.chdir(currPath);
 end
 
 function SetupProject(projName, ...)