
Untitled
By: a guest on
Jun 17th, 2012 | syntax:
None | size: 1.01 KB | hits: 11 | expires: Never
solution "example"
language "C++"
configurations { "Debug", "Release" }
flags { "ExtraWarnings", "StaticRuntime" }
-- if you used Homebrew to install boost to these locations...
if _ACTION == "xcode3" then
includedirs { "/usr/local/include" }
libdirs { "/usr/local/lib" }
end
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols" }
targetdir "build/Debug"
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize" }
targetdir "build/Release"
project "lib"
kind "StaticLib"
files { "lib/**.cpp", "lib/**.h", "lib/**.hpp" }
project "app"
kind "ConsoleApp"
files { "app/*" }
files { "app/en.lproj" }
includedirs { "lib" }
links { "lib" }
linkoptions
{ "-framework OpenGLES"
, "-framework QuartzCore"
, "-framework UIKit"
, "-framework Foundation"
, "-framework CoreGraphics"
}