Subversion Repositories Scribus

Rev

Rev 14963 | Rev 15143 | 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
14491 jghali 34
	sclcmscolormgmtengineimpl.cpp
14170 jghali 35
	sclcmscolorprofileimpl.cpp
36
	sclcmscolortransformimpl.cpp
15128 jghali 37
	${SCRIBUS_LCMS_IMPL_SOURCES}
14170 jghali 38
)
15128 jghali 39
 
14491 jghali 40
SET(SCRIBUS_COLORMGMT_LIB "scribus_colormgmt_lib")
41
ADD_LIBRARY(${SCRIBUS_COLORMGMT_LIB} STATIC ${SCRIBUS_COLORMGMT_LIB_SOURCES})
14170 jghali 42
# This is a convenience library that for linkage purposes is part of Scribus's
43
# main API.
14491 jghali 44
SET_TARGET_PROPERTIES(${SCRIBUS_COLORMGMT_LIB}
14170 jghali 45
  PROPERTIES
46
  COMPILE_FLAGS -DCOMPILE_SCRIBUS_MAIN_APP
47
  )