Rhody Lugo
2f3e4c1a7a
add NoCache wrapper to Command
...
(cherry picked from commit 920224a535
)
2018-06-22 14:42:14 +02:00
Rémi Verschelde
9ab9dd73b0
SCons: Fix running 'scons' without platform argument
...
The cache and progress logic assumed the 'env' to be defined,
but it is only when the selected platform is in the supported list.
Fixes #17497 .
(cherry picked from commit a44f9ca545
)
2018-03-29 00:21:41 +02:00
bruvzg
df7d60a9d3
Abort compilation on missing return values (CGG/clang)
...
(cherry picked from commit 5ec09455ed
)
2018-03-28 22:21:33 +02:00
Rhody Lugo
5c2e554853
prune cache only at the start and end of build
...
(cherry picked from commit 29e6ec6594
)
2018-03-03 01:53:22 +01:00
Fabio Alessandrelli
8f231d82bb
Disable GLES builders and source from server compilation
...
(cherry picked from commit 8699f643c9
)
2018-02-21 21:48:21 +01:00
Michael Alexsander Silva Dias
02e910275c
Fixed small typos in the SConstruct file.
...
(cherry picked from commit b92c5669de
)
2018-02-19 22:23:38 +01:00
Will Nations
a025ca5fc6
Include .hpp files in VS scons builds. Fixed Typo.
2018-01-18 22:16:11 -06:00
Ariel Manzur
9d98e6d2e4
adding option to split modules library
2018-01-18 21:27:57 -03:00
Hugo Locurcio
bf32d36230
Disable colored output and progress bar when building outside of a TTY
...
This makes the output more readable if it is written to a file,
and more compact in continuous integration environments, keeping
the log sizes low.
This commit also adds myself to .mailmap.
2018-01-13 17:56:41 +01:00
Rémi Verschelde
e141845bfb
SCons: Allow unbundling bullet on Linux (only 2.87+)
2018-01-13 15:16:22 +01:00
Rémi Verschelde
db49f35ab8
SCons: Fix usage of LD when we meant LINK
...
Also made LINK and CXXFLAGS configurable as command line options.
Note that LINK currently expects the *compiler* that will be used
for linking and will call its configured linker behind the scenes
(so g++, clang++, etc., not ld.gold). See #15364 for details.
2018-01-05 20:37:45 +01:00
Juan Linietsky
021f3c924b
-Removed OpenMP support, replaced by a custom class.
...
-Disabled Opus, implementation is wrong.
2017-12-24 09:32:12 -03:00
Andreas Haas
63658fecfc
Scons: Use module suffix only for final binary.
...
Only append the module suffixes to the resulting binary instead of all object files.
That means we can keep most of our build artifacts when toggling modules like mono.
2017-12-21 18:52:17 +01:00
Rhody Lugo
b40259096c
sort by the most recently accessed files
2017-12-18 22:17:38 -04:00
Juan Linietsky
cf84ee22a9
Added custom editor splash (including sponsor logo).
2017-12-16 16:11:13 -03:00
bruvzg
0571a36152
MacPorts clang version selection, and OpenMP linking fix.
2017-12-14 20:41:50 +02:00
bruvzg
f8303ec6fb
Adds `macports_clang` build flag to build using clang-5.0 form MacPorts (with OpenMP support).
2017-12-14 16:44:45 +02:00
Juan Linietsky
f3ad14224e
-Add lightmapper
...
-Fixes to unwrapper (remove degenerates), makes Thekla not crash
-Added optional cancel button in EditorProgress
-Added function to force processing of events (needed for cancel button)
2017-12-14 09:01:27 -03:00
Hein-Pieter van Braam
bf05309af7
Import thekla_atlas
...
As requested by reduz, an import of thekla_atlas into thirdparty/
2017-12-08 15:47:15 +01:00
Rhody Lugo
a65c0939fd
disable caching for targets using helper functions
2017-11-28 23:24:12 -04:00
Rhody Lugo
a4a222d62d
use the same cache for all branches for appveyor
2017-11-28 03:23:33 -04:00
Rhody Lugo
1272497fec
prune scons shared cache
2017-11-27 01:43:10 -04:00
Rhody Lugo
428b6a308e
add support for scons cache and enable it for appveyor
2017-11-25 22:15:22 -04:00
Matthias Hoelzl
c6cfbad47a
Add explicit exception model flag for Visual C++
2017-11-21 19:06:43 +01:00
Matthias Hoelzl
589976321c
Add cpp.hint file to improve IntelliSense
2017-11-19 21:01:05 +01:00
Rémi Verschelde
992a40a50d
Merge pull request #12961 from eska014/platform-doc
...
Facilitate documenting platform-exclusive classes
2017-11-19 16:19:47 +01:00
Leon Krause
63b1a096eb
Facilitate exposing platform-exclusive interfaces to all platforms
...
This makes the interfaces available, without implementation, in other
platforms and the editor, which facilitates documenting platform-exclusive
classes.
Platform-exclusive APIs must be set up in platform/<platform>/api/api.cpp.
Provide noop method-implementations where necessary.
Also setup and document the HTML5 platform's JavaScript singleton.
2017-11-18 03:54:21 +01:00
Roy Berube
b361f371f1
Cleanup of Visual Studio project generation ( #12929 )
...
Visual studio project file creation had some problems. Files with c extension were listed with cpp extension. Some include files that did not exist were added to the project.
This change ensures a file exists before adding it to the project.
2017-11-16 16:37:02 +01:00
Rémi Verschelde
ed2b66f023
Improve code style of generated headers
2017-11-15 21:29:34 +01:00
George Marques
f6232efed9
Remove leading newline in SConstruct
...
Some editors don't recognize the shebang if it's not on the first line.
2017-11-13 02:04:18 -02:00
Rémi Verschelde
cefdb34f6c
SCons: make use_lto a global option and opt-in for iphone
...
Supersedes #12553 , see discussion in #12552 .
2017-11-02 09:11:50 +01:00
Juan Linietsky
79f81b77e2
-Modules can now add custom version info (added it for Mono)
...
-Version string takes this version info
-Ability to download templates from the interweb (listing does not work yet)
2017-11-01 23:13:27 -03:00
Ramesh Ravone
a4cee286e6
flatDir support [Android]
2017-10-07 15:10:17 +05:30
Ignacio Etcheverry
d5caf71c3f
Fix SConstruct check for config.is_enabled()
2017-10-03 00:01:30 +02:00
Andreas Haas
31c14432b8
Merge pull request #11753 from Listwon/Intellisense
...
Fix IntelliSense
2017-10-02 22:28:37 +02:00
neogaston
eaa965d5ef
Indentation Error
...
TabError: inconsistent use of tabs and spaces in indentation
was fixed
2017-10-02 00:04:11 -05:00
Bartłomiej T. Listwon
936f63a2dd
Fix IntelliSense
...
Fix the CPPPATH passed to MSVSProject. Uses SCons Dir() function to convert "#" paths http://www.scons.org/doc/0.97/HTML/scons-user/a3414.html#CV-CPPPATH
2017-10-01 17:08:21 +02:00
Juan Linietsky
d3345121cc
Ability to set a module enabled/disabled by default by adding is_enabled() to config.py
2017-10-01 08:52:11 -03:00
Elliott Sales de Andrade
5be675eb03
Use BoolVariable for module options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
45a9a680a3
Use BoolVariable for third-party options.
2017-09-25 14:36:30 -04:00
Elliott Sales de Andrade
ffab67b8da
Use BoolVariable in target/component/advanced options.
2017-09-25 14:36:02 -04:00
Elliott Sales de Andrade
f9e463bce2
Use EnumVariable for choice-based build options.
2017-09-25 14:36:01 -04:00
Elliott Sales de Andrade
ba0dcbbdc3
Bump required scons version to 0.98.1.
...
* Environment.AddPostAction() and the global AlwaysBuild() were added in
0.93, so requiring 0.14 is broken.
* Environment.Decider and Glob were added in some intermediate 0.97
release.
* The Variables object was added in 0.98.1.
2017-09-24 22:39:35 -04:00
Elliott Sales de Andrade
a408388623
Enable building against system zstd.
2017-09-23 23:46:47 -04:00
Matthias Hoelzl
f3745a23be
Fix errors in Python 3 build
2017-09-16 04:18:14 +02:00
Rémi Verschelde
cc7c892bca
Merge pull request #11160 from marcelofg55/drive_funcs_x11
...
Implemented DirAccess get_drive and get_drive_count for Linux
2017-09-13 20:04:54 +02:00
Rémi Verschelde
27ae3c839d
Merge pull request #7908 from SaracenOne/recast
...
In-editor navmesh generation.
2017-09-13 19:22:29 +02:00
Juan Linietsky
4f929a0fdf
Changed the doc class generation to individual files per class. It is also possible to save module files in module directories and the build system will
...
recognize them.
2017-09-12 17:45:41 -03:00
Marcelo Fernandez
8f133e2c4d
Added check_c_headers to SCons env to check for the existence of headers
2017-09-12 12:00:14 -03:00
Saracen
92e77d5ff2
Recast integration.
2017-09-04 21:41:57 +01:00