Initial commit.
This commit is contained in:
27
premake5.lua
Normal file
27
premake5.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
PLATFORM = os.target()
|
||||
|
||||
ARCH = "x86_64"
|
||||
|
||||
workspace "pwdin"
|
||||
configurations { "Debug", "Release" }
|
||||
|
||||
project "pwdin"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
targetdir "bin/%{cfg.buildcfg}"
|
||||
location "build/"
|
||||
|
||||
buildoptions({ "-Wall", "-Wextra" })
|
||||
|
||||
files {"pwdin.h", "pwdin.c"}
|
||||
|
||||
filter "configurations:Debug"
|
||||
defines {"DEBUG"}
|
||||
symbols "On"
|
||||
|
||||
filter "configurations:Release"
|
||||
defines {"NDEBUG"}
|
||||
optimize "On"
|
||||
|
||||
filter {}
|
||||
|
Reference in New Issue
Block a user