forked from P-i-N/json5
-
Notifications
You must be signed in to change notification settings - Fork 0
/
premake5.lua
42 lines (34 loc) · 982 Bytes
/
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
workspace "json5"
-- Premake output folder
location(path.join(".build", _ACTION))
-- Target architecture
architecture "x86_64"
-- Configuration settings
configurations { "Debug", "Release" }
-- Debug configuration
filter { "configurations:Debug" }
defines { "DEBUG" }
symbols "On"
optimize "Off"
-- Release configuration
filter { "configurations:Release" }
defines { "NDEBUG" }
optimize "Speed"
inlining "Auto"
filter { "language:not C#" }
defines { "_CRT_SECURE_NO_WARNINGS" }
characterset ("MBCS")
buildoptions { "/std:c++latest" }
filter { }
targetdir ".bin/%{cfg.longname}/"
defines { "WIN32", "_AMD64_" }
--exceptionhandling "Off"
rtti "Off"
vectorextensions "AVX2"
-------------------------------------------------------------------------------
project "test"
language "C++"
kind "ConsoleApp"
files { "test/**.cpp", "test/**.hpp", "include/**.hpp", "include/**.inl", "**.natvis" }
includedirs { "include" }
debugdir "test"