forked from litehtml/litehtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpremake4.lua
More file actions
54 lines (41 loc) · 1.12 KB
/
premake4.lua
File metadata and controls
54 lines (41 loc) · 1.12 KB
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
46
47
48
49
50
51
52
53
54
newoption
{
trigger = "ios",
description = "generates ios project without native target"
}
solution "litehtml"
configurations { "release", "debug" }
defines { "LITEHTML_UTF8" }
targetname "litehtml"
language "C++"
kind "StaticLib"
files
{
"src/**.cpp", "src/**.h"
}
if _OPTIONS[ "ios" ] then
platforms { "ios" }
else
platforms { "x32", "x64" }
end
configuration "debug"
defines { "_DEBUG" }
flags { "Symbols" }
targetsuffix "_d"
configuration "release"
defines { "NDEBUG" }
flags { "OptimizeSize" }
configuration "windows"
defines { "WIN32" }
includedirs "src/gumbo/vs/"
configuration "macosx"
cppbuildoptions{ "-stdlib=libc++" }
configuration {}
project "litehtml"
if not os.is("windows") then
buildoptions { "-std=c++11", "-Wno-error=unused-variable", "-Wno-error=unused-parameter" }
end
configuration "x32"
targetdir "bin/i386"
configuration "x64"
targetdir "bin/x64_86"