Source for 2.3.4

Kornel Benko kornel at
Tue Jan 14 22:36:36 UTC 2020

Am Tue, 14 Jan 2020 22:40:48 +0100
schrieb Yu Jin <technikmagma at>:

> Compiling LyX 2.3.3 also works fine for me, but in
> the lyx.rc file was changed, lines 24 and 25 now contain "
> LYX_RELEASE_LEVEL,LYX_RELEASE_PATCH ", I could not find these anywhere else
> (unlike the other two,  LYX_MAJOR_VERSION,LYX_MINOR_VERSION, which are set
> in CMakeLists.txt (main folder)). So for me Visual Studio fails to compile
> with "unidentified keyword or key" error.
> Eugene

Yes, commit 44676920.
Author:     Richard Kimberly Heck <rikiheck at>
AuthorDate: Tue Jun 18 17:50:19 2019 -0400
Commit:     Richard Kimberly Heck <rikiheck at>
CommitDate: Tue Jun 18 17:50:19 2019 -0400

    Use data from src/lyxwinres.rc to generate lyx.coff for the Windows
    Ideally, this would be done by cmake itself (as it is now done by
    autotools). But I do not know how to do that.

Riki, the values can be handled with configure_file() macro.
Instead of having for instance 'LYX_MAJOR_VERSION' we would use '@LYX_MAJOR_VERSION@'.

input: (in src dir)
output: lyx.rc (in build-dir)
	configure_file(${LYX_CMAKE_DIR}/ ${TOP_BINARY_DIR}/lyx.rc @ONLY)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <>

More information about the lyx-devel mailing list