Skip to content

Commit 84ad56f

Browse files
authored
Fix documentation of port settings. NFC (#17861)
Fixes: #17838
1 parent 0fbf9cf commit 84ad56f

File tree

1 file changed

+25
-24
lines changed

1 file changed

+25
-24
lines changed

src/settings.js

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,95 +1398,96 @@ var LEGALIZE_JS_FFI = true;
13981398
// 2 is a port of the SDL C code on emscripten-ports
13991399
// When AUTO_JS_LIBRARIES is set to 0 this defaults to 0 and SDL
14001400
// is not linked in.
1401-
// [link]
1401+
// [compile+link]
14021402
var USE_SDL = 1;
14031403

14041404
// Specify the SDL_gfx version that is being linked against. Must match USE_SDL
1405-
// [link]
1405+
// [compile+link]
14061406
var USE_SDL_GFX = 0;
14071407

14081408
// Specify the SDL_image version that is being linked against. Must match USE_SDL
1409-
// [link]
1409+
// [compile+link]
14101410
var USE_SDL_IMAGE = 1;
14111411

14121412
// Specify the SDL_ttf version that is being linked against. Must match USE_SDL
1413-
// [link]
1413+
// [compile+link]
14141414
var USE_SDL_TTF = 1;
14151415

14161416
// Specify the SDL_net version that is being linked against. Must match USE_SDL
1417-
// [link]
1417+
// [compile+link]
14181418
var USE_SDL_NET = 1;
14191419

14201420
// 1 = use icu from emscripten-ports
1421-
// [link]
1421+
// [compile+link]
14221422
var USE_ICU = false;
14231423

14241424
// 1 = use zlib from emscripten-ports
1425-
// [link]
1425+
// [compile+link]
14261426
var USE_ZLIB = false;
14271427

14281428
// 1 = use bzip2 from emscripten-ports
1429-
// [link]
1429+
// [compile+link]
14301430
var USE_BZIP2 = false;
14311431

14321432
// 1 = use giflib from emscripten-ports
1433-
// [link]
1433+
// [compile+link]
14341434
var USE_GIFLIB = false;
14351435

14361436
// 1 = use libjpeg from emscripten-ports
1437-
// [link]
1437+
// [compile+link]
14381438
var USE_LIBJPEG = false;
14391439

14401440
// 1 = use libpng from emscripten-ports
1441-
// [link]
1441+
// [compile+link]
14421442
var USE_LIBPNG = false;
14431443

14441444
// 1 = use Regal from emscripten-ports
1445-
// [link]
1445+
// [compile+link]
14461446
var USE_REGAL = false;
14471447

14481448
// 1 = use Boost headers from emscripten-ports
1449-
// [link]
1449+
// [compile+link]
14501450
var USE_BOOST_HEADERS = false;
14511451

14521452
// 1 = use bullet from emscripten-ports
1453-
// [link]
1453+
// [compile+link]
14541454
var USE_BULLET = false;
14551455

14561456
// 1 = use vorbis from emscripten-ports
1457-
// [link]
1457+
// [compile+link]
14581458
var USE_VORBIS = false;
14591459

14601460
// 1 = use ogg from emscripten-ports
1461-
// [link]
1461+
// [compile+link]
14621462
var USE_OGG = false;
14631463

14641464
// 1 = use mpg123 from emscripten-ports
1465-
// [link]
1465+
// [compile+link]
14661466
var USE_MPG123 = false;
14671467

14681468
// 1 = use freetype from emscripten-ports
1469-
// [link]
1469+
// [compile+link]
14701470
var USE_FREETYPE = false;
14711471

14721472
// Specify the SDL_mixer version that is being linked against.
14731473
// Doesn't *have* to match USE_SDL, but a good idea.
1474-
// [link]
1474+
// [compile+link]
14751475
var USE_SDL_MIXER = 1;
14761476

14771477
// 1 = use harfbuzz from harfbuzz upstream
1478-
// [link]
1478+
// [compile+link]
14791479
var USE_HARFBUZZ = false;
14801480

14811481
// 3 = use cocos2d v3 from emscripten-ports
1482-
// [link]
1482+
// [compile+link]
14831483
var USE_COCOS2D = 0;
14841484

14851485
// 1 = use libmodplug from emscripten-ports
1486-
// [link]
1486+
// [compile+link]
14871487
var USE_MODPLUG = false;
14881488

1489-
// Formats to support in SDL2_image. Valid values: bmp, gif, lbm, pcx, png, pnm, tga, xcf, xpm, xv
1489+
// Formats to support in SDL2_image. Valid values: bmp, gif, lbm, pcx, png, pnm,
1490+
// tga, xcf, xpm, xv
14901491
// [link]
14911492
var SDL2_IMAGE_FORMATS = [];
14921493

@@ -1495,7 +1496,7 @@ var SDL2_IMAGE_FORMATS = [];
14951496
var SDL2_MIXER_FORMATS = ["ogg"];
14961497

14971498
// 1 = use sqlite3 from emscripten-ports
1498-
// [link]
1499+
// [compile+link]
14991500
var USE_SQLITE3 = false;
15001501

15011502
// If true, the current build is performed for the Emscripten test harness.

0 commit comments

Comments
 (0)