mirror of
https://github.com/keymanapp/keyman.git
synced 2026-10-27 16:27:49 +00:00
[Windows] Add CEF to engine installer
This commit is contained in:
parent
46049802aa
commit
a8cedf0c5d
2 changed files with 23 additions and 3 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
ENGINE_FILES=keymanengine.wixobj components.wixobj cef.wixobj
|
||||
|
||||
setup: msm copy
|
||||
|
||||
build:
|
||||
|
|
@ -35,7 +37,7 @@ msm:
|
|||
$(MAKE) -fdownload.mak candle
|
||||
|
||||
# warning 1072 relates to Error table defined by WixUtilExtension. Doesn't really affect us.
|
||||
$(WIXLIGHT) -sw1072 -ext WixUtilExtension keymanengine.wixobj components.wixobj -o keymanengine.msm
|
||||
$(WIXLIGHT) -sw1072 -ext WixUtilExtension $(ENGINE_FILES) -o keymanengine.msm
|
||||
|
||||
copy:
|
||||
#
|
||||
|
|
@ -62,6 +64,7 @@ clean:
|
|||
-del /Q *.msm
|
||||
-del /Q *.wixobj
|
||||
-del /Q *.wixpdb
|
||||
-del /Q cef.wxs
|
||||
|
||||
install:
|
||||
rem nothing
|
||||
|
|
|
|||
|
|
@ -4,6 +4,13 @@
|
|||
|
||||
!include ..\..\defines.mak
|
||||
|
||||
# It would be good to have a single merge module for CEF but it's not critical
|
||||
# as we will end up using the CEF from Keyman Engine in Keyman Developer
|
||||
|
||||
# We use different directories so that heat generates
|
||||
# different identifiers for the various folders
|
||||
KEYMAN_WIX_TEMP_CEF=$(TEMP)\keyman_wix_build\cef
|
||||
|
||||
default:
|
||||
echo Please don't call this file directly -- used by Makefile
|
||||
|
||||
|
|
@ -16,6 +23,16 @@ prepareredist:
|
|||
|
||||
clean:
|
||||
rem
|
||||
|
||||
candle:
|
||||
|
||||
heat-cef:
|
||||
# We copy the files to a temp folder in order to exclude .git and README.md from harvesting
|
||||
-rmdir /s/q $(KEYMAN_WIX_TEMP_CEF)
|
||||
mkdir $(KEYMAN_WIX_TEMP_CEF)
|
||||
xcopy $(KEYMAN_CEF4DELPHI_ROOT)\* $(KEYMAN_WIX_TEMP_CEF)\ /s
|
||||
$(WIXHEAT) dir $(KEYMAN_WIX_TEMP_CEF) -o cef.wxs -ag -cg CEF -dr INSTALLDIR -var var.CefSourceDir -wx -nologo
|
||||
# When we candle/light build, we can grab the source files from the proper root so go ahead and delete the temp folder again
|
||||
-rmdir /s/q $(KEYMAN_WIX_TEMP_CEF)
|
||||
|
||||
candle: heat-cef
|
||||
$(WIXCANDLE) -dVERSION=$VERSION -dRELEASE=$RELEASE -ext WixUtilExtension keymanengine.wxs components.wxs
|
||||
$(WIXCANDLE) -dVERSION=$VERSION -dRELEASE=$RELEASE -dCefSourceDir=$(KEYMAN_CEF4DELPHI_ROOT) cef.wxs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue