Permalink
Browse files

update premake file

  • Loading branch information...
postspectacular committed May 13, 2016
1 parent 3e23049 commit d01c0c0564aefc086dd73905200f4075f10a6122
Showing with 10 additions and 10 deletions.
  1. +1 −0 .gitignore
  2. +9 −10 premake5.lua
View
@@ -3,3 +3,4 @@
*.o
*.make
bin
*.log
View
@@ -1,34 +1,33 @@
workspace "cthing"
configurations { "debug", "release", "test" }
language "C"
includedirs { "src" }
targetdir "bin/%{cfg.buildcfg}"
files { "src/**.h", "src/**.c" }
flags { "Symbols", "FatalWarnings", "C++11" }
----- test
project "test"
removeconfigurations { "debug", "release" }
removeflags "Symbols"
kind "ConsoleApp"
language "C"
targetdir "bin/test"
includedirs { "src" }
files { "src/**.h", "src/**.c", "test/**.c" }
files { "test/**.c" }
filter "configurations:test"
defines { "DEBUG", "TRACE_MPOOL" }
flags { "Symbols" }
optimize "Size"
----- lib
project "lib"
removeconfigurations "test"
kind "StaticLib"
language "C"
targetdir "bin/%{cfg.buildcfg}"
files { "src/**.h", "src/**.c" }
targetname "thing-geom"
filter "configurations:debug"
defines { "DEBUG" }
flags { "Symbols" }
filter "configurations:release"
defines { "NDEBUG" }
optimize "On"
optimize "Size"

0 comments on commit d01c0c0

Please sign in to comment.