aboutsummaryrefslogtreecommitdiff
path: root/premake5.lua
blob: ec0dd9b1614aad4961cf52f491fd9e4a4e5f5195 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
-- Run with
--
--   premake5 gmake && make -j 8

workspace "PanGemma"
   configurations { "Debug", "Release" }

project "PanGemma"
   kind "ConsoleApp"
   language "C++"
   objdir "build/"
   targetdir "build/bin/%{cfg.buildcfg}"

   files { "src/*.h src/*.c src/**.hpp", "src/**.cpp" }
   includedirs { "src/" }
   links { "gsl", "z", "openblas" }

   filter "configurations:Debug"
      defines { "DEBUG" }
      symbols "On"

   filter "configurations:Release"
      defines { "NDEBUG" }
      optimize "On"