Subversion Repositories Scribus

Rev

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

Rev Author Line No. Line
14170 jghali 1
INCLUDE_DIRECTORIES(
2
${CMAKE_SOURCE_DIR}
3
${CMAKE_SOURCE_DIR}/scribus
4
)
5
 
15128 jghali 6
IF(HAVE_LCMS2)
17954 jghali 7
	INCLUDE_DIRECTORIES( ${LCMS2_INCLUDE_DIR} )
15128 jghali 8
	SET(SCRIBUS_LCMS_IMPL_SOURCES
9
		sclcms2colormgmtengineimpl.cpp
10
		sclcms2colorprofileimpl.cpp
11
		sclcms2colortransformimpl.cpp
12
	)
13
ELSE(HAVE_LCMS2)
17954 jghali 14
	INCLUDE_DIRECTORIES( ${LCMS_INCLUDE_DIR} )
15128 jghali 15
	SET(SCRIBUS_LCMS_IMPL_SOURCES
16
		sclcmscolormgmtengineimpl.cpp
17
		sclcmscolorprofileimpl.cpp
18
		sclcmscolortransformimpl.cpp
19
	)
20
ENDIF(HAVE_LCMS2)
21
 
14491 jghali 22
SET(SCRIBUS_COLORMGMT_LIB_SOURCES
23
	sccolormgmtengine.cpp
14963 jghali 24
	sccolormgmtenginedata.cpp
14491 jghali 25
	sccolormgmtenginefactory.cpp
26
	sccolormgmtimplelem.cpp
27
	sccolormgmtstructs.cpp
14170 jghali 28
	sccolorprofile.cpp
29
	sccolorprofilecache.cpp
14539 jghali 30
	sccolorprofiledata.cpp
14963 jghali 31
	sccolorspace.cpp
14510 jghali 32
	sccolorspacedata.cpp
14170 jghali 33
	sccolortransform.cpp
34
	sccolortransformpool.cpp
15128 jghali 35
	${SCRIBUS_LCMS_IMPL_SOURCES}
14170 jghali 36
)
15128 jghali 37
 
14491 jghali 38
SET(SCRIBUS_COLORMGMT_LIB "scribus_colormgmt_lib")
39
ADD_LIBRARY(${SCRIBUS_COLORMGMT_LIB} STATIC ${SCRIBUS_COLORMGMT_LIB_SOURCES})
14170 jghali 40
# This is a convenience library that for linkage purposes is part of Scribus's
41
# main API.
14491 jghali 42
SET_TARGET_PROPERTIES(${SCRIBUS_COLORMGMT_LIB}
14170 jghali 43
  PROPERTIES
44
  COMPILE_FLAGS -DCOMPILE_SCRIBUS_MAIN_APP
45
  )