-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpremake5.lua
45 lines (36 loc) · 1.05 KB
/
premake5.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
workspace "nova-ecs"
configurations { "debug", "profiler", "release" }
platforms { "x64", "x32" }
startproject "test"
characterset "MBCS"
location( build_root )
language "C++"
flags { "NoPCH", "StaticRuntime" }
warnings "Extra"
debugdir "."
filter { "platforms:*32" } architecture "x86"
filter { "platforms:*64" } architecture "x64"
filter { "configurations:debug" }
defines { "DEBUG" }
symbols "On"
objdir "build/debug"
targetdir "bin/debug"
filter { "configurations:debug", "action:vs*" }
optimize "Debug"
filter { "configurations:release" }
defines { "NDEBUG" }
optimize "Full"
objdir "build/release"
targetdir "bin/release"
filter { "system:windows", "action:vs*"}
defines { "_SECURE_SCL=0", "_CRT_SECURE_NO_WARNINGS=1" }
buildoptions { "/std:c++latest", "/permissive-" }
flags { "MultiProcessorCompile" }
filter {}
project "test"
language "C++"
kind "ConsoleApp"
files { "test.cc", "nova-ecs/**.hh", "nova-ecs/**.cc" }
includedirs { "nova-ecs" }
location ("build/".._ACTION)
targetname "test"