Commit Graph

543 Commits

Author SHA1 Message Date
orbea 14bb035026 Makefile: Try to fix logic. 2018-05-03 15:50:11 -07:00
orbea 8f861d438b qb: Fix checking the CXX compiler
This does the following.

1. Fixes checking if the CXX compiler works on platforms other than windows.
2. Turns the error when the CXX compiler is missing or doesn't work into a warning.
3. Adds HAVE_CC and HAVE_CXX.
4. Only adds CC and CXX to config.mk when HAVE_CC or HAVE_CXX are true.
5. Disables Qt companion, Vulkan, CXX_BUILD and NEED_CXX_LINKER if HAVE_CXX is false.
6. Explicitly errors when the CXX compiler is broken or missing and Qt or vulkan support is enabled.
7. No longer explicitly links with the CXX compiler on windows since this should no longer be needed.

This also adds the function `check_enabled` to `qb/qb.lib.sh` which
can be used to dynamically disable any libraries that require C++
support.
2018-05-03 12:24:32 -07:00
Brad Parker a1aefc901c Qt WIMP GUI 2018-04-30 14:33:05 -04:00
Maxim Biro 6f9c2da807 CXXLAGS -> CXXFLAGS
C++ definitely doesn't lag!
2018-04-13 03:35:33 -04:00
twinaphex 8e7b1ede7f Silence Clang warnings 2018-04-09 17:35:27 +02:00
Brad Parker 95bb7f5aa5 use 64-bit file offsets/seeking on windows 2018-02-14 06:16:12 +00:00
orbea 85e4f5d94d qb: Add --docdir
By default 'make install' will now install the following 2-3 files
to $(DESTDIR)$(SHARE_DIR)/doc/retroarch which by default is
/usr/local/share/doc/retroarch.

COPYING
README.md

and if media/assets exists it will install:

media/assets/COPYING to COPYING.assets

Users will be able to configure this install path with.

./configure --docdir=PATH

For example:

./configure --docdir=/usr/doc/RetroArch-1.7.0
2018-02-10 08:55:54 -08:00
orbea b67bb87c8d qb: Add --datarootdir to configure.
This allows a user to use --datarootdir=PATH to configure the
share directory used for pixmaps, desktop files, man pages and assets.

By default this will be '/usr/local/share'. Assets and man page install
paths can still be configured with:
  --with-man_dir=PATH
and
  --with-assets_dir=PATH

Some operating systems like Haiku use unconventional install paths
and this should allow them to configure their build correctly.
2018-02-04 13:54:55 -08:00
aliaspider 037b57a4bd make: change the clean rule to remove both release and debug objects. 2018-01-30 17:57:54 +01:00
Twinaphex 1dc918b8c7
Merge pull request #6142 from orbea/install
Makefile: Fix make install.
2018-01-20 21:54:59 +01:00
aliaspider 5918e15999 Makefile: use different build directories for debug and release.
add _DEBUG defines for debug builds.
2018-01-20 20:02:45 +01:00
orbea 6ce57ffe18 Makefile: Fix make install.
Partially reverts b9585df325
2018-01-20 08:26:55 -08:00
kwyxz b9585df325 Update Haiku port to allow it to build again 2018-01-20 00:19:01 -08:00
orbea db66dcb4db Makefile: Use cp / chmod instead of install.
Using standard tools like cp and chmod is more portable than install which does not work the same
on all supported platforms.
2018-01-15 10:24:33 -08:00
kwyxz 71cdb5e03c With Solaris, use ginstall instead of install 2018-01-11 15:15:58 -08:00
twinaphex f677a7ad7e Add HAVE_OVERLAY to qb system 2018-01-05 16:10:34 +01:00
orbea 0ec95f7aea Makefile.common: Don't hardcode -g 2018-01-02 09:20:13 -08:00
Alcaro ad7dd75458 this name makes slightly more sense. 2017-12-29 21:16:28 +01:00
Alcaro fc725e252e Maybe #5989 can accept this compromise 2017-12-29 21:15:25 +01:00
orbea 72e3d5c38c Makefile: Fix debug builds. (#5989)
RetroArch builds debug builds by default after commit ec4b0f9089
This is very bad and breaks ./configure && make.
2017-12-29 14:00:53 -05:00
Alcaro ec4b0f9089 What kind of bug farm is this filestream thingy 2017-12-29 15:32:07 +01:00
Rob Loach 494ba8685e
Update make install for new retroarch-assets src
The assets over at [retroarch-assets](https://github.com/libretro/retroarch-assets) have [moved the source files](https://github.com/libretro/retroarch-assets/pull/191) so that the asset installation process is a much easier. We no longer have the need to delete the theme src directories.
2017-12-06 14:34:20 -05:00
orbea 5d5aa7ca60
Revert "Use RetroArch Assets' Makefile to install Assets" 2017-12-01 06:26:02 -08:00
Rob Loach ed99c36851
Use retroarch-assets makefile to install assets 2017-11-29 11:46:11 -05:00
Brad Parker 3c975fe6bd add option to force 32-bit compilation on 64-bit compilers 2017-11-21 23:57:20 -05:00
Alfrix 1bd65c8f3e Add Retrosystem theme 2017-11-17 19:42:55 -03:00
twinaphex 360a3686a0 Update include dirs 2017-11-06 05:23:53 +01:00
orbea 5438eb1c6e If the --global-config-dir is not defined and --prefix is not set to /usr* add it to the --global-config-dir. 2017-10-21 21:33:18 -07:00
Brad Parker dd80ffc61b FreeBSD buildfix 2017-03-29 16:47:58 +00:00
Alcaro fa341f03a0 Thing 2017-02-05 14:13:30 +01:00
Rob Loach 0963431c6a
Add Dot-Art theme 2017-01-30 21:13:44 -05:00
Brad Parker 496198ab32 DOS: target 386 and link in FPU emulator, program now starts up correctly 2017-01-21 16:36:38 -05:00
twinaphex 7af2e2e6b8 Add HAVE_CC_RESAMPLER to more Makefiles 2016-12-12 12:48:04 +01:00
twinaphex 9375efe24e Add HAVE_CC_RESAMPLER defines 2016-12-12 12:44:29 +01:00
Jean-André Santoni 4bf172835d Expose the NeoActive icon theme 2016-10-31 21:42:46 +01:00
radius 9272355696 make the console toggleable at runtime instead of compilation time 2016-10-08 15:33:29 -05:00
orbea faa53a106b tcc doesn't support -MMD 2016-10-02 08:31:19 -07:00
radius c3d5c98849 (ems) change some makefile flags 2016-09-23 19:48:50 -05:00
Alcaro c9e4511e37 Revert "Append _debug to debug builds and add file to .gitignore" 2016-09-08 18:23:26 +02:00
Spec-Chum 61ff11a0fa Append _debug to debug builds and add file to .gitignore 2016-09-07 23:07:17 +01:00
Brad Parker 0688eef75b LDFLAGS not LDLAGS 2016-08-30 14:40:52 -04:00
orbea 4a3bacf7ba (Makefile) Further cleanup 2016-08-28 17:08:19 -07:00
orbea 9084b3550b (Makefile) Clean assets install 2016-08-27 21:44:53 -07:00
orbea ac606f8678 Allow setting assets install directory 2016-08-27 19:44:41 -07:00
orbea 376a78dc0c /usr/share/applications is for desktop files 2016-08-27 19:31:05 -07:00
twinaphex 63e1afc1cb - Copies over assets images to /usr/local/share/applications/retroarch/assets
(Linux) -  Upon first boot, it checks if the assets exists inside
/usr/local/share/applications/retroarch/assets or /usr/share/applications/retroarch/assets.
If it does, it will use these as the default location for assets and assets
should show up preconfigured on the fly. If not, it will set ~/.config/retroarch/assets
instead.
2016-08-28 04:11:18 +02:00
orbea ec08680b71 (Makefile) Fix typo 2016-08-27 08:24:30 -07:00
orbea b3922555e2 Allow setting --with-bin_dir 2016-08-26 17:29:50 -07:00
radius 0a382f43bc disable the console again on release builds 2016-08-13 20:13:40 -05:00
radius 4520996603 try to fix this script 2016-08-09 19:05:38 -05:00