diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 16:29:01 +0000 |
commit | 35a96bde514a8897f6f0fcc41c5833bf63df2e2a (patch) | |
tree | 657d15a03cc46bd099fc2c6546a7a4ad43815d9f /src/libnrtype/CMakeLists.txt | |
parent | Initial commit. (diff) | |
download | inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.tar.xz inkscape-35a96bde514a8897f6f0fcc41c5833bf63df2e2a.zip |
Adding upstream version 1.0.2.upstream/1.0.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/libnrtype/CMakeLists.txt')
-rw-r--r-- | src/libnrtype/CMakeLists.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/libnrtype/CMakeLists.txt b/src/libnrtype/CMakeLists.txt new file mode 100644 index 0000000..42ff9d2 --- /dev/null +++ b/src/libnrtype/CMakeLists.txt @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0-or-later + +set(nrtype_SRC + FontFactory.cpp + FontInstance.cpp + font-lister.cpp + Layout-TNG.cpp + Layout-TNG-Compute.cpp + Layout-TNG-Input.cpp + Layout-TNG-OutIter.cpp + Layout-TNG-Output.cpp + Layout-TNG-Scanline-Makers.cpp + OpenTypeUtil.cpp + + # ------- + # Headers + font-glyph.h + font-instance.h + font-lister.h + font-style.h + FontFactory.h + Layout-TNG-Scanline-Maker.h + Layout-TNG.h + OpenTypeUtil.cpp +) + +add_inkscape_lib(nrtype_LIB "${nrtype_SRC}") + +# we have circular references between nrtype_LIB and inkscape_base! +# this workaround prevents undefined references in nrtype_LIB when building static libraries (likely link order problem) +if(NOT BUILD_SHARED_LIBS) + target_link_libraries(nrtype_LIB inkscape_base) +endif() |