@@ -61,7 +61,7 @@ project "cpprest"
61
61
-- configurations
62
62
-- -------------------------------------------------------------
63
63
64
- if (os . is ( " windows " ) and not _TARGET_IS_WINUWP ) then
64
+ if (_PLATFORM_WINDOWS ) then
65
65
-- -------------------------------------------------------------
66
66
-- configuration { "windows" }
67
67
-- -------------------------------------------------------------
@@ -139,7 +139,7 @@ project "cpprest"
139
139
-- -------------------------------------------------------------
140
140
end
141
141
142
- if (os . is ( " linux " ) and not _OS_IS_ANDROID ) then
142
+ if (_PLATFORM_LINUX ) then
143
143
-- -------------------------------------------------------------
144
144
-- configuration { "linux" }
145
145
-- -------------------------------------------------------------
@@ -215,7 +215,7 @@ project "cpprest"
215
215
-- -------------------------------------------------------------
216
216
end
217
217
218
- if (os . is ( " macosx " ) and not _OS_IS_IOS and not _OS_IS_ANDROID ) then
218
+ if (_PLATFORM_MACOS ) then
219
219
-- -------------------------------------------------------------
220
220
-- configuration { "macosx" }
221
221
-- -------------------------------------------------------------
@@ -259,9 +259,101 @@ project "cpprest"
259
259
-- -------------------------------------------------------------
260
260
end
261
261
262
- if (_OS_IS_IOS ) then
262
+ if (_PLATFORM_COCOA ) then
263
263
-- -------------------------------------------------------------
264
- -- configuration { "ios" } == _OS_IS_IOS
264
+ -- configuration { "cocoa*" }
265
+ -- -------------------------------------------------------------
266
+
267
+ -- common configuration settings
268
+
269
+ dofile (_BUILD_DIR .. " /static_cocoa.lua" )
270
+
271
+ -- project specific configuration settings
272
+
273
+ configuration { " cocoa*" }
274
+
275
+ files {
276
+ " Release/src/pplx/pplxapple.cpp" ,
277
+ }
278
+
279
+ -- -------------------------------------------------------------
280
+ -- configuration { "cocoa_arm64_debug" }
281
+ -- -------------------------------------------------------------
282
+
283
+ -- common configuration settings
284
+
285
+ dofile (_BUILD_DIR .. " /static_cocoa_arm64_debug.lua" )
286
+
287
+ -- project specific configuration settings
288
+
289
+ -- configuration { "cocoa_arm64_debug" }
290
+
291
+ -- -------------------------------------------------------------
292
+ -- configuration { "cocoa_arm64_release" }
293
+ -- -------------------------------------------------------------
294
+
295
+ -- common configuration settings
296
+
297
+ dofile (_BUILD_DIR .. " /static_cocoa_arm64_release.lua" )
298
+
299
+ -- project specific configuration settings
300
+
301
+ -- configuration { "cocoa_arm64_release" }
302
+
303
+ -- -------------------------------------------------------------
304
+ -- configuration { "cocoa_sim64_debug" }
305
+ -- -------------------------------------------------------------
306
+
307
+ -- common configuration settings
308
+
309
+ dofile (_BUILD_DIR .. " /static_cocoa_sim64_debug.lua" )
310
+
311
+ -- project specific configuration settings
312
+
313
+ -- configuration { "cocoa_sim64_debug" }
314
+
315
+ -- -------------------------------------------------------------
316
+ -- configuration { "cocoa_sim64_release" }
317
+ -- -------------------------------------------------------------
318
+
319
+ -- common configuration settings
320
+
321
+ dofile (_BUILD_DIR .. " /static_cocoa_sim64_release.lua" )
322
+
323
+ -- project specific configuration settings
324
+
325
+ -- configuration { "cocoa_sim64_release" }
326
+
327
+ -- -------------------------------------------------------------
328
+ -- configuration { "cocoa_x64_debug" }
329
+ -- -------------------------------------------------------------
330
+
331
+ -- common configuration settings
332
+
333
+ dofile (_BUILD_DIR .. " /static_cocoa_x64_debug.lua" )
334
+
335
+ -- project specific configuration settings
336
+
337
+ -- configuration { "cocoa_x64_debug" }
338
+
339
+ -- -------------------------------------------------------------
340
+ -- configuration { "cocoa_x64_release" }
341
+ -- -------------------------------------------------------------
342
+
343
+ -- common configuration settings
344
+
345
+ dofile (_BUILD_DIR .. " /static_cocoa_x64_release.lua" )
346
+
347
+ -- project specific configuration settings
348
+
349
+ -- configuration { "cocoa_x64_release" }
350
+
351
+ -- -------------------------------------------------------------
352
+ end
353
+
354
+ if (_PLATFORM_IOS ) then
355
+ -- -------------------------------------------------------------
356
+ -- configuration { "ios*" }
265
357
-- -------------------------------------------------------------
266
358
267
359
-- common configuration settings
@@ -327,9 +419,9 @@ project "cpprest"
327
419
-- -------------------------------------------------------------
328
420
end
329
421
330
- if (_OS_IS_ANDROID ) then
422
+ if (_PLATFORM_ANDROID ) then
331
423
-- -------------------------------------------------------------
332
- -- configuration { "android" } == _OS_IS_ANDROID
424
+ -- configuration { "android* " }
333
425
-- -------------------------------------------------------------
334
426
335
427
-- common configuration settings
@@ -451,9 +543,9 @@ project "cpprest"
451
543
-- -------------------------------------------------------------
452
544
end
453
545
454
- if (_TARGET_IS_WINUWP ) then
546
+ if (_PLATFORM_WINUWP ) then
455
547
-- -------------------------------------------------------------
456
- -- configuration { "winuwp " } == _TARGET_IS_WINUWP
548
+ -- configuration { "windows " }
457
549
-- -------------------------------------------------------------
458
550
459
551
-- common configuration settings
@@ -530,30 +622,6 @@ project "cpprest"
530
622
531
623
-- configuration { "winuwp_release", "x64" }
532
624
533
- -- -------------------------------------------------------------
534
- -- configuration { "winuwp_debug", "ARM" }
535
- -- -------------------------------------------------------------
536
-
537
- -- common configuration settings
538
-
539
- dofile (_BUILD_DIR .. " /static_winuwp_arm_debug.lua" )
540
-
541
- -- project specific configuration settings
542
-
543
- -- configuration { "winuwp_debug", "ARM" }
544
-
545
- -- -------------------------------------------------------------
546
- -- configuration { "winuwp_release", "ARM" }
547
- -- -------------------------------------------------------------
548
-
549
- -- common configuration settings
550
-
551
- dofile (_BUILD_DIR .. " /static_winuwp_arm_release.lua" )
552
-
553
- -- project specific configuration settings
554
-
555
- -- configuration { "winuwp_release", "ARM" }
556
-
557
625
-- -------------------------------------------------------------
558
626
-- configuration { "winuwp_debug", "ARM64" }
559
627
-- -------------------------------------------------------------
0 commit comments