Grant12311

Untitled

Oct 19th, 2020 (edited)
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.22 KB | None | 0 0
  1. workspace("GJGO")
  2.     language("C++")
  3.     toolset("gcc")
  4.     configurations({"Debug", "Release"})
  5.     platforms({"LinuxARM"})
  6.  
  7.     links({"X11", "GL"})
  8.  
  9.     buildoptions({"-std=c++1z", "-Wall", "-Wnon-virtual-dtor", "-Winline", "-Wunreachable-code"})
  10.  
  11.     filter("platforms:LinuxARM")
  12.         architecture("ARM")
  13.         system("linux")
  14.  
  15.         libdirs({"/usr/lib"})
  16.  
  17.     filter("configurations:Debug")
  18.         symbols("On")
  19.         buildoptions({"-pg"})
  20.         linkoptions({"-pg", "-fsanitize=address", "-fsanitize=leak", "-static-libasan"})
  21.  
  22.     filter("configurations:Release")
  23.         optimize("On")
  24.         flags({"LinkTimeOptimization"})
  25.  
  26.     project("Druid")
  27.         filename("Druid")
  28.         kind("StaticLib")
  29.  
  30.         files({"vendor/Druid/src/*", "vendor/Druid/include/*"})
  31.  
  32.     project("GJGO")
  33.         filename("GJGO")
  34.         kind("StaticLib")
  35.         links({"Druid"})
  36.  
  37.         files({"premake5.lua", ".gitignore", "src/*", "include/*"})
  38.  
  39.     project("Game")
  40.         filename("Game")
  41.  
  42.         links({"Druid", "GJGO"})
  43.         files({"game/src/*"})
  44.  
  45.         filter("configurations:Debug")
  46.             kind("ConsoleApp")
  47.  
  48.         filter("configurations:Release")
  49.             kind("WindowedApp")
Add Comment
Please, Sign In to add comment