-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenie.lua
83 lines (65 loc) · 2.19 KB
/
genie.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
solution "boondoggle"
configurations { "Debug", "Release" }
platforms { "x32", "x64" }
includedirs { "include" }
flags { "NoPCH", "NoRTTI", "Unicode", "NativeWChar" }
location ( _ACTION )
defines { "UNICODE", "_UNICODE" }
configuration { "gmake" }
buildoptions { "-std=c++11", "-msse4.1" }
project "boondoggle"
language "C++"
kind "WindowedApp"
files { "boondoggle/**.cpp",
"boondoggle/**.c",
"boondoggle/**.h",
"common/**.cpp",
"common/**.c",
"common/**.h",
"external/ddstextureloader/*.cpp",
"external/ddstextureloader/*.h",
"external/kissfft/*.c",
"external/kissfft/*.h" }
links { "libovr", "D3D11", "dxgi" }
-- Based on how bgfx links the Oculus lib
includedirs { "$(OVR_DIR)/LibOVR/Include" }
configuration "x32"
libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/Win32/Release", _ACTION) }
configuration "x64"
libdirs { path.join("$(OVR_DIR)/LibOVR/Lib/Windows/x64/Release", _ACTION) }
configuration "Debug*"
flags { "Symbols" }
configuration "Release*"
flags { "OptimizeSpeed" }
configuration { "x64", "Debug" }
targetdir ( path.join( "bin", "64", "debug" ) )
configuration { "x64", "Release" }
targetdir ( path.join( "bin", "64", "release" ) )
configuration { "x32", "Debug" }
targetdir ( path.join( "bin", "32", "debug" ) )
configuration { "x32", "Release" }
targetdir ( path.join( "bin", "32", "release" ) )
project "boondoggle_compiler"
language "C++"
kind "ConsoleApp"
files { "compiler/**.cpp",
"compiler/**.c",
"compiler/**.h",
"common/**.cpp",
"common/**.c",
"common/**.h",
"external/json/*.c",
"external/json/*.h" }
links { "d3dcompiler", "D3D11" }
configuration "Debug*"
flags { "Symbols" }
configuration "Release*"
flags { "OptimizeSpeed" }
configuration { "x64", "Debug" }
targetdir ( path.join( "bin", "64", "debug" ) )
configuration { "x64", "Release" }
targetdir ( path.join( "bin", "64", "release" ) )
configuration { "x32", "Debug" }
targetdir ( path.join( "bin", "32", "debug" ) )
configuration { "x32", "Release" }
targetdir ( path.join( "bin", "32", "release" ) )