More on premake
This commit is contained in:
parent
03748b446b
commit
c5917b2e1a
3 changed files with 29 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
#include "../bmath/math.hpp"
|
||||
#include "../src/bmath/math.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace BMath;
|
||||
|
|
26
premake/maths.lua
Normal file
26
premake/maths.lua
Normal 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" }
|
|
@ -4,3 +4,4 @@ workspace "CppLib"
|
|||
|
||||
include("premake/sse.lua")
|
||||
include("premake/libbmath.lua")
|
||||
include("premake/maths.lua")
|
Loading…
Reference in a new issue