Commit Graph

180 Commits

Author SHA1 Message Date
orbea 65c6caf5a6 qb: Add '--disable-menu'. (#7910)
This adds '--disable-menu' which will disable all of the menu drivers
including Qt. This will also allow disabling only rgui and not the other
menu drivers.
2019-01-06 17:30:50 -05:00
orbea fb6fe1a87c Makefile: Better respect CFLAGS and CXXFLAGS as environment variables.
This fixes a few subtle problems with passing CFLAGS and CXXFLAGS as
environment variables for configure.

First it will now only add these variables to config.mk when they are
actually set. If they are unset then the default optimizations in the
Makefile are set. This avoids passing more than one conflicting
optimization level to the compiler.

Next all CFLAGS are added to CXXFLAGS to avoid issues with forgetting to
set both CFLAGS and CXXFLAGS. This results in the cxx compiler getting
passed several redundant optimization levels when both the CFLAGS and
CXXFLAGS environment variabls are used. Now these uses of CFLAGS in
Makefile.common are set to DEF_FLAGS. This allows adding $(DEF_FLAGS)
to the CXXFLAGS variable without adding redundant flags from CFLAGS.

v2: Update other build files.
2018-12-30 17:17:19 -08:00
radius 3c8264e9f2 use stb font in emscripten (untested) 2018-09-30 17:41:24 -05:00
twinaphex ca9dd89975 Revert "(3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support"
This reverts commit d4c691527a.
2018-04-22 12:02:40 +02:00
twinaphex d4c691527a (3DS/Emscripten/Vita/Wiiu) Add HAVE_CHD support 2018-04-22 11:58:11 +02:00
Toad King a634994809 no longer compile with SDL support by default 2018-01-18 22:57:46 -06:00
Toad King 99472beeb6 more build modifications to emscripten (needed for mupen64 to work) 2018-01-15 21:02:01 -06:00
Toad King bc511b8c8a enable shader pipeline
enables menu shader effects
2018-01-15 04:53:44 -06:00
Toad King 066a0a6b32 put emscripten build artifacts into its own folder
clean up all artifacts on make clean
2018-01-15 04:53:27 -06:00
Toad King 3917b02f9f build optimized emscripten builds as WASM
HUGE speed-ups for firefox and moderate speedups for chrome
2018-01-15 04:00:09 -06:00
Toad King fca639ad84 remove linking SDL code 2018-01-14 14:42:57 -06:00
Toad King 2d27a8c3e2 fix exiting not terminating emscripten runtime 2018-01-14 02:53:34 -06:00
Toad King 1e212b4248 use emscripten HTML5 API for keyboard events instead of old JS library 2018-01-13 17:56:00 -06:00
Toad King a77f9c37c6 start on bringing the emscripten video code up to speed with latest emscripten
fix rwebinput
2018-01-13 00:05:07 -06:00
twinaphex db034b8a12 Change Makefile.emscripten 2018-01-12 03:16:15 +01:00
twinaphex 951918a245 Reduce size of Makefiles 2017-12-07 05:54:54 +01:00
twinaphex 67fea30406 Remove remaining references to HAVE_FBO 2017-11-13 08:55:41 +01:00
twinaphex 360a3686a0 Update include dirs 2017-11-06 05:23:53 +01:00
twinaphex 69abe6dbb9 Move deps/zlib to deps/libz 2017-03-25 10:05:33 +01:00
twinaphex 14a800f1f5 Update Makefiles - audio_filters have been moved to libretro-common 2017-01-09 12:37:01 +01:00
twinaphex 7af2e2e6b8 Add HAVE_CC_RESAMPLER to more Makefiles 2016-12-12 12:48:04 +01:00
twinaphex c2bb410d8d Take out HAVE_BUILTIN_AUTOCONFIG - always include it 2016-10-04 07:33:57 +02:00
radius a23f5b10ff fix ASYNCIFY 2016-09-28 19:32:14 -05:00
radius dc276df53e (ems) use imfs in this template for testing purposes 2016-09-24 12:59:10 -05:00
radius c3d5c98849 (ems) change some makefile flags 2016-09-23 19:48:50 -05:00
Logan McNaughton b5cd030eff Only set PTHREAD_POOL_SIZE=2 if PTHREAD is on 2016-09-23 09:16:45 -06:00
Logan McNaughton 17b696c0dd Add PTHREAD_POOL_SIZE 2016-09-22 21:51:30 -06:00
Logan McNaughton 01c43f5eef Allow pthread support in emscripten 2016-09-22 15:37:41 -06:00
Logan McNaughton f0204a8b5d Fix emscripten async and add glupen64 2016-09-21 14:10:05 -06:00
radius 042eadd39e (ems) we don't need rjpg in emscripten 2016-09-17 03:12:22 -05:00
radius 10222178b0 (ems) we don't need rjpg 2016-09-17 02:01:59 -05:00
twinaphex e3c560014c Turn HAVE_GLES into HAVE_OPENGLES 2016-09-17 00:38:35 +02:00
twinaphex ba52d6728a Add HAVE_BUILTIN_AUTOCONFIG for SDL2/Emscripten 2016-09-03 07:04:23 +02:00
radius 42b9928964 add SDL2 2016-08-29 00:23:58 -05:00
radius ee3af240d7 update emscripten dist-cores for buildbot duty 2016-08-28 19:14:42 -05:00
twinaphex 5f183d9895 Make SDL2 optional for Emscripten 2016-08-01 16:29:56 +02:00
twinaphex 6d76a04b0f (GL) Cleanups
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
dalter c7060b2db0 Add SDL2 compile flags 2016-07-31 18:09:56 +03:00
twinaphex 0e3ff650c2 Remove WANT_RPNG 2016-05-17 13:41:40 +02:00
twinaphex 25ec6a8872 Add HAVE_JPEG to project files 2016-05-17 13:39:06 +02:00
twinaphex 8e38a18f55 Makefile.emscripten - add HAVE_EGL 2015-11-20 17:41:50 +01:00
twinaphex c992b10a7d (Emscripten) Another buildfix 2015-08-20 00:57:54 +02:00
twinaphex 4787c463b6 Backport this - 58748da89d 2015-07-27 00:08:25 +02:00
twinaphex 5d24c75925 Create HAVE_MAIN define 2015-04-20 21:10:01 +02:00
fr500 b378212866 emscripten build fixes 2015-04-19 13:58:44 -05:00
twinaphex 4d13e9d4cb Turn WANT_MINIZ into WANT_ZLIB 2015-03-14 05:24:57 +01:00
twinaphex aece30f6bc Rename deps/rzlib to deps/zlib 2015-03-06 01:47:09 +01:00
twinaphex a33016d457 Renamed libretro-sdk to libretro-common 2015-02-19 00:04:03 +01:00
twinaphex 3334e83361 Move Xaudio C interface to audio/drivers 2015-01-13 00:25:01 +01:00
twinaphex ba5a31e33b Build fixes 2015-01-12 23:38:21 +01:00
twinaphex 069fb556f0 Rename graphics context drivers 2015-01-12 22:19:31 +01:00
Toad King 3830dbebaf fix emscripten build 2014-12-31 20:26:49 -06:00
twinaphex 56939cdab6 Add rm -f *.d to Makefile clean targets 2014-11-18 16:01:36 +01:00
twinaphex 4f40c14d69 Move menu code up one root dir 2014-10-28 19:54:23 +01:00
twinaphex 1535e35615 (Emscripten Makefile) Add libretro-sdk/include to INCDIR 2014-10-24 18:44:57 +02:00
twinaphex ce6c884724 Take out HAVE_CC_RESAMPLER define 2014-09-24 09:39:41 +02:00
twinaphex 295434151b (D3D) Change dir to gfx/d3d 2014-09-14 06:45:47 +02:00
twinaphex 0402f91ee1 Move zlib to Makefile.common too 2014-09-14 04:50:10 +02:00
twinaphex 2ce5f9318f Update Makefiles 2014-09-14 03:58:49 +02:00
twinaphex dd5ebd974e Update Makefile.common 2014-09-14 03:44:54 +02:00
twinaphex ed492be6a2 Move more to Makefile.common 2014-09-14 03:38:36 +02:00
twinaphex 2926183d8d Move more to Makefile.common 2014-09-14 03:22:04 +02:00
twinaphex 36c36cc332 Move more to Makefile.common 2014-09-14 02:52:30 +02:00
twinaphex 8b149c8ff9 Move more to Makefile.common 2014-09-14 02:15:56 +02:00
twinaphex 322093f600 Move more to Makefile.common 2014-09-14 01:58:57 +02:00
twinaphex dd4bbdbd89 Move LDFLAGS to top of Makefiles 2014-09-14 00:55:17 +02:00
twinaphex 0746337a34 Move menu files to Makefile.common 2014-09-14 00:53:00 +02:00
twinaphex ce55990a3e Move more to Makefile.common 2014-09-14 00:11:08 +02:00
twinaphex 33809a9ca3 Reduce LOC in Makefiles by creating shared Makefile.common 2014-09-14 00:04:42 +02:00
twinaphex d4a4dd14bf Add 'nearest' resampler 2014-09-13 00:10:15 +02:00
Timo Strunk 11b63cbe3d Merge remote-tracking branch 'upstream/master' into zip_support 2014-09-12 17:06:41 +02:00
twinaphex 4a14658278 (Menu) Split up reusable menu_action code to menu_action.c 2014-09-12 05:54:58 +02:00
Timo Strunk c431576b02 Added zip support to emscripten Makefile, not tested 2014-09-11 18:12:43 +02:00
twinaphex 598421e7d7 Move resampler drivers to audio/resamplers 2014-09-09 21:54:41 +02:00
twinaphex c114e51a2c (Menu) Split up menu entries code to menu_entries.c 2014-08-31 18:36:26 +02:00
twinaphex eb1d78bab7 Rename history.c to playlist.c 2014-08-15 17:24:28 +02:00
twinaphex 0966d384d8 (OSK) Get rid of HAVE_OSK ifdef 2014-08-14 06:40:33 +02:00
twinaphex 88af50ab82 Add null drivers 2014-08-14 03:05:44 +02:00
twinaphex e1a122843b Add null camera - remove HAVE_CAMERA ifdefs 2014-08-14 02:55:04 +02:00
twinaphex 717def1717 Bake in HAVE_BSV_MOVIE implicitly 2014-08-12 05:10:02 +02:00
twinaphex 41a5641a6f Move core_info.c to root dir 2014-08-02 14:04:43 +02:00
twinaphex bca57d827b Move file_list.c outside of frontend/menu 2014-07-26 18:31:34 +02:00
twinaphex 9c96b3ada2 Make history.c no longer dependent on menu 2014-07-25 20:56:31 +02:00
twinaphex fe58051bce Backport ToadKing - (Emscripten) Build fix 2014-07-23 07:18:27 +02:00
twinaphex d1a85b6d95 Take out HAVE_SCREENSHOTS everywhere 2014-07-22 03:22:18 +02:00
Toad King 57d1cbbf26 (EMSCRIPTEN) add analog emulator support 2014-07-06 20:02:44 -04:00
Toad King 7dfb9d0437 Revert "(EMSCRIPTEN) add shared context support"
This reverts commit 96feb074d0.
2014-07-04 15:02:02 -04:00
Toad King 96feb074d0 (EMSCRIPTEN) add shared context support 2014-07-02 21:56:22 -04:00
Toad King bb40fff99d fix emscripten build 2014-06-18 20:31:41 -04:00
twinaphex 001d6e8897 Get rid of PERF_TEST entirely - if Performance Counters setting is
enabled, will also report performance counters log at exit
2014-06-01 22:16:22 +02:00
twinaphex e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
twinaphex b19cf62c63 (Makefile) Make menu common code less dependent on HAVE_RGUI switch 2014-05-26 18:44:24 +02:00
twinaphex b2b5c6daec (Image) Put image functions through abstract interface
(Image) Add image_driver to retroarch.cfg to specify image driver to use
(Menu)  Add Image Driver to Drivers section
2014-05-10 20:26:58 +02:00
twinaphex cf669f21ca * Add 'null' frontend context driver (will come into use later on in
more important ways)
* RetroArch when compiled with menu support will now cleanly exit if
menu driver cannot be initialized properly
2014-05-09 06:12:53 +02:00
twinaphex 853179a2fb Add inclusion of gfx/shader_common.c to other Makefiles 2014-05-08 21:49:18 +02:00
twinaphex de7cf52227 (Apple/General_) Turn setting_data into general code - this code
will be used for exposing a list of generic menu settings to
WIMP menus and other such things (already used by the Apple port
in tihs way)
2014-05-03 18:38:29 +02:00
twinaphex 6f05cce0de Get rid of menu_common_settings.c - add remaining public functions to
menu backend interface
2014-04-26 02:40:38 +02:00
twinaphex 3d8d807e6b Refactor a bunch of menu code - menu 'settings' can now be implemented
per-menu context
2014-04-26 01:54:15 +02:00
twinaphex 4942306fff Add HAVE_CC_RESAMPLER to nearly all targets 2014-04-20 04:17:18 +02:00
twinaphex 390d198812 Uniquely name gfx/scaler/filter.c for MSVC 2014-04-16 15:48:33 +02:00