Am Fri, 19 Dec 2025 12:17:08 +0100
schrieb Jean-Marc Lasgouttes <[email protected]>:

> Le 19/12/2025 à 11:57, Kornel Benko a écrit :
> > I had the impression that Riki is not using cmake to create Windows- 
> > package.
> > Anyway, for cmake lyx (prerelease, release, gprof) the default is
> >     'DefaultLyxEnableAssertions = OFF',
> > which results in '-DENABLE_ASSERTIONS=1' compiler option.  

Sorry, my bad.

> I thought that binaries are created by Eugene using MSVC these days. Am 
> I wrong?
> 
> Anyway, I cannot parse the relationship between
>    DefaultLyxEnableAssertions = OFF
> and
>    -DENABLE_ASSERTIONS=1
> 
> JMarc

In CMakeLists.txt:168,175,182 is DefaultLyxEnableAssertions set to OFF

In CMakeLists.txt:201 is LYX_ENABLE_ASSERTIONS set to value of 
DefaultLyxEnableAssertions

In CMakeLists.txt:701 is the compiler flag set to '-DENABLE_ASSERTIONS=1'
inside of 'if (LYX_ENABLE_ASSERTIONS)

In CMakeLists.txt:724 are the CMAKE_CXX_FLAGS set to be used by CXX-Compiler

        Kornel

Attachment: pgpoPT14DhX1n.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to