Am Samstag, 19. Mai 2018 11:24:19 CEST schrieb Enrico Forestieri 
<for...@lyx.org>:
> On Fri, May 18, 2018 at 01:12:34PM -0400, Richard Kimberly Heck wrote:
> > 
> > By the way, do you know how to figure out where Windows is trying to
> > find the icon? I've presumably changed something unknowingly about where
> > it's being put.
> 
> On Windows, an application icon is provided through a resource file that
> is compiled by the resource compiler (windres) and then linked to the
> executable in the final linking stage. Using autotools, the resource file
> lyxwinres.rc is compiled and then linked. Maybe the cmake build lacks this
> functionality?

No, it does not. For windows it is using 'development/cmake/lyx.rc'. But, for 
reason I don't
understand, the icon creation is explicitly disabled if using mingw.
See src/CMakeLists.txt:97
        if(WIN32 AND NOT MINGW)
        set(FILE_RC ${TOP_CMAKE_PATH}/lyx.rc)
        message(STATUS "Using icon defined in resource file: ${FILE_RC}")
        endif()

        Kornel



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

Reply via email to