More on premake

This commit is contained in:
balhau@balhau.net 2021-12-25 20:56:33 +00:00
parent 03748b446b
commit c5917b2e1a
No known key found for this signature in database
GPG key ID: 1E666F326A121830
3 changed files with 29 additions and 2 deletions

View file

@ -1,4 +1,4 @@
#include "../bmath/math.hpp"
#include "../src/bmath/math.hpp"
#include <iostream>
using namespace BMath;

26
premake/maths.lua Normal file
View file

@ -0,0 +1,26 @@
project "maths"
kind "ConsoleApp"
language "c++"
targetdir "../bin/%{cfg.buildcfg}"
objdir "../obj"
--files {"**.hpp","**.cpp"}
files {
"../app/math.cpp",
"../src/bmath/**.hpp",
"../src/bmath/**.cpp",
"../src/misc/**.hpp",
"../src/misc/**.cpp",
"../src/cpu/**.hpp",
"../src/cpu/**.cpp"
}
filter "configurations:Debug"
defines { "DEBUG" }
symbols "On"
filter "configurations:Release"
defines { "NDEBUG" }
optimize "On"
filter { "system:linux" }

View file

@ -4,3 +4,4 @@ workspace "CppLib"
include("premake/sse.lua")
include("premake/libbmath.lua")
include("premake/maths.lua")