mirror of
				https://github.com/Laupetin/OpenAssetTools.git
				synced 2025-10-30 18:17:15 +00:00 
			
		
		
		
	Add premake scripts for projects
This commit is contained in:
		
							
								
								
									
										30
									
								
								src/ZoneCommon.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								src/ZoneCommon.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,30 @@ | ||||
| ZoneCommon = {} | ||||
|  | ||||
| function ZoneCommon:include() | ||||
| 	includedirs { | ||||
| 		path.join(ProjectFolder(), "ZoneCommon") | ||||
| 	} | ||||
| end | ||||
|  | ||||
| function ZoneCommon:link() | ||||
| 	links { | ||||
| 		"ZoneCommon" | ||||
| 	} | ||||
| end | ||||
|  | ||||
| function ZoneCommon:project() | ||||
| 	local folder = ProjectFolder(); | ||||
|  | ||||
| 	project "ZoneCommon" | ||||
|         targetdir(TargetDirectoryLib) | ||||
| 		location "%{wks.location}/src" | ||||
| 		kind "StaticLib" | ||||
| 		language "C++" | ||||
| 		 | ||||
| 		files { | ||||
| 			path.join(folder, "ZoneCommon/**.h"),  | ||||
| 			path.join(folder, "ZoneCommon/**.cpp")  | ||||
| 		} | ||||
| 		 | ||||
|         self:include() | ||||
| end | ||||
		Reference in New Issue
	
	Block a user