Advertisement
Guest User

Untitled

a guest
Mar 10th, 2016
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.18 KB | None | 0 0
  1. --premake4.lua
  2.  
  3. --Solution
  4. solution "3DSpaceSolution"
  5.     configurations {"Debug","Release"}
  6.  
  7.  
  8. --Ohcan Engine
  9. project "OhcanEngine"
  10.  
  11.     kind "StaticLib"
  12.  
  13.     language "C++"
  14.  
  15.     location "vsproject"
  16.  
  17.     targetdir "build"
  18.  
  19.     libdirs
  20.   {
  21.     "depen/GLFW/lib-vc2013"
  22.   }
  23.  
  24.     includedirs
  25.   {  
  26.     "include/Engine",
  27.     "depen/GLFW/include"
  28.   }
  29.  
  30.     files
  31.   {
  32.     "src/Engine/*.cc",
  33.     "include/Engine/*.h"
  34.   }
  35.  
  36.   links
  37.   {
  38.     "glfw3",
  39.     "opengl32"
  40.   }
  41.  
  42.   configuration "Debug"
  43.     defines "_ITERATOR_DEBUG_LEVEL"
  44.     flags "Symbols"
  45.  
  46.   configuration "Release"
  47.     defines "_ITERATOR_DEBUG_LEVEL"
  48.     flags "Optimize"
  49.  
  50. --Project Game
  51. project "3DSpaceGame"
  52.  
  53.     kind "ConsoleApp"
  54.  
  55.     language "C++"
  56.  
  57.     location "vsproject"
  58.  
  59.     targetdir "build"
  60.  
  61.     libdirs
  62.   {
  63.     "build",
  64.     "depen/GLFW/lib-vc2013"
  65.   }
  66.  
  67.     includedirs
  68.   {
  69.     "include"
  70.   }
  71.  
  72.   links
  73.   {
  74.     "OhcanEngine",
  75.     --"glfw3",
  76.     "opengl32"
  77.   }
  78.                  
  79.     files
  80.   {
  81.     "src/Game/**.cc",
  82.     "include/Game/**.h"
  83.   }
  84.  
  85.   configuration "Debug"
  86.     defines "_ITERATOR_DEBUG_LEVEL"
  87.     flags "Symbols"
  88.  
  89.   configuration "Release"
  90.     defines "_ITERATOR_DEBUG_LEVEL"
  91.     flags "Optimize"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement