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:
		
							
								
								
									
										33
									
								
								src/Linker.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								src/Linker.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,33 @@ | ||||
| Linker = {} | ||||
|  | ||||
| function Linker:include() | ||||
| 	includedirs { | ||||
| 		path.join(ProjectFolder(), "Linker") | ||||
| 	} | ||||
| end | ||||
|  | ||||
| function Linker:link() | ||||
|      | ||||
| end | ||||
|  | ||||
| function Linker:project() | ||||
| 	local folder = ProjectFolder(); | ||||
|  | ||||
| 	project "Linker" | ||||
|         targetdir(TargetDirectoryBin) | ||||
| 		location "%{wks.location}/src" | ||||
| 		kind "ConsoleApp" | ||||
| 		language "C++" | ||||
| 		 | ||||
| 		files { | ||||
| 			path.join(folder, "Linker/**.h"),  | ||||
| 			path.join(folder, "Linker/**.cpp")  | ||||
| 		} | ||||
| 		 | ||||
| 		self:include() | ||||
| 		Utils:include() | ||||
|         ZoneWriting:include() | ||||
|  | ||||
| 		Utils:link() | ||||
|         --ZoneWriting:link() | ||||
| end | ||||
		Reference in New Issue
	
	Block a user