1
- solution (" base" )
1
+ workspace (" base" )
2
2
targetdir (" bin" )
3
+ debugdir (" bin" )
3
4
4
5
configurations {" Debug" , " Release" }
5
- defines { " GLM_FORCE_RADIANS" , " QOR_NO_PYTHON " , " QOR_NO_CAIRO " , " QOR_NO_NET " }
6
+ defines { " GLM_FORCE_RADIANS" , " NOMINMAX " }
6
7
7
8
-- Debug Config
8
9
configuration " Debug"
9
10
defines { " DEBUG" , " BACKWARD_HAS_BFD=1" }
10
- flags { " Symbols " }
11
+ symbols " On "
11
12
linkoptions { }
12
13
13
14
configuration " gmake"
@@ -30,8 +31,6 @@ solution("base")
30
31
-- buildoptions { "-std=c++11", "-pedantic", "-Wall", "-Wextra", '-v', '-fsyntax-only'}
31
32
links {
32
33
" pthread" ,
33
- " GL" ,
34
- " GLU" ,
35
34
" SDL2_ttf" ,
36
35
" SDL2" ,
37
36
" GLEW" ,
@@ -43,14 +42,14 @@ solution("base")
43
42
" vorbis" ,
44
43
" vorbisfile" ,
45
44
" boost_system" ,
46
- " boost_thread" ,
47
45
" boost_filesystem" ,
48
- " boost_python" ,
49
46
" boost_coroutine" ,
47
+ " boost_python" ,
50
48
" boost_regex" ,
51
49
" jsoncpp" ,
52
50
" z" ,
53
- " BulletSoftBody" ,
51
+ " RakNetDLL" ,
52
+ -- "BulletSoftBody",
54
53
" BulletDynamics" ,
55
54
" BulletCollision" ,
56
55
" LinearMath" ,
@@ -77,57 +76,84 @@ solution("base")
77
76
" `python2-config --libs`" ,
78
77
" `pkg-config --libs cairomm-1.0 pangomm-1.4`"
79
78
}
79
+
80
+ configuration " linux"
81
+ links {
82
+ " GL" ,
83
+ " boost_thread" ,
84
+ }
85
+
80
86
-- OS X Config
81
87
configuration " macosx"
88
+ links {
89
+ " boost_thread-mt" ,
90
+ }
91
+ buildoptions { " -framework OpenGL" }
92
+ linkoptions { " -framework OpenGL" }
93
+
82
94
buildoptions { " -U__STRICT_ANSI__" , " -stdlib=libc++" }
83
95
linkoptions { " -stdlib=libc++" }
84
96
85
97
configuration " windows"
98
+ toolset " v141"
99
+ flags { " MultiProcessorCompile" }
100
+
86
101
links {
87
102
" ws2_32" ,
88
- -- "glibmm.dll",
89
- -- "cairomm.dll",
90
- -- "pangomm.dll",
103
+ " glibmm.dll.lib " ,
104
+ " cairomm.dll.lib " ,
105
+ " pangomm.dll.lib " ,
91
106
" SDL2main" ,
92
107
" OpenGL32" ,
93
108
" GLU32" ,
94
- " SDL2_ttf" ,
95
109
" SDL2" ,
110
+ " SDL2_ttf" ,
96
111
" GLEW32" ,
97
112
" assimp" ,
98
113
" freeimage" ,
99
- " openal32 " ,
114
+ " OpenAL32 " ,
100
115
" alut" ,
101
116
" libogg" ,
102
117
" libvorbis" ,
103
118
" libvorbisfile" ,
104
- " boost_system-vc140-mt-1_61" ,
105
- " boost_thread-vc140-mt-1_61" ,
106
- " boost_python-vc140-mt-1_61" ,
107
- " boost_coroutine-vc140-mt-1_61" ,
108
- " boost_regex-vc140-mt-1_61" ,
119
+ -- "boost_system-vc141-mt-1_64",
120
+ -- "boost_filesystem-vc141-mt-1_64",
121
+ -- "boost_thread-vc141-mt-1_64",
122
+ " python27" ,
123
+ -- "boost_python-vc141-mt-1_64",
124
+ -- "boost_coroutine-vc141-mt-1_64",
125
+ -- "boost_regex-vc141-mt-1_64",
109
126
" lib_json" ,
110
- " BulletSoftBody" ,
111
- " BulletDynamics" ,
112
- " BulletCollision" ,
113
- " LinearMath" ,
114
127
}
115
128
116
129
includedirs {
117
- " c:/local/boost_1_61_0" ,
130
+ " c:/Python27/include" ,
131
+ " c:/gtkmm/lib/pangomm/include" ,
132
+ " c:/gtkmm/lib/sigc++/include" ,
133
+ " c:/gtkmm/lib/cairomm/include" ,
134
+ " c:/gtkmm/include/pango" ,
135
+ " c:/gtkmm/include/pangomm" ,
136
+ " c:/gtkmm/include/sigc++" ,
137
+ " c:/gtkmm/include" ,
138
+ " c:/gtkmm/include/cairo" ,
139
+ " c:/gtkmm/lib/glib/include" ,
140
+ " c:/gtkmm/include/glib" ,
141
+ " c:/gtkmm/lib/glibmm/include" ,
142
+ " c:/gtkmm/include/glibmm" ,
143
+ " c:/gtkmm/include/cairomm" ,
144
+ " c:/gtkmm/include" ,
145
+ " c:/local/boost_1_64_0" ,
118
146
" c:/Program Files (x86)/OpenAL 1.1 SDK/include" ,
119
147
" c:/msvc/include" ,
120
148
}
121
149
configuration { " windows" , " Debug" }
122
150
libdirs { " c:/msvc/lib32/debug" }
123
151
links {
124
- " libboost_filesystem-vc140-mt-gd-1_61" ,
125
152
" RakNet_VS2008_LibStatic_Debug_Win32" ,
126
153
}
127
154
configuration {}
128
155
configuration { " windows" , " Release" }
129
156
links {
130
- " libboost_filesystem-vc140-mt-1_61" ,
131
157
" RakNet_VS2008_LibStatic_Release_Win32" ,
132
158
}
133
159
configuration { " windows" }
@@ -136,13 +162,10 @@ solution("base")
136
162
" c:/Program Files (x86)/OpenAL 1.1 SDK/libs/Win32" ,
137
163
" c:/msvc/lib32" ,
138
164
" c:/gtkmm/lib" ,
139
- " c:/local/boost_1_61_0/lib32-msvc-14.0" ,
165
+ " c:/local/boost_1_64_0/lib32-msvc-14.1" ,
166
+ " C:/Python27/libs" ,
140
167
}
141
- -- buildoptions {
142
- -- "/MP",
143
- -- "/Gm-",
144
- -- }
145
-
168
+
146
169
project " base"
147
170
kind " WindowedApp"
148
171
language " C++"
@@ -176,3 +199,4 @@ solution("base")
176
199
" /usr/include/bullet/" ,
177
200
" /usr/include/raknet/DependentExtensions"
178
201
}
202
+
0 commit comments