Skip to content
Snippets Groups Projects
Commit 33e091f9 authored by DarkGod's avatar DarkGod
Browse files

awesome build win

parent 38955d19
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,11 @@ newoption {
description = "Steam integration"
}
newoption {
trigger = "disable-awesomium",
description = "Disable using awesomium embedded browser"
}
newoption {
trigger = "wincross",
description = "Enables cross-compilation for windows (from linux)"
......
......@@ -138,7 +138,7 @@ project "TEngine"
----------------------------------------------------------------
----------------------------------------------------------------
project "physfs"
kind "SharedLib"
kind "StaticLib"
language "C"
targetname "physfs"
......@@ -339,7 +339,7 @@ elseif _OPTIONS.lua == "jit2" then
postbuildcommands { "cp ../bin/Release/buildvm ../src/luajit2/src/", }
project "luajit2"
kind "SharedLib"
kind "StaticLib"
language "C"
targetname "lua"
links { "buildvm" }
......@@ -512,6 +512,7 @@ project "te4-bzip"
files { "../src/bzip2/*.c", }
if not _OPTIONS['disable-awesomium'] and not _OPTIONS.wincross then
project "te4-web"
kind "SharedLib"
language "C++"
......@@ -519,9 +520,10 @@ project "te4-web"
libdirs {"/Test/awesomium_v1.7.2_sdk_linux64/bin/"}
includedirs {"/Test/awesomium_v1.7.2_sdk_linux64/include/"}
links { "awesomium-1-7", "lua".._OPTIONS.lua }
links { "awesomium-1-7" }
files { "../src/web/*.cpp", }
end
if _OPTIONS.steam then
dofile("../steamworks/build/steam-code.lua")
......
......@@ -75,7 +75,7 @@ configuration "Debug"
defines { }
flags { "Symbols" }
buildoptions { "-ggdb" }
buildoptions { "-O3" }
-- buildoptions { "-O3" }
targetdir "bin/Debug"
if _OPTIONS.luaassert then defines {"LUA_USE_APICHECK"} end
if _OPTIONS.pedantic then buildoptions { "-Wall" } end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment