228228-- SoftFloat library objects
229229---- ----------------------------------------------
230230
231+ if _OPTIONS [" with-emulator" ] then
231232project " softfloat"
232233 uuid " 04fbf89e-4761-4cf2-8a12-64500cf0c5c5"
233234 kind " StaticLib"
@@ -265,12 +266,14 @@ end
265266 MAME_DIR .. " 3rdparty/softfloat/fyl2x.c" ,
266267 MAME_DIR .. " 3rdparty/softfloat/f2xm1.c" ,
267268 }
269+ end
268270
269271
270272---- ----------------------------------------------
271273-- SoftFloat 3 library objects
272274---- ----------------------------------------------
273275
276+ if _OPTIONS [" with-emulator" ] then
274277project " softfloat3"
275278 uuid " 9c22fc90-53fd-11e8-b566-0800200c9a66"
276279 kind " StaticLib"
@@ -629,13 +632,14 @@ end
629632 MAME_DIR .. " 3rdparty/softfloat3/bochs_ext/poly.c" ,
630633 MAME_DIR .. " 3rdparty/softfloat3/bochs_ext/extF80_scale.c" ,
631634 }
635+ end
632636
633637
634638---- ---------------------------------------------
635639-- libJPEG library objects
636640---- ----------------------------------------------
637641
638- if not _OPTIONS [" with-system-jpeg" ] then
642+ if _OPTIONS [ " with-emulator " ] and not _OPTIONS [" with-system-jpeg" ] then
639643project " jpeg"
640644 uuid " 447c6800-dcfd-4c48-b72a-a8223bb409ca"
641645 kind " StaticLib"
954958---- ----------------------------------------------
955959if (STANDALONE ~= true ) then
956960
957- if not _OPTIONS [" with-system-lua" ] then
961+ if _OPTIONS [ " with-emulator " ] and not _OPTIONS [" with-system-lua" ] then
958962project " lua"
959963 uuid " d9e2eed1-f1ab-4737-a6ac-863700b1a5a9"
960964 kind " StaticLib"
@@ -1044,6 +1048,7 @@ end
10441048-- small lua library objects
10451049---- ----------------------------------------------
10461050
1051+ if _OPTIONS [" with-emulator" ] then
10471052project " lualibs"
10481053 uuid " 1d84edab-94cf-48fb-83ee-b75bc697660e"
10491054 kind " StaticLib"
@@ -1093,12 +1098,13 @@ project "lualibs"
10931098 MAME_DIR .. " 3rdparty/luafilesystem/src/lfs.c" ,
10941099 MAME_DIR .. " 3rdparty/lua-linenoise/linenoise.c" ,
10951100 }
1101+ end
10961102
10971103---- ----------------------------------------------
10981104-- SQLite3 library objects
10991105---- ----------------------------------------------
11001106
1101- if not _OPTIONS [" with-system-sqlite3" ] then
1107+ if _OPTIONS [ " with-emulator " ] and not _OPTIONS [" with-system-sqlite3" ] then
11021108project " sqlite3"
11031109 uuid " 5cb3d495-57ed-461c-81e5-80dc0857517d"
11041110 kind " StaticLib"
@@ -1240,6 +1246,7 @@ end
12401246-- BX library objects
12411247---- ----------------------------------------------
12421248
1249+ if _OPTIONS [" with-emulator" ] then
12431250project " bx"
12441251 uuid " 238318fe-49f5-4eb4-88be-0618900f5eac"
12451252 kind " StaticLib"
@@ -1318,12 +1325,14 @@ project "bx"
13181325 MAME_DIR .. " 3rdparty/bx/src/timer.cpp" ,
13191326 MAME_DIR .. " 3rdparty/bx/src/url.cpp" ,
13201327 }
1328+ end
13211329
13221330
13231331---- ----------------------------------------------
13241332-- BIMG library objects
13251333---- ----------------------------------------------
13261334
1335+ if _OPTIONS [" with-emulator" ] then
13271336project " bimg"
13281337 uuid " 5603611b-8bf8-4ffd-85bc-76858cd7df39"
13291338 kind " StaticLib"
@@ -1437,12 +1446,14 @@ project "bimg"
14371446
14381447 MAME_DIR .. " 3rdparty/bimg/3rdparty/tinyexr/deps/miniz/miniz.c" ,
14391448 }
1449+ end
14401450
14411451
14421452---- ----------------------------------------------
14431453-- BGFX library objects
14441454---- ----------------------------------------------
14451455
1456+ if _OPTIONS [" with-emulator" ] then
14461457project " bgfx"
14471458 uuid " d3e7e119-35cf-4f4f-aba0-d3bdcd1b879a"
14481459 kind " StaticLib"
@@ -1633,6 +1644,7 @@ end
16331644 " -D BGFX_CONFIG_MULTITHREADED=0" ,
16341645 }
16351646 end
1647+ end
16361648
16371649
16381650---- ----------------------------------------------
@@ -1813,6 +1825,7 @@ end
18131825-- linenoise library
18141826---- ----------------------------------------------
18151827
1828+ if _OPTIONS [" with-emulator" ] then
18161829project " linenoise"
18171830 uuid " 7320ffc8-2748-4add-8864-ae29b72a8511"
18181831 kind (LIBTYPE )
@@ -1839,6 +1852,7 @@ project "linenoise"
18391852 MAME_DIR .. " 3rdparty/linenoise/stringbuf.c" ,
18401853 MAME_DIR .. " 3rdparty/linenoise/utf8.c" ,
18411854 }
1855+ end
18421856
18431857
18441858---- ----------------------------------------------
@@ -1875,6 +1889,7 @@ end
18751889-- wdlfft library objects (from Cockos WDL)
18761890---- ----------------------------------------------
18771891
1892+ if _OPTIONS [" with-emulator" ] then
18781893project " wdlfft"
18791894 uuid " 74ca017e-fa0d-48b8-81d6-8081a37be14c"
18801895 kind " StaticLib"
@@ -1890,12 +1905,14 @@ project "wdlfft"
18901905 MAME_DIR .. " 3rdparty/wdlfft/fft.c" ,
18911906 MAME_DIR .. " 3rdparty/wdlfft/fft.h"
18921907 }
1908+ end
18931909
18941910
18951911---- ----------------------------------------------
18961912-- ymfm library objects
18971913---- ----------------------------------------------
18981914
1915+ if _OPTIONS [" with-emulator" ] then
18991916project " ymfm"
19001917 uuid " 2403a536-cb0a-4b50-b41f-10c17917689b"
19011918 kind " StaticLib"
@@ -1928,6 +1945,7 @@ project "ymfm"
19281945 MAME_DIR .. " 3rdparty/ymfm/src/ymfm_ssg.cpp" ,
19291946 MAME_DIR .. " 3rdparty/ymfm/src/ymfm_ssg.h" ,
19301947 }
1948+ end
19311949
19321950
19331951---- ----------------------------------------------
0 commit comments