comparison mupdf-source/thirdparty/tesseract/cmake/SourceGroups.cmake @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 # Licensed under the Apache License, Version 2.0 (the "License");
2 # you may not use this file except in compliance with the License.
3 # You may obtain a copy of the License at
4 # http://www.apache.org/licenses/LICENSE-2.0
5 # Unless required by applicable law or agreed to in writing, software
6 # distributed under the License is distributed on an "AS IS" BASIS,
7 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8 # See the License for the specific language governing permissions and
9 # limitations under the License.
10 #include(SourceGroups)
11
12 set(SSRC ${CMAKE_SOURCE_DIR})
13 set(BSRC ${CMAKE_BINARY_DIR})
14
15 set(_CPP ".*\\.cpp")
16 set(CPP "${_CPP}$")
17
18 set(_H ".*\\.h")
19 set(H "${_H}$")
20
21 set(H_CPP "(${H}|${CPP})")
22
23 source_group("Resource files" ".*\\.(rc|ico)")
24
25 source_group("api" "${SSRC}/api/${H_CPP}")
26 source_group("arch" "${SSRC}/arch/${H_CPP}")
27 source_group("ccmain" "${SSRC}/ccmain/${H_CPP}")
28 source_group("ccstruct" "${SSRC}/ccstruct/${H_CPP}")
29 source_group("ccutil" "${SSRC}/ccutil/${H_CPP}")
30 source_group("classify" "${SSRC}/classify/${H_CPP}")
31 source_group("cutil" "${SSRC}/cutil/${H_CPP}")
32 source_group("dict" "${SSRC}/dict/${H_CPP}")
33 source_group("lstm" "${SSRC}/lstm/${H_CPP}")
34 source_group("textord" "${SSRC}/textord/${H_CPP}")
35 source_group("viewer" "${SSRC}/viewer/${H_CPP}")
36 source_group("wordrec" "${SSRC}/wordrec/${H_CPP}")