Subversion Repositories Scribus

Rev

Rev 20469 | Rev 21155 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5142 cbradney 1
INCLUDE_DIRECTORIES(
18448 craig 2
	${CMAKE_SOURCE_DIR}
3
	${CMAKE_SOURCE_DIR}/scribus
4
	${FREETYPE_INCLUDE_DIRS}
21107 craig 5
	${CAIRO_INCLUDE_DIRS}
5142 cbradney 6
)
7
 
20469 craig 8
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_FPIC}")
5142 cbradney 9
 
7942 avox 10
SET(SCRIBUS_TEXT_MOC_CLASSES
18448 craig 11
	storytext.h
21107 craig 12
	boxes.h
7942 avox 13
)
14
 
5142 cbradney 15
SET(SCRIBUS_TEXT_LIB_SOURCES
18448 craig 16
	specialchars.cpp
17
	storytext.cpp
18987 avox 18
	textlayout.cpp
21107 craig 19
	textlayoutpainter.cpp
20
	screenpainter.cpp
18448 craig 21
	sctext_shared.cpp
22
	fsize.cpp
23
	frect.cpp
21107 craig 24
	boxes.cpp
5142 cbradney 25
)
26
 
18446 craig 27
QT5_WRAP_CPP(SCRIBUS_TEXT_MOC_SOURCES ${SCRIBUS_TEXT_MOC_CLASSES})
7942 avox 28
 
5142 cbradney 29
SET(SCRIBUS_TEXT_LIB "scribus_text_lib")
7942 avox 30
ADD_LIBRARY(${SCRIBUS_TEXT_LIB} STATIC ${SCRIBUS_TEXT_LIB_SOURCES} ${SCRIBUS_TEXT_MOC_SOURCES})
10757 craig 31
# This is a convenience library that for linkage purposes is part of Scribus's
32
# main API.
33
SET_TARGET_PROPERTIES(${SCRIBUS_TEXT_LIB}
18448 craig 34
	PROPERTIES
35
	COMPILE_FLAGS -DCOMPILE_SCRIBUS_MAIN_APP
36
)
10757 craig 37