Am Dienstag, 9. Mai 2017 um 19:59:37, schrieb LyX Ticket Tracker <t...@lyx.org>
> #10658: LyX cannot be compiled any longer with CMake to show a console
> -----------------------+------------------------
>  Reporter:  uwestoehr  |      Owner:  kornel
>      Type:  defect     |     Status:  new
>  Priority:  normal     |  Milestone:  2.3.0
> Component:  build      |    Version:  2.3.0dev
>  Severity:  normal     |   Keywords:  regression
> -----------------------+------------------------
>  For a fresh build open the CMake gui.
>  it offers to set the variable
>  LYX_CONSOLE
>  The tooltip says "Show console on Windows, enforce with =FORCE"
> 
>  But one cannot set FORCE via the CMake gui.
> 
>  Therefore I used a build script build5-2015.bat that is in LyX's master
>  git. There we have
>  -DLYX_CONSOLE=FORCE

Yes, but you also set -DLYX_INSTALL=0, which prevents the handling of 
LYX_CONSOLE=FORCE (See CMakeLists.txt:183)

>  This works for LyX 2.2.x branch but not for master. I can compile but the
>  lyx.exe I get has no console.
> 
>  I therefore used now
>  -DLYX_CONSOLE=ON
>  but I still don't get a console.

Have you checked the value of LYX_CONSOLE in CMakeCache.txt?

>  As lat try I set
>  LYX_CONSOLE
>  in the CMake gui ut still don't get a console.
> 
>  A console is useful for debug builds so it would be nice to have a way to
>  get one.

        Kornel

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to