Move winforms crash dialog into an external helper.
This commit is contained in:
14
Makefile
14
Makefile
@@ -66,7 +66,7 @@ INSTALL_PROGRAM = $(INSTALL) -m755
|
||||
INSTALL_DATA = $(INSTALL) -m644
|
||||
|
||||
# program targets
|
||||
CORE = rsdl2 rnull game utility irc
|
||||
CORE = rsdl2 rnull game utility irc crashdialog
|
||||
TOOLS = editor tsbuild ralint
|
||||
|
||||
VERSION = $(shell git name-rev --name-only --tags --no-undefined HEAD 2>/dev/null || echo git-`git rev-parse --short HEAD`)
|
||||
@@ -108,7 +108,6 @@ rnull_LIBS = $(COMMON_LIBS) $(rnull_DEPS)
|
||||
PROGRAMS += rsdl2 rnull
|
||||
renderers: $(rsdl2_TARGET) $(rnull_TARGET)
|
||||
|
||||
|
||||
##### Official Mods #####
|
||||
|
||||
STD_MOD_LIBS = $(game_TARGET) thirdparty/KopiLua.dll thirdparty/NLua.dll
|
||||
@@ -206,6 +205,15 @@ tsbuild: OpenRA.TilesetBuilder.FormBuilder.resources OpenRA.TilesetBuilder.FormN
|
||||
|
||||
##### Launchers / Utilities #####
|
||||
|
||||
crashdialog_SRCS := $(shell find OpenRA.CrashDialog/ -iname '*.cs')
|
||||
crashdialog_TARGET = OpenRA.CrashDialog.exe
|
||||
crashdialog_KIND = exe
|
||||
crashdialog_DEPS = $(game_TARGET)
|
||||
crashdialog_LIBS = $(COMMON_LIBS) $(crashdialog_DEPS) System.Windows.Forms.dll
|
||||
crashdialog_FLAGS = -win32icon:OpenRA.Game/OpenRA.ico
|
||||
PROGRAMS += crashdialog
|
||||
crashdialog: $(crashdialog_TARGET)
|
||||
|
||||
# Backend for the launcher apps - queries game/mod info and applies actions to an install
|
||||
utility_SRCS := $(shell find OpenRA.Utility/ -iname '*.cs')
|
||||
utility_TARGET = OpenRA.Utility.exe
|
||||
@@ -245,7 +253,7 @@ $(foreach prog,$(PROGRAMS),$(eval $(call BUILD_ASSEMBLY,$(prog))))
|
||||
#
|
||||
default: dependencies core
|
||||
|
||||
core: game renderers mods utility
|
||||
core: game renderers mods utility crashdialog
|
||||
|
||||
tools: editor tsbuild ralint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user