source: src/imgcnv.pro @ 224:c63528c41fc2

Last change on this file since 224:c63528c41fc2 was 224:c63528c41fc2, checked in by Dmitry Fedorov <fedorov@…>, 9 years ago

building fixes

File size: 19.2 KB
Line 
1######################################################################
2# Manually generated !!!
3# BioImageConvert v 1.50 Project file
4# run: qmake imgcnv.pro in order to generate Makefile for your platform
5# Copyright (c) 2005-2010, Bio-Image Informatic Center, UCSB
6#
7# To generate Makefile on any platform:
8#   qmake imgcnv.pro
9#
10# To generate VisualStudio project file:
11#   qmake -t vcapp -spec win32-msvc2005 imgcnv.pro
12#   qmake -t vcapp -spec win32-msvc.net imgcnv.pro
13#   qmake -t vcapp -spec win32-msvc imgcnv.pro
14#   qmake -spec win32-icc imgcnv.pro # to use pure Intel Compiler
15#
16# To generate xcode project file:
17#   qmake -spec macx-xcode imgcnv.pro
18#
19# To generate Makefile on MacOSX with binary install:
20#   qmake -spec macx-g++ imgcnv.pro
21#
22######################################################################
23
24#---------------------------------------------------------------------
25# configuration: editable
26#---------------------------------------------------------------------
27APP_NAME = imgcnv
28TARGET = imgcnv
29
30TEMPLATE = app
31#TEMPLATE = lib
32VERSION = 0.1.53
33
34CONFIG = console
35#CONFIG = staticlib
36
37CONFIG += release
38#CONFIG += debug
39CONFIG += warn_off
40
41# static library config
42# nothing defined uses dynamic system version
43# defining "stat_" - uses embedded version
44# defining "stat_sys_" - uses static system version
45
46CONFIG += stat_libtiff
47#CONFIG += stat_sys_libtiff
48
49CONFIG += stat_libjpeg
50#CONFIG += stat_sys_libjpeg
51
52CONFIG += stat_libpng
53#CONFIG += stat_sys_libpng
54
55CONFIG += stat_zlib
56#CONFIG += stat_sys_zlib
57
58# lib ffmpeg at this point is forced to be local copy since the trunc changes too much
59CONFIG += ffmpeg
60#CONFIG += sys_ffmpeg
61
62#CONFIG += stat_bzlib
63CONFIG += sys_bzlib
64macx:CONFIG += sys_bzlib
65
66CONFIG += stat_exiv2
67#CONFIG += sys_exiv2
68
69CONFIG += stat_eigen
70
71debug: {
72   message(Building in DEBUG mode!)
73   DEFINES += _DEBUG _DEBUG_
74}
75
76unix {
77  QMAKE_CFLAGS_DEBUG += -pg -fPIC -ggdb
78  QMAKE_CXXFLAGS_DEBUG += -pg -fPIC -ggdb
79  QMAKE_LFLAGS_DEBUG += -pg -fPIC -ggdb
80
81  QMAKE_CFLAGS_RELEASE += -fPIC
82  QMAKE_CXXFLAGS_RELEASE += -fPIC
83  QMAKE_LFLAGS_RELEASE += -fPIC
84}
85
86QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
87
88#---------------------------------------------------------------------
89# configuration paths: editable
90#---------------------------------------------------------------------
91
92DN_SRC  = ./
93DN_LSRC = ../libsrc
94DN_LIBS = ../libs
95DN_IMGS = ../images
96unix {
97  DN_GENS = ../generated/$$(HOSTTYPE)
98  # path for object files
99  DN_OBJ = $$DN_GENS/obj
100  # path for generated binary
101  DN_BIN = ../$$(HOSTTYPE)
102}
103win32 {
104  DN_GENS = ../generated/$(PlatformName)/$(ConfigurationName)
105  # path for object files
106  DN_OBJ = $$DN_GENS
107  # path for generated binary
108  DN_BIN = ../$(PlatformName)/$(ConfigurationName)
109}
110
111DN_LIB_TIF = $$DN_LSRC/libtiff
112DN_LIB_JPG = $$DN_LSRC/libjpeg
113DN_LIB_PNG = $$DN_LSRC/libpng
114DN_LIB_Z   = $$DN_LSRC/zlib
115DN_LIB_BZ2 = $$DN_LSRC/bzip2
116DN_LIB_BIO = $$DN_LSRC/libbioimg
117
118DN_CORE     = $$DN_LIB_BIO/core_lib
119DN_FMTS     = $$DN_LIB_BIO/formats
120DN_FMTS_API = $$DN_LIB_BIO/formats_api
121
122ffmpeg {
123  DN_LIB_FFMPEG = $$DN_LSRC/ffmpeg
124  DN_FMT_FFMPEG = $$DN_FMTS/mpeg
125}
126DN_LIB_EXIV2   = $$DN_LSRC/exiv2
127DN_LIB_EIGEN   = $$DN_LSRC/eigen
128
129#---------------------------------------------------------------------
130# configuration: automatic
131#---------------------------------------------------------------------
132
133# enable the following only for 10.4 and universal binary generation
134#macx:QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
135#macx:LIBS += -faltivec -framework vecLib
136#macx:CONFIG+=x86 ppc
137#QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4
138
139win32 {
140  DEFINES += _CRT_SECURE_NO_WARNINGS
141}
142
143win32: {
144  DN_LIBS_PLTFM = $$DN_LIBS/vc2008
145} else:macx {
146  DN_LIBS_PLTFM = $$DN_LIBS/macosx
147} else:unix {
148  DN_LIBS_PLTFM = $$DN_LIBS/linux/$$(HOSTTYPE)
149} else {
150  DN_LIBS_PLTFM = $$DN_LIBS/linux
151}
152
153unix {
154  !exists( $$DN_GENS ) {
155    message( "Cannot find directory: $$DN_GENS, creating..." )
156    system( mkdir -p $$DN_GENS )
157  }
158}
159win32 {
160  !exists( $$DN_GENS ) {
161    message( "Cannot find directory: $$DN_GENS, creating..." )
162    !exists( ../generated/Win32/Debug       ) { system( mkdir ..\\generated\\Win32\\Debug ) }
163    !exists( ../generated/Win32/Release     ) { system( mkdir ..\\generated\\Win32\\Release ) }
164    !exists( ../generated/Win32/ICC_Release ) { system( mkdir ..\\generated\\Win32\\ICC_Release ) }
165    !exists( ../generated/x64/Debug         ) { system( mkdir ..\\generated\\x64\\Debug ) }
166    !exists( ../generated/x64/Release       ) { system( mkdir ..\\generated\\x64\\Release ) }
167    !exists( ../generated/x64/ICC_Release   ) { system( mkdir ..\\generated\\x64\\ICC_Release ) }
168  }
169}
170
171unix {
172  !exists( $$DN_OBJ ) {
173    message( "Cannot find directory: $$DN_OBJ, creating..." )
174    system( mkdir -p $$DN_OBJ )
175  }
176}
177win32 {
178  !exists( $$DN_OBJ ) {
179    message( "Cannot find directory: $$DN_GENS, creating..." )
180    !exists( ../generated/Win32/Debug   ) { system( mkdir ..\\generated\\Win32\\Debug ) }
181    !exists( ../generated/Win32/Release ) { system( mkdir ..\\generated\\Win32\\Release ) }
182    !exists( ../generated/x64/Debug     ) { system( mkdir ..\\generated\\x64\\Debug ) }
183    !exists( ../generated/x64/Release   ) { system( mkdir ..\\generated\\x64\\Release ) }
184  }
185}
186
187# compile ffmpeg
188ffmpeg {
189  #message( "Compiling FFMPEG as requested..." )
190  #win32 {
191  #  message( "Attention: Cygwin and VC++2005 are required for ffmpeg windows compilation" ) 
192  #  system( cd $$DN_LIB_FFMPEG ; sh ./build-ffmpeg-cygwin.sh ; cd ../../ )
193  #} else:macx {
194  #  system( cd $$DN_LIB_FFMPEG ; sh ./build-ffmpeg-macosx.sh ; cd ../../ )
195  #} else {
196  #  system( cd $$DN_LIB_FFMPEG ; sh ./build-ffmpeg-linux.sh ; cd ../../ ) 
197  #} 
198}
199
200#---------------------------------------------------------------------
201# library configuration: automatic
202#---------------------------------------------------------------------
203
204# By default all libraries are static, we can check for existing
205# ones and use dynamic linking for those
206
207unix {
208
209  exists( $$DN_GENS ) {
210    #checking for libtiff... -ltiff
211    #CONFIG -= stat_libtiff
212  }
213 
214  exists( $$DN_GENS ) {
215    #checking for libjpeg... -ljpeg
216    #CONFIG -= stat_libjpeg
217  }
218 
219  exists( $$DN_GENS ) { 
220    #checking for libpng... -lpng -lz -lm
221    #CONFIG -= stat_libpng
222  }
223
224  exists( $$DN_GENS ) {
225    #checking for libz... -lz
226    #CONFIG -= stat_zlib
227  }
228
229}
230
231# mac os x
232macx {
233  CONFIG -= stat_zlib
234}
235
236
237#---------------------------------------------------------------------
238# generation: fixed
239#---------------------------------------------------------------------
240
241CONFIG  -= qt x11 windows
242
243MOC_DIR = $$DN_GENS
244DESTDIR = $$DN_BIN
245OBJECTS_DIR = $$DN_OBJ
246INCLUDEPATH += $$DN_GENS
247
248#---------------------------------------------------------------------
249# main sources
250#---------------------------------------------------------------------
251SOURCES += main.cpp
252SOURCES += reg/registration.cpp
253
254#---------------------------------------------------------------------
255#image formats library           
256#---------------------------------------------------------------------
257
258INCLUDEPATH += $$DN_LIB_BIO
259INCLUDEPATH += $$DN_FMTS_API
260INCLUDEPATH += $$DN_FMTS
261INCLUDEPATH += $$DN_CORE
262
263#core
264SOURCES += $$DN_CORE/xstring.cpp $$DN_CORE/xtypes.cpp \
265           $$DN_CORE/tag_map.cpp $$DN_CORE/xpointer.cpp $$DN_CORE/xconf.cpp
266
267#Formats API
268SOURCES += $$DN_FMTS_API/dim_img_format_utils.cpp \
269           $$DN_FMTS_API/dim_buffer.cpp \
270           $$DN_FMTS_API/dim_histogram.cpp \
271           $$DN_FMTS_API/bim_metatags.cpp \
272           $$DN_FMTS_API/dim_image.cpp \
273           $$DN_FMTS_API/dim_image_pyramid.cpp \
274           $$DN_FMTS_API/dim_image_stack.cpp
275           
276#Formats     
277SOURCES += $$DN_FMTS/dim_format_manager.cpp \
278           $$DN_FMTS/meta_format_manager.cpp\
279           $$DN_FMTS/tiff/bim_tiny_tiff.cpp \           
280           $$DN_FMTS/tiff/dim_tiff_format.cpp \
281           $$DN_FMTS/tiff/dim_xtiff.c \
282           $$DN_FMTS/tiff/memio.c \
283           $$DN_FMTS/dmemio.cpp \
284           $$DN_FMTS/jpeg/dim_jpeg_format.cpp \
285           $$DN_FMTS/biorad_pic/dim_biorad_pic_format.cpp \
286           $$DN_FMTS/bmp/dim_bmp_format.cpp \
287           $$DN_FMTS/png/dim_png_format.cpp \
288           $$DN_FMTS/nanoscope/dim_nanoscope_format.cpp \
289           $$DN_FMTS/raw/dim_raw_format.cpp \
290           $$DN_FMTS/ibw/dim_ibw_format.cpp \
291           $$DN_FMTS/ome/dim_ome_format.cpp\
292           $$DN_FMTS/ole/dim_ole_format.cpp\
293           $$DN_FMTS/ole/zvi.cpp
294
295#---------------------------------------------------------------------       
296#Pole
297
298D_LIB_POLE = $$DN_LSRC/pole
299INCLUDEPATH += $$D_LIB_POLE
300
301SOURCES += $$D_LIB_POLE/pole.cpp
302           
303#---------------------------------------------------------------------       
304#ffmpeg
305
306ffmpeg {
307
308  DEFINES  += DIM_FFMPEG_FORMAT FFMPEG_VIDEO_DISABLE_MATLAB __STDC_CONSTANT_MACROS
309  INCLUDEPATH += $$DN_LIB_FFMPEG/include
310  #INCLUDEPATH += $$DN_LIB_FFMPEG/ffmpeg-out/$$(HOSTTYPE)/include
311  win32:INCLUDEPATH += $$DN_LIB_FFMPEG/include-win
312
313  SOURCES += $$DN_FMT_FFMPEG/debug.cpp $$DN_FMT_FFMPEG/dim_ffmpeg_format.cpp \
314             $$DN_FMT_FFMPEG/FfmpegCommon.cpp $$DN_FMT_FFMPEG/FfmpegIVideo.cpp \
315             $$DN_FMT_FFMPEG/FfmpegOVideo.cpp $$DN_FMT_FFMPEG/registry.cpp
316           
317  win32 {   
318    LIBS += $$DN_LIBS_PLTFM/avcodec-51.lib
319    LIBS += $$DN_LIBS_PLTFM/avformat-52.lib
320    LIBS += $$DN_LIBS_PLTFM/avutil-50.lib
321    LIBS += $$DN_LIBS_PLTFM/swscale-0.lib
322  } else {
323    LIBS += $$DN_LIBS_PLTFM/libavformat.a
324    LIBS += $$DN_LIBS_PLTFM/libavcodec.a
325    LIBS += $$DN_LIBS_PLTFM/libswscale.a
326    LIBS += $$DN_LIBS_PLTFM/libavutil.a     
327  }
328  macx {
329    LIBS += $$DN_LIBS_PLTFM/libx264.a
330    LIBS += $$DN_LIBS_PLTFM/libvpx.a
331    LIBS += $$DN_LIBS_PLTFM/libxvidcore.a
332    LIBS += $$DN_LIBS_PLTFM/libogg.a
333    LIBS += $$DN_LIBS_PLTFM/libtheora.a
334    LIBS += $$DN_LIBS_PLTFM/libtheoraenc.a 
335    LIBS += $$DN_LIBS_PLTFM/libtheoradec.a
336    LIBS += -framework CoreFoundation -framework VideoDecodeAcceleration -framework QuartzCore       
337  }
338 
339} # FFMPEG           
340
341
342#---------------------------------------------------------------------
343# Now adding static libraries
344#---------------------------------------------------------------------
345
346#some configs first
347unix:DEFINES  += HAVE_UNISTD_H
348unix:DEFINES  -= HAVE_IO_H
349win32:DEFINES += HAVE_IO_H
350macx:DEFINES  += HAVE_UNISTD_H
351#macx:DEFINES  += WORDS_BIGENDIAN
352macx:DEFINES  -= HAVE_IO_H
353
354#---------------------------------------------------------------------
355#LibTiff
356
357stat_libtiff {
358  INCLUDEPATH += $$DN_LIB_TIF
359  SOURCES += $$DN_LIB_TIF/tif_fax3sm.c $$DN_LIB_TIF/tif_aux.c \
360             $$DN_LIB_TIF/tif_close.c $$DN_LIB_TIF/tif_codec.c \
361             $$DN_LIB_TIF/tif_color.c $$DN_LIB_TIF/tif_compress.c \
362             $$DN_LIB_TIF/tif_dir.c $$DN_LIB_TIF/tif_dirinfo.c \
363             $$DN_LIB_TIF/tif_dirread.c $$DN_LIB_TIF/tif_dirwrite.c \
364             $$DN_LIB_TIF/tif_dumpmode.c $$DN_LIB_TIF/tif_error.c \
365             $$DN_LIB_TIF/tif_extension.c $$DN_LIB_TIF/tif_fax3.c \
366             $$DN_LIB_TIF/tif_flush.c $$DN_LIB_TIF/tif_getimage.c \
367             $$DN_LIB_TIF/tif_jpeg.c $$DN_LIB_TIF/tif_luv.c \
368             $$DN_LIB_TIF/tif_lzw.c $$DN_LIB_TIF/tif_next.c \
369             $$DN_LIB_TIF/tif_open.c $$DN_LIB_TIF/tif_packbits.c \
370             $$DN_LIB_TIF/tif_pixarlog.c $$DN_LIB_TIF/tif_predict.c \
371             $$DN_LIB_TIF/tif_print.c $$DN_LIB_TIF/tif_read.c \
372             $$DN_LIB_TIF/tif_strip.c $$DN_LIB_TIF/tif_swab.c \
373             $$DN_LIB_TIF/tif_thunder.c $$DN_LIB_TIF/tif_tile.c \
374             $$DN_LIB_TIF/tif_version.c $$DN_LIB_TIF/tif_warning.c \
375             $$DN_LIB_TIF/tif_write.c $$DN_LIB_TIF/tif_zip.c
376           
377  unix:SOURCES  += $$DN_LIB_TIF/tif_unix.c
378  win32:SOURCES += $$DN_LIB_TIF/tif_win32.c
379}
380
381!stat_libtiff {
382  unix {
383    stat_sys_libtiff {
384      LIBS += /usr/lib/libtiff.a
385    } else {
386      LIBS += -ltiff
387    }
388  }
389  win32:LIBS += $$DN_LIBS_PLTFM/libtiff.lib
390}
391
392#---------------------------------------------------------------------       
393#LibPng
394
395stat_libpng {
396
397  INCLUDEPATH += $$DN_LIB_PNG
398 
399  # by default disable intel asm code
400  unix:DEFINES += PNG_NO_ASSEMBLER_CODE PNG_USE_PNGVCRD
401
402  # enable only for x86 machines (not x64)
403  #message( "Enable Intel ASM code for PNG..." )
404  win32:DEFINES -= PNG_NO_ASSEMBLER_CODE PNG_USE_PNGVCRD
405  macx:DEFINES -= PNG_NO_ASSEMBLER_CODE PNG_USE_PNGVCRD
406  linux-g++-32:DEFINES -= PNG_NO_ASSEMBLER_CODE PNG_USE_PNGVCRD
407
408  SOURCES += $$DN_LIB_PNG/png.c $$DN_LIB_PNG/pngerror.c $$DN_LIB_PNG/pngget.c \
409             $$DN_LIB_PNG/pngmem.c $$DN_LIB_PNG/pngpread.c $$DN_LIB_PNG/pngread.c \
410             $$DN_LIB_PNG/pngrio.c $$DN_LIB_PNG/pngrtran.c $$DN_LIB_PNG/pngrutil.c \
411             $$DN_LIB_PNG/pngset.c $$DN_LIB_PNG/pngtrans.c \
412             $$DN_LIB_PNG/pngwio.c $$DN_LIB_PNG/pngwrite.c $$DN_LIB_PNG/pngwtran.c \
413             $$DN_LIB_PNG/pngwutil.c
414}
415
416!stat_libpng {
417  unix {
418    stat_sys_libpng {
419      LIBS += /usr/lib/libpng.a
420    } else {
421      LIBS += -lpng
422    }
423  }
424  win32:LIBS += $$DN_LIBS_PLTFM/libpng.lib
425}
426
427 
428#---------------------------------------------------------------------         
429#ZLib
430
431stat_zlib {
432  INCLUDEPATH += $$DN_LIB_Z
433
434  SOURCES += $$DN_LIB_Z/adler32.c $$DN_LIB_Z/compress.c $$DN_LIB_Z/crc32.c \
435             $$DN_LIB_Z/deflate.c $$DN_LIB_Z/gzio.c $$DN_LIB_Z/infback.c \
436             $$DN_LIB_Z/inffast.c $$DN_LIB_Z/inflate.c $$DN_LIB_Z/inftrees.c \
437             $$DN_LIB_Z/trees.c $$DN_LIB_Z/uncompr.c $$DN_LIB_Z/zutil.c
438}
439
440!stat_zlib {
441  unix {
442    stat_sys_zlib {
443      LIBS += /usr/lib/libz.a
444    } else {
445      LIBS += -lz
446    }
447  }
448  win32:LIBS += $$DN_LIBS_PLTFM/zlib.lib 
449}
450
451#---------------------------------------------------------------------
452#libjpeg
453
454stat_libjpeg {
455  INCLUDEPATH += $$DN_LIB_JPG
456  SOURCES += $$DN_LIB_JPG/jaricom.c $$DN_LIB_JPG/jcapimin.c $$DN_LIB_JPG/jcapistd.c \
457       $$DN_LIB_JPG/jcarith.c $$DN_LIB_JPG/jccoefct.c \
458             $$DN_LIB_JPG/jccolor.c $$DN_LIB_JPG/jcdctmgr.c $$DN_LIB_JPG/jchuff.c \
459             $$DN_LIB_JPG/jcinit.c $$DN_LIB_JPG/jcmainct.c $$DN_LIB_JPG/jcmarker.c \
460             $$DN_LIB_JPG/jcmaster.c $$DN_LIB_JPG/jcomapi.c $$DN_LIB_JPG/jcparam.c \
461             $$DN_LIB_JPG/jcprepct.c $$DN_LIB_JPG/jcsample.c $$DN_LIB_JPG/jctrans.c \
462             $$DN_LIB_JPG/jdapimin.c $$DN_LIB_JPG/jdapistd.c $$DN_LIB_JPG/jdarith.c \
463             $$DN_LIB_JPG/jdatadst.c $$DN_LIB_JPG/jdatasrc.c $$DN_LIB_JPG/jdcoefct.c \
464             $$DN_LIB_JPG/jdcolor.c $$DN_LIB_JPG/jddctmgr.c $$DN_LIB_JPG/jdhuff.c \
465             $$DN_LIB_JPG/jdinput.c $$DN_LIB_JPG/jdmainct.c $$DN_LIB_JPG/jdmarker.c \
466             $$DN_LIB_JPG/jdmaster.c $$DN_LIB_JPG/jdmerge.c \
467             $$DN_LIB_JPG/jdpostct.c $$DN_LIB_JPG/jdsample.c $$DN_LIB_JPG/jdtrans.c \
468             $$DN_LIB_JPG/jerror.c $$DN_LIB_JPG/jfdctflt.c $$DN_LIB_JPG/jfdctfst.c \
469             $$DN_LIB_JPG/jfdctint.c $$DN_LIB_JPG/jidctflt.c $$DN_LIB_JPG/jidctfst.c \
470             $$DN_LIB_JPG/jidctint.c $$DN_LIB_JPG/jmemmgr.c \
471             $$DN_LIB_JPG/jquant1.c $$DN_LIB_JPG/jquant2.c $$DN_LIB_JPG/jutils.c \
472             $$DN_LIB_JPG/jmemansi.c
473}
474
475!stat_libjpeg {
476  unix {
477    stat_sys_libjpeg {
478      LIBS += /usr/lib/libjpeg.a
479    } else {
480      LIBS += -ljpeg
481    }
482  }
483  win32:LIBS += $$DN_LIBS_PLTFM/libjpeg.lib
484}   
485
486#---------------------------------------------------------------------
487#bzlib
488   
489stat_bzlib {
490  INCLUDEPATH += $$DN_LIB_BZ2
491  SOURCES += $$DN_LIB_BZ2/blocksort.c $$DN_LIB_BZ2/bzlib.c $$DN_LIB_BZ2/randtable.c \
492             $$DN_LIB_BZ2/compress.c $$DN_LIB_BZ2/crctable.c $$DN_LIB_BZ2/decompress.c $$DN_LIB_BZ2/huffman.c
493}
494
495sys_bzlib {
496   unix:LIBS += -lbz2
497   macx:LIBS += -lbz2     
498   #win32:LIBS += $$DN_LIBS_PLTFM/libbz2.lib     
499}
500 
501#---------------------------------------------------------------------
502#exiv2
503
504stat_exiv2 {
505  INCLUDEPATH += $$DN_LIB_EXIV2
506  INCLUDEPATH += $$DN_LIB_EXIV2/exiv2 
507  SOURCES += $$DN_LIB_EXIV2/exiv2/basicio.cpp $$DN_LIB_EXIV2/exiv2/bmpimage.cpp \
508          $$DN_LIB_EXIV2/exiv2/canonmn.cpp $$DN_LIB_EXIV2/exiv2/convert.cpp $$DN_LIB_EXIV2/exiv2/cr2image.cpp \
509          $$DN_LIB_EXIV2/exiv2/crwimage.cpp $$DN_LIB_EXIV2/exiv2/datasets.cpp $$DN_LIB_EXIV2/exiv2/easyaccess.cpp \
510          $$DN_LIB_EXIV2/exiv2/error.cpp $$DN_LIB_EXIV2/exiv2/exif.cpp $$DN_LIB_EXIV2/exiv2/futils.cpp \
511          $$DN_LIB_EXIV2/exiv2/fujimn.cpp $$DN_LIB_EXIV2/exiv2/gifimage.cpp $$DN_LIB_EXIV2/exiv2/image.cpp \
512          $$DN_LIB_EXIV2/exiv2/iptc.cpp $$DN_LIB_EXIV2/exiv2/jp2image.cpp $$DN_LIB_EXIV2/exiv2/jpgimage.cpp \
513          $$DN_LIB_EXIV2/exiv2/makernote.cpp $$DN_LIB_EXIV2/exiv2/metadatum.cpp $$DN_LIB_EXIV2/exiv2/minoltamn.cpp \
514          $$DN_LIB_EXIV2/exiv2/mrwimage.cpp $$DN_LIB_EXIV2/exiv2/nikonmn.cpp $$DN_LIB_EXIV2/exiv2/olympusmn.cpp \
515          $$DN_LIB_EXIV2/exiv2/orfimage.cpp $$DN_LIB_EXIV2/exiv2/panasonicmn.cpp $$DN_LIB_EXIV2/exiv2/pgfimage.cpp \
516      $$DN_LIB_EXIV2/exiv2/pngimage.cpp $$DN_LIB_EXIV2/exiv2/pngchunk.cpp $$DN_LIB_EXIV2/exiv2/preview.cpp \
517          $$DN_LIB_EXIV2/exiv2/properties.cpp $$DN_LIB_EXIV2/exiv2/psdimage.cpp $$DN_LIB_EXIV2/exiv2/rafimage.cpp \
518          $$DN_LIB_EXIV2/exiv2/rw2image.cpp $$DN_LIB_EXIV2/exiv2/sigmamn.cpp $$DN_LIB_EXIV2/exiv2/pentaxmn.cpp \
519          $$DN_LIB_EXIV2/exiv2/sonymn.cpp $$DN_LIB_EXIV2/exiv2/tags.cpp $$DN_LIB_EXIV2/exiv2/tgaimage.cpp \
520          $$DN_LIB_EXIV2/exiv2/tiffcomposite.cpp $$DN_LIB_EXIV2/exiv2/tiffimage.cpp $$DN_LIB_EXIV2/exiv2/tiffvisitor.cpp \
521          $$DN_LIB_EXIV2/exiv2/types.cpp $$DN_LIB_EXIV2/exiv2/value.cpp $$DN_LIB_EXIV2/exiv2/version.cpp \
522          $$DN_LIB_EXIV2/exiv2/xmp.cpp $$DN_LIB_EXIV2/exiv2/xmpsidecar.cpp
523}
524
525sys_exiv2 {
526  unix:LIBS += -lexiv2
527  win32:LIBS += $$DN_LIBS_PLTFM/libexiv2.lib
528
529
530#---------------------------------------------------------------------
531#eigen
532
533stat_eigen {
534  INCLUDEPATH += $$DN_LIB_EIGEN
535}
536
537#---------------------------------------------------------------------
538
539DEPENDPATH += $$INCLUDEPATH
540
541#---------------------------------------------------------------------
542#install target
543staticlib {
544  INSTALLHEADERS.files += $$DN_FMTS/dim_format_manager.h \
545                          $$DN_FMTS/meta_format_manager.h \
546                          $$DN_FMTS_API/dim_img_format_interface.h \
547                          $$DN_FMTS_API/dim_img_format_utils.h \
548                          $$DN_FMTS_API/dim_image.h \
549                          $$DN_FMTS_API/dim_histogram.h \
550                          $$DN_FMTS_API/dim_buffer.h \
551                          $$DN_CORE/tag_map.h
552  INSTALLHEADERS.files += $$DN_LIBS_PLTFM/adler32.h \
553                          $$DN_LIBS_PLTFM/avcodec.h $$DN_LIBS_PLTFM/avdevice.h \
554                          $$DN_LIBS_PLTFM/avformat.h $$DN_LIBS_PLTFM/avio.h \
555                          $$DN_LIBS_PLTFM/avstring.h $$DN_LIBS_PLTFM/avutil.h \
556                          $$DN_LIBS_PLTFM/base64.h $$DN_LIBS_PLTFM/common.h \
557                          $$DN_LIBS_PLTFM/crc.h $$DN_LIBS_PLTFM/fifo.h \
558                          $$DN_LIBS_PLTFM/intfloat_readwrite.h $$DN_LIBS_PLTFM/log.h \
559                          $$DN_LIBS_PLTFM/lzo.h $$DN_LIBS_PLTFM/mathematics.h \
560                          $$DN_LIBS_PLTFM/md5.h $$DN_LIBS_PLTFM/mem.h \
561                          $$DN_LIBS_PLTFM/opt.h $$DN_LIBS_PLTFM/random.h \
562                          $$DN_LIBS_PLTFM/rational.h $$DN_LIBS_PLTFM/rgb2rgb.h \
563                          $$DN_LIBS_PLTFM/rtspcodes.h $$DN_LIBS_PLTFM/rtsp.h \
564                          $$DN_LIBS_PLTFM/sha1.h $$DN_LIBS_PLTFM/swscale.h
565  INSTALLHEADERS.path = /include
566  INSTALLS += INSTALLHEADERS
567
568  INSTALLBINS.files += $$DN_BIN/lib$${TARGET}.a \
569                       $$DN_LIBS_PLTFM/libavcodec.a \
570                       $$DN_LIBS_PLTFM/libavformat.a \
571                       $$DN_LIBS_PLTFM/libavutil.a \
572                       $$DN_LIBS_PLTFM/libswscale.a
573  INSTALLBINS.path = /lib
574} else {
575  INSTALLBINS.files += $$DN_BIN/$${TARGET}
576  INSTALLBINS.path = /bin
577}
578INSTALLS += INSTALLBINS
Note: See TracBrowser for help on using the repository browser.