"Fossies" - the Fresh Open Source Software Archive

Member "xpdf-4.04/splash/CMakeLists.txt" (18 Apr 2022, 1236 Bytes) of package /linux/misc/xpdf-4.04.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 4.03_vs_4.04.

    1 #========================================================================
    2 #
    3 # splash/CMakeLists.txt
    4 #
    5 # CMake script for the splash library.
    6 #
    7 # Copyright 2015 Glyph & Cog, LLC
    8 #
    9 #========================================================================
   10 
   11 if (HAVE_SPLASH)
   12   include_directories("${PROJECT_SOURCE_DIR}")
   13   include_directories("${PROJECT_BINARY_DIR}")
   14   include_directories("${PROJECT_SOURCE_DIR}/goo")
   15   include_directories("${PROJECT_SOURCE_DIR}/fofi")
   16   include_directories("${FREETYPE_INCLUDE_DIRS}")
   17 
   18   if (HAVE_DTYPE4_H)
   19     include_directories("${DTYPE_INCLUDE_DIR}")
   20     set(DTYPE_SRCS
   21         SplashDT4Font.cc SplashDT4FontEngine.cc SplashDT4FontFile.cc)
   22   endif ()
   23 
   24   add_library(splash_objs OBJECT
   25     Splash.cc
   26     SplashBitmap.cc
   27     SplashClip.cc
   28     SplashFTFont.cc
   29     SplashFTFontEngine.cc
   30     SplashFTFontFile.cc
   31     SplashFont.cc
   32     SplashFontEngine.cc
   33     SplashFontFile.cc
   34     SplashFontFileID.cc
   35     SplashPath.cc
   36     SplashPattern.cc
   37     SplashScreen.cc
   38     SplashState.cc
   39     SplashXPath.cc
   40     SplashXPathScanner.cc
   41     ${DTYPE_SRCS}
   42   )
   43   set_property(TARGET splash_objs
   44                PROPERTY POSITION_INDEPENDENT_CODE True)
   45 
   46   add_library(splash
   47     $<TARGET_OBJECTS:splash_objs>
   48   )
   49 endif ()