[LyX/2.3.x] Use data from src/lyxwinres.rc to generate lyx.coff for the Windows build.

Enrico Forestieri forenr at lyx.org
Wed Jun 17 13:48:16 UTC 2020


On Wed, Jun 17, 2020 at 03:38:00PM +0200, Kornel Benko wrote:
> 
> Maybe following has to be specified too (inside the if(WIN32))
> 	ENABLE_LANGUAGE(RC)

Note that you have to make sure the icons are available. This is done
in src/Makefile.am by copying them as follows:

if LYX_WIN_RESOURCE
.rc.o:
	cp $(top_srcdir)/development/Win32/packaging/icons/lyx_*32x32.ico .
	$(RC) -I$(top_builddir) --preprocessor "$(CPP) -xc-header -DRC_INVOKED" $< -o $@
endif

-- 
Enrico


More information about the lyx-devel mailing list