Jan Beich
fe48eede0e
command -v with more than one argument is non-portable
...
On FreeBSD build fails, so check if `msbuild` exists without arguments.
$ gmake
command: wrong number of arguments
OpenRA requires the 'msbuild -verbosity:m -nologo' tool provided by Mono >= 5.4.
gmake: *** [Makefile:154: core] Error 1
# FreeBSD sh
$ command -v echo ls
command: wrong number of arguments
# dash
$ command -v echo ls
echo
# ksh, bash, zsh
$ command -v echo ls
echo
/bin/ls
2019-09-13 00:25:50 +02:00
Paul Chote
579d2c19e2
Add --check-conditional-trait-interface-overrides utility command.
...
This command is used by `make check` to detect traits that incorrectly
override interface methods that are required for conditions to work
correctly.
2019-07-14 00:41:59 +02:00
Paul Chote
845fca25d1
Change platform from x86 to Any CPU (preferring 64 bit)
...
A Release-x86 configuration allows x86 Windows installers to still be created.
2019-05-26 23:13:37 +02:00
Paul Chote
4756558f8a
Merge man-page target into install-man-page
2019-05-17 19:02:46 +01:00
Paul Chote
c47c9d7ed6
Fix Makefile targets
2019-05-17 19:02:46 +01:00
Paul Chote
ba282865f1
Replace legacy StyleCop(Plus) with StyleCopAnalyzers
...
Analyzers are enabled in the Debug configuration
only to avoid unnecessary overheads when compiling
normally.
2019-05-09 20:40:08 +02:00
Paul Chote
1955cac84e
Unify Windows and mono build systems.
...
The Makefile behaviour is recreated using the new and significantly
cleaner .NET Core csproj format.
fixheader.exe is promoted to OpenRA.PostProcess.exe and now runs
on all platforms.
2019-05-05 23:19:04 +02:00
Paul Chote
9cbf08201f
Disable debug and enable optimizations by default.
...
This does not affect stacktraces produced during
a crash when run using `mono --debug`.
2019-03-30 20:17:17 +01:00
Paul Chote
d53338ca5e
Switch to the newer Roslyn compiler on Linux/macOS.
2019-03-30 20:17:17 +01:00
Paul Chote
5b00586de2
Update Travis to Ubuntu 16.04, Mono 5.10, NSIS 3.03.
2019-03-30 20:17:17 +01:00
Paul Chote
54d5afed57
Package mono inside the macOS app bundles.
...
This also removes the explicit dependency on mono's
packaged FreeType, which should allow development
builds to be used with homebrew-packaged mono.
2019-03-26 22:11:58 +01:00
Paul Chote
817db8dbe0
Fix build artifacts leaking between platforms.
...
This moves the `dependencies` target from `core`
to `default`, so that we aren't forced to run
`linux-dependencies` for non-linux platforms.
2019-03-22 21:36:20 +01:00
Paul Chote
2ba2510018
Check for unpackaged dependencies in make check.
2019-03-22 21:36:20 +01:00
Paul Chote
aa9724cc40
Remove SharpFont dependency.
2019-03-14 16:39:26 +01:00
Paul Chote
ebeaf95e4c
Reimplement FreeTypeFont against FreeType directly.
2019-03-14 16:39:26 +01:00
Paul Chote
1d4576229a
Move FreeType handling into the Platform dll.
2019-03-14 16:39:26 +01:00
Paul Chote
2a9721a9f8
Remove System.Drawing dependency.
2019-03-14 01:01:49 +01:00
Paul Chote
dad21fe879
Remove unused references to System.Data and System.XML.
2019-03-04 18:26:42 +00:00
Paul Chote
4886cca5d3
Remove System.Drawing references from mod code.
2019-03-04 18:26:42 +00:00
Paul Chote
c6c431cd95
Rework icon installation.
2018-05-05 22:34:27 +02:00
Paul Chote
6e2abdb687
Fix appdata uninstallation.
2018-05-05 22:34:27 +02:00
Paul Chote
3ce00065a7
Standardize on {MODID} in template files.
2018-05-05 22:34:27 +02:00
Paul Chote
a8fb90d97c
Simplify mime type handling.
2018-05-05 22:34:27 +02:00
RoosterDragon
5bd5a384b7
Use a BitSet for representing target types.
...
- Rename Bits<T> to BitSet<T>.
- Implement set based helpers for BitSet<T>.
- When representing TargetTypes of ITargetable in various traits, use a BitSet<TargetableType> instead of HashSet<string> for better performance & reduced memory usage.
- Fix FieldLoader to trim input values when generating a BitSet<T>.
- Require T in BitSet<T> and BitSetAllocator<T> to be a class since it's just a marker value. This allows the JIT to instantiate generic code for these classes once, as they don't benefit from specialized code for T. (Typically JITs will generate shared code for all reference types, and unique code for every value type encountered).
2018-03-21 12:07:44 +01:00
Paul Chote
502c3e2bf5
Remove global chat integration.
2017-12-13 21:04:16 +01:00
Paul Chote
5540eb1f2f
Specify C# 5 as the language version in the Makefile too.
2017-10-19 14:18:03 +02:00
Paul Chote
a7c2f3e7e3
Add mod-specific appdata metadata.
2017-08-26 15:43:26 -07:00
GSonderling
ef0b0847bc
Removed references to make docs
2017-07-23 15:33:39 +02:00
Paul Chote
59dae0ebf6
Split install-core into finer grained targets for the mod template.
2017-07-12 16:22:36 +02:00
Paul Chote
e38db04ab7
Move Stylecop checks to their own helper executable.
2017-07-09 21:58:21 +02:00
Paul Chote
abdcf90c30
Ship VERSION with binary releases.
2017-06-04 13:21:27 +02:00
Paul Chote
49f0e35bd7
Add engine VERSION file.
2017-06-04 13:21:27 +02:00
rob-v
ffc3f6e0d0
LAN games discovery
2017-05-14 22:01:25 +02:00
Paul Chote
696b48b7bf
Overhaul the packaging scripts:
...
- Ingame mod versions now always match the package version
- Adds macOS compatibility
- Removes trait and lua api docs pending future overhaul
- Individual platform packages can be compiled directly
- Improved error checking
- Removes unnecessary redundancy and indirection
2017-04-30 13:26:36 +01:00
Paul Chote
b24e681531
Create separate Linux launchers for each mod.
2017-04-21 20:18:05 +01:00
Paul Chote
9d248433c9
Fix linux packaging.
2017-04-21 18:02:20 +01:00
Paul Chote
84db123b93
Rename modchooser to modcontent.
2017-04-21 18:02:20 +01:00
Paul Chote
005b4166cc
Move Windows launcher compilation to packaging scripts.
2017-04-11 17:15:21 +01:00
Paul Chote
35249c1faf
Remove windows icon from OpenRA.Game.exe.
2017-04-11 17:15:20 +01:00
Paul Chote
a853d431fc
Remove long unneeded tools target.
2017-04-11 17:15:20 +01:00
Paul Chote
f6c607c461
Fix makefile install rule.
2017-03-04 16:10:03 +00:00
abcdefg30
eeebcd6468
Merge pull request #12669 from Phrohdoh/make-core-builds-deps
...
Don't require a manual 'make dependencies' by default
2017-02-13 19:47:15 +01:00
reaperrr
686b21c044
Change target location for Mods.Cnc to mods/common
2017-02-12 18:02:15 +01:00
abcdefg30
a3aab6f051
Merge pull request #12757 from reaperrr/merge-ra-into-cnc
...
Merge Mods.RA into Mods.Cnc
2017-02-12 17:47:41 +01:00
reaperrr
0c44a49722
Merge pull request #12600 from pchote/externalmods
...
Add support for switching to mods from other engine installations.
2017-02-12 13:18:53 +01:00
reaperrr
0c3a786d10
Merge Mods.RA into Mods.Cnc
2017-02-12 01:33:22 +01:00
Paul Chote
8385207fba
Pass Engine.LaunchPath from linux launchers.
2017-02-11 16:21:35 +00:00
Matthias Mailänder
13263f7bb2
Drop Maxmind.GeoIP and Newtonsoft.Json dependencies
2017-02-05 11:54:22 +01:00
reaperrr
709e2a26e1
Merge Mods.TS into Mods.Cnc
2017-02-02 21:20:31 +01:00
Taryn Hill
be8c7827a7
Don't require a manual 'make dependencies' by default
2017-02-01 11:14:01 -06:00