[LyX/master] CMake: adapt to new location of Lexer

Jean-Marc Lasgouttes lasgouttes at lyx.org
Sun Apr 28 14:07:00 UTC 2024



Le 28 avril 2024 15:15:30 GMT+02:00, Scott Kostyshak <skostysh at lyx.org> a écrit :
>commit 23c45f76adf66082851632a28f9c259e0f43a212
>Author: Scott Kostyshak <skostysh at lyx.org>
>Date:   Sun Apr 28 09:13:55 2024 -0400
>
>    CMake: adapt to new location of Lexer

Thanks!

JMarc 



>    Lexer is now in support/. See 2660df9b.
>---
> src/tests/CMakeLists.txt   | 2 +-
> src/tex2lyx/CMakeLists.txt | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
>diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt
>index 0fe014f9c2..bde03f1b0d 100644
>--- a/src/tests/CMakeLists.txt
>+++ b/src/tests/CMakeLists.txt
>@@ -6,7 +6,7 @@
> 
> set(check_layout_SOURCES)
> foreach(_f insets/InsetLayout.cpp CiteEnginesList.cpp Color.cpp Counters.cpp Floating.cpp
>-       FloatList.cpp FontInfo.cpp Layout.cpp LayoutFile.cpp Lexer.cpp
>+       FloatList.cpp FontInfo.cpp Layout.cpp LayoutFile.cpp support/Lexer.cpp
>        ModuleList.cpp Spacing.cpp TextClass.cpp tests/check_layout.cpp
>        tests/boost.cpp tests/dummy_functions.cpp)
>   list(APPEND check_layout_SOURCES "${TOP_SRC_DIR}/src/${_f}")
>diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt
>index 79768138d4..9bf42ee0f6 100644
>--- a/src/tex2lyx/CMakeLists.txt
>+++ b/src/tex2lyx/CMakeLists.txt
>@@ -13,7 +13,7 @@ set(LINKED_headers)
> foreach(_src graphics/GraphicsParams insets/ExternalTemplate
> 	insets/ExternalTransforms insets/InsetLayout Author CiteEnginesList Color Counters
> 	Encoding FloatList Floating FontInfo LaTeXPackages Layout
>-	LayoutFile LayoutModuleList Lexer ModuleList TextClass
>+	LayoutFile LayoutModuleList support/Lexer ModuleList TextClass
> 	Spacing version)
> 	list(APPEND LINKED_sources ${TOP_SRC_DIR}/src/${_src}.cpp)
> 	list(APPEND LINKED_headers ${TOP_SRC_DIR}/src/${_src}.h)


More information about the lyx-devel mailing list