Subversion Repositories Scribus

Rev

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