Skip to content

Commit

Permalink
premake: use tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
JaCzekanski committed Sep 17, 2019
1 parent 2e77d25 commit 727088e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require "./premake/androidmk"

workspace "Avocado"
configurations { "debug", "release" }
startproject "avocado"
startproject "avocado"

ndkstl "c++_static"
ndkplatform "android-24"
Expand All @@ -22,31 +22,31 @@ filter "options:enable-io-log"
defines "ENABLE_IO_LOG"

newoption {
trigger = "asan",
description = "Build with Address Sanitizer enabled"
trigger = "asan",
description = "Build with Address Sanitizer enabled"
}
filter "options:asan"
symbols "On"
buildoptions {"-fsanitize=address"}
buildoptions {"-fsanitize=address"}
linkoptions {"-fsanitize=address"}

newoption {
trigger = "msan",
description = "Build with Memory Sanitizer enabled"
trigger = "msan",
description = "Build with Memory Sanitizer enabled"
}
filter "options:msan"
symbols "On"
buildoptions {"-fsanitize=memory"}
buildoptions {"-fsanitize=memory"}
linkoptions {"-fsanitize=memory"}

newoption {
trigger = "ubsan",
description = "Build with Undefined Behaviour Sanitizer enabled"
trigger = "ubsan",
description = "Build with Undefined Behaviour Sanitizer enabled"
}
filter "options:ubsan"
symbols "On"
buildoptions {"-fsanitize=undefined"}
linkoptions {"-fsanitize=undefined"}
buildoptions {"-fsanitize=undefined"}
linkoptions {"-fsanitize=undefined"}

filter {}
language "c++"
Expand Down Expand Up @@ -149,7 +149,7 @@ project "core"
"externals/EventBus/lib/include",
"externals/magic_enum/include",
"externals/fmt/include",
"externals/cereal/include",
"externals/cereal/include",
}

files {
Expand Down Expand Up @@ -190,10 +190,10 @@ project "avocado"
"externals/stb",
"externals/libchdr/src",
"externals/filesystem/include",
"externals/EventBus/lib/include",
"externals/EventBus/lib/include",
"externals/magic_enum/include",
"externals/fmt/include",
"externals/cereal/include",
"externals/cereal/include",
}

links {
Expand Down Expand Up @@ -257,7 +257,7 @@ project "avocado"


filter {"system:macosx"}
kind "WindowedApp"
kind "WindowedApp"
files {
"src/imgui/**.*",
"src/renderer/opengl/**.*",
Expand Down

0 comments on commit 727088e

Please sign in to comment.