diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/premake5.lua b/premake5.lua index 0c5483d..bb06cbd 100644 --- a/premake5.lua +++ b/premake5.lua @@ -1,6 +1,6 @@ -- Build with -- --- make clean && rm build/Release/ -rf +-- make clean && rm build -rf -- premake5 gmake2 && make verbose=1 gemmalib -j 8 -- -- Including bin @@ -39,10 +39,14 @@ workspace "PanGemma" filter "configurations:Debug" defines { "DEBUG" } + buildoptions { pkg_cpp_flags } + linkoptions { pkg_linker_flags } symbols "On" filter "configurations:Release" defines { "NDEBUG", "HAVE_INLINE" } + buildoptions { pkg_cpp_flags } + linkoptions { pkg_linker_flags } buildoptions { "-pthread", "-Wall" } optimize "Speed" @@ -59,9 +63,11 @@ project "gemma" includedirs { "src/" } links { "openblas" } - filter "configurations:Debug" defines { "DEBUG" } + buildoptions { pkg_cpp_flags } + linkoptions { pkg_linker_flags } + links { "profiler" } symbols "On" filter "configurations:Release" |
