Skip to content

Commit ae81825

Browse files
authored
[mathtext] mv to builtin subdir for consistency (#22462)
* [mathtext] mv to builtins subdir for consistency with others * [mathtext] update paths to builtin * [mathtext] add license from original repo * [mathtext] rename source file extension for easier diffing with upstream fork
1 parent 2744740 commit ae81825

28 files changed

Lines changed: 518 additions & 16 deletions

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,7 @@ add_subdirectory (hist)
403403
add_subdirectory (tree)
404404
add_subdirectory (io)
405405
add_subdirectory (net)
406+
add_subdirectory (builtins/mathtext) # hard coded builtin for graf2d
406407
add_subdirectory (graf2d)
407408
add_subdirectory (graf3d)
408409
if(NOT minimal)
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,22 @@
55
# For the list of contributors see $ROOTSYS/README/CREDITS.
66

77
ROOT_LINKER_LIBRARY(mathtext
8-
fontembed.cxx
9-
fontembedps.cxx
10-
mathrender.cxx
11-
mathrenderstyle.cxx
12-
mathrendertoken.cxx
13-
mathtext.cxx
14-
mathtextencode.cxx
15-
mathtextparse.cxx
16-
mathtextview.cxx
8+
fontembed.cc
9+
fontembedps.cc
10+
mathrender.cc
11+
mathrenderstyle.cc
12+
mathrendertoken.cc
13+
mathtext.cc
14+
mathtextencode.cc
15+
mathtextparse.cc
16+
mathtextview.cc
1717
TYPE
1818
STATIC
1919
NOINSTALL
2020
)
2121

2222
check_cxx_compiler_flag(-Wbidi-chars=none GCC_HAS_BIDI_CHARS_FLAG)
2323
if(GCC_HAS_BIDI_CHARS_FLAG)
24-
set_source_files_properties(src/fontembed.cxx COMPILE_FLAGS "-Wbidi-chars=none")
24+
set_source_files_properties(src/fontembed.cc COMPILE_FLAGS "-Wbidi-chars=none")
2525
endif()
2626
set_property(TARGET mathtext PROPERTY POSITION_INDEPENDENT_CODE ON)

builtins/mathtext/LICENSE

Lines changed: 502 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)