diff options
Diffstat (limited to 'premake5.lua')
| -rw-r--r-- | premake5.lua | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/premake5.lua b/premake5.lua index c5cf597..40aaa01 100644 --- a/premake5.lua +++ b/premake5.lua @@ -4,7 +4,7 @@ -- -- Including bin -- --- premake5 gmake2 && make verbose=1 config=debug +-- premake5 gmake2 && make verbose=1 config=debug -j 8 && LD_LIBRARY_PATH=$GUIX_ENVIRONMENT/lib ./build/bin/Debug/gemma -- -- Or -- @@ -12,7 +12,7 @@ -- -- Run -- --- LD_LIBRARY_PATH=$GUIX_ENVIRONMENT/lib ./build/bin/Debug/PanGemma +-- LD_LIBRARY_PATH=$GUIX_ENVIRONMENT/lib ./build/bin/Debug/gemma -- -- Next we start using the API from guile with -- @@ -43,8 +43,6 @@ workspace "PanGemma" defines { "NDEBUG" } optimize "On" - - project "gemma" kind "ConsoleApp" defines { "OPENBLAS" } @@ -52,10 +50,11 @@ project "gemma" objdir "build/" targetdir "build/bin/%{cfg.buildcfg}" + includedirs { os.getenv("GUIX_ENVIRONMENT") .. "/include/guile/3.0" } files { "src/*.h src/*.c src/**.hpp", "src/**.cpp" } removefiles { "src/gemma_api.cpp" } includedirs { "src/" } - links { "gsl", "z", "openblas" } + links { "gsl", "z", "openblas", "guile-3.0" } filter "configurations:Debug" defines { "DEBUG" } |
