Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jun 17th, 2012  |  syntax: None  |  size: 1.01 KB  |  hits: 11  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. solution "example"
  2.     language "C++"
  3.     configurations { "Debug", "Release" }
  4.     flags { "ExtraWarnings", "StaticRuntime" }
  5.  
  6.     -- if you used Homebrew to install boost to these locations...
  7.     if _ACTION == "xcode3" then
  8.         includedirs { "/usr/local/include" }
  9.         libdirs { "/usr/local/lib" }
  10.     end
  11.  
  12.     configuration "Debug"
  13.         defines { "DEBUG" }
  14.         flags { "Symbols" }
  15.         targetdir "build/Debug"
  16.  
  17.     configuration "Release"
  18.         defines { "NDEBUG" }
  19.         flags { "Optimize" }
  20.         targetdir "build/Release"
  21.  
  22.     project "lib"
  23.         kind "StaticLib"
  24.         files { "lib/**.cpp", "lib/**.h", "lib/**.hpp" }
  25.  
  26.     project "app"
  27.         kind "ConsoleApp"
  28.         files { "app/*" }
  29.         files { "app/en.lproj" }
  30.  
  31.         includedirs { "lib" }
  32.         links { "lib" }
  33.  
  34.         linkoptions
  35.             { "-framework OpenGLES"
  36.             , "-framework QuartzCore"
  37.             , "-framework UIKit"
  38.             , "-framework Foundation"
  39.             , "-framework CoreGraphics"
  40.             }