]> Creatis software - gdcm.git/blob - src/gdcmjpegls/Decoder/CMakeLists.txt
BUG: map<>::mapped_type is not part of the STL. Should fix issue on VS* compiler
[gdcm.git] / src / gdcmjpegls / Decoder / CMakeLists.txt
1 INCLUDE_REGULAR_EXPRESSION("^.*$")
2
3 INCLUDE_DIRECTORIES("${GDCMJPEGLS_BINARY_DIR}")
4
5 SET(GDCMJPEGLS_SRCS
6   global.c 
7   jpegmark.c 
8   initialize.c 
9   decoder.c 
10   lossless_d.c 
11   lossy_d.c 
12   bitio.c 
13   melcode.c)
14
15 # Do the -fno-common magic
16 IF(APPLE)
17   FOREACH(f ${GDCMJPEGLS_SRCS})
18     SET_SOURCE_FILES_PROPERTIES(
19       "${GDCMJPEGLS_SOURCE_DIR}/Decoder/${f}"
20       PROPERTIES COMPILE_FLAGS -fno-common)
21   ENDFOREACH(f)
22 ENDIF(APPLE)
23
24
25 ADD_LIBRARY(gdcmjpegls ${GDCMJPEGLS_SRCS})
26 #ADD_EXECUTABLE(locod ${GDCMJPEGLS_SRCS})
27
28 # TODO must do the INSTALL_ blah thing
29 INSTALL_TARGETS(/lib/gdcm/ gdcmjpegls)