Am Wed, 17 Jun 2020 12:20:55 +0200 schrieb Yu Jin <[email protected]>: > Am Di., 16. Juni 2020 um 21:21 Uhr schrieb Enrico Forestieri <[email protected] > >: > > > On Tue, Jun 16, 2020 at 08:08:01PM +0200, Yu Jin wrote: > > > > > > Icons do work, I haven't found anything wrong with them. File properties > > > are not written though, don't know if that is to be concerned about. > > > Just to mention, it looks like src\lyxwinres.rc is not used, > > > development\cmake\lyx.rc is used instead. > > > > It is used when compiling with autotools on Windows. Essentially, > > mingw and cygwin builds use it. The information there is shown > > when showing the properties of an executable in the "details" tab. > > See attached. > > > > In that case I think that it would make sense if CMake also used it, > because of consistency. > > Eugene
You can play with it, try the attached.
Kornel
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index d7cf9c7bc6..e465268ba3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,10 +40,14 @@ list(REMOVE_ITEM lyx_sources
list(REMOVE_ITEM lyx_headers
${TOP_SRC_DIR}/src/Variables.h
${TOP_SRC_DIR}/src/Section.h)
+if (WIN32)
+ list(APPEND lyx_sources ${TOP_SRC_DIR}/src/lyxwinres.rc)
+endif()
+
if(NOT APPLE)
list(REMOVE_ITEM lyx_sources ${TOP_SRC_DIR}/src/AppleSpellChecker.cpp)
list(REMOVE_ITEM lyx_headers ${TOP_SRC_DIR}/src/AppleSpellChecker.h)
endif()
pgp8iwVK4kZIW.pgp
Description: Digitale Signatur von OpenPGP
-- lyx-devel mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-devel
