1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463
|
PROJECT( dcmtk )
# Since this a relatively big library, and because not many people will need
# to read DICOM files, don't build it by default except for the dashboards
OPTION( VXL_BUILD_DCMTK "Build the V3P DCMTK libraries for reading DICOM files?" ${YES_FOR_DASHBOARD} )
IF( VXL_BUILD_DCMTK )
# ---------------------------------------------------------------------------
# Configuration
# When adding a new check whose result will be cached, it is important
# to add that variable to the "clear list" below, so that it can be
# forcibly recomputed when necessary.
# Updating this serial number will cause the configuration variables
# to be recomputed. This is useful if you make a change to a test, and
# you want to ensure that the builds don't use old, invalid cached
# values of the results. The number should be incremented to indicate
# change. The format follows a DNS-style numbering: the current date
# followed by a modification count within the day.
#
SET( DCMTK_CONFIG_SERIAL_CURRENT "2004-02-03-000" )
IF( ${DCMTK_CONFIG_SERIAL_CURRENT} MATCHES "^${DCMTK_CONFIG_SERIAL_LAST}$" )
# The configuration is current
ELSE( ${DCMTK_CONFIG_SERIAL_CURRENT} MATCHES "^${DCMTK_CONFIG_SERIAL_LAST}$" )
# The configuration has changed, so reset the stored variables to
# force them to be recomputed
#
FOREACH( var
DCMTK_DCM_DICT_DEFAULT_PATH
DCMTK_ENVIRONMENT_PATH_SEPARATOR
DCMTK_HAVE_ACCESS
DCMTK_HAVE_ARPA_INET_H
DCMTK_HAVE_ASSERT_H
DCMTK_HAVE_BCMP
DCMTK_HAVE_BCOPY
DCMTK_HAVE_BZERO
DCMTK_HAVE_CASSERT
DCMTK_HAVE_CTYPE_H
DCMTK_HAVE_CUSERID
DCMTK_HAVE_DIRENT_H
DCMTK_HAVE_ERRNO_H
DCMTK_HAVE_FLOAT_H
DCMTK_HAVE_GETENV
DCMTK_HAVE_GETHOSTBYNAME
DCMTK_HAVE_GETHOSTID
DCMTK_HAVE_GETHOSTNAME
DCMTK_HAVE_GETLOGIN
DCMTK_HAVE_GETPID
DCMTK_HAVE_INDEX
DCMTK_HAVE_IO_H
DCMTK_HAVE_ISO646_H
DCMTK_HAVE_ITOA
DCMTK_HAVE_LIBC_H
DCMTK_HAVE_LIMITS_H
DCMTK_HAVE_LOCALE_H
DCMTK_HAVE_MATH_H
DCMTK_HAVE_MEMCMP
DCMTK_HAVE_MEMCPY
DCMTK_HAVE_MEMMOVE
DCMTK_HAVE_MEMSET
DCMTK_HAVE_MKTEMP
DCMTK_HAVE_NDIR_H
DCMTK_HAVE_NETDB_H
DCMTK_HAVE_NETINET_IN_H
DCMTK_HAVE_PROTOTYPE_BZERO
DCMTK_HAVE_PROTOTYPE_GETHOSTID
DCMTK_HAVE_PROTOTYPE_GETTIMEOFDAY
DCMTK_HAVE_PROTOTYPE_MKTEMP
DCMTK_HAVE_PTHREAD_H
DCMTK_HAVE_SEMAPHORE_H
DCMTK_HAVE_SETJMP_H
DCMTK_HAVE_SIGNAL_H
DCMTK_HAVE_SSTREAM
DCMTK_HAVE_SSTREAM_H
DCMTK_HAVE_STAT
DCMTK_HAVE_STDARG_H
DCMTK_HAVE_STDDEF_H
DCMTK_HAVE_STDIO_H
DCMTK_HAVE_STDLIB_H
DCMTK_HAVE_STD_NAMESPACE
DCMTK_HAVE_STRCHR
DCMTK_HAVE_STRINGS_H
DCMTK_HAVE_STRING_H
DCMTK_HAVE_STRLCAT
DCMTK_HAVE_STRLCPY
DCMTK_HAVE_STRSTR
DCMTK_HAVE_STRSTREAM
DCMTK_HAVE_STRSTREAM_H
DCMTK_HAVE_STRSTREA_H
DCMTK_HAVE_STRTOUL
DCMTK_HAVE_SYNCH_H
DCMTK_HAVE_SYSINFO
DCMTK_HAVE_SYS_DIR_H
DCMTK_HAVE_SYS_NDIR_H
DCMTK_HAVE_SYS_SOCKET_H
DCMTK_HAVE_SYS_STAT_H
DCMTK_HAVE_SYS_TIME_H
DCMTK_HAVE_SYS_TYPES_H
DCMTK_HAVE_SYS_UTSNAME_H
DCMTK_HAVE_THREAD_H
DCMTK_HAVE_TIME_H
DCMTK_HAVE_UNAME
DCMTK_HAVE_UNISTD_H
DCMTK_HAVE_UNIX_H
DCMTK_HAVE_WCTYPE_H
DCMTK_HAVE_ZLIB
DCMTK_INCLUDE_MATH_H_AS_CXX
DCMTK_PATH_SEPARATOR
DCMTK_SIZEOF_LONG
DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX
HAVE_DCMTK_SIZEOF_LONG ) # Created indirectly by CHECK_TYPE_SIZE
SET( ${var} ${var} )
ENDFOREACH( var )
# Record that we've done the new config.
SET( DCMTK_CONFIG_SERIAL_LAST ${DCMTK_CONFIG_SERIAL_CURRENT} CACHE INTERNAL "Serial number of last configuration" )
ENDIF( ${DCMTK_CONFIG_SERIAL_CURRENT} MATCHES "^${DCMTK_CONFIG_SERIAL_LAST}$" )
INCLUDE( ${CMAKE_ROOT}/Modules/CheckFunctionExists.cmake )
INCLUDE( ${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake )
INCLUDE( ${CMAKE_ROOT}/Modules/CheckIncludeFileCXX.cmake )
INCLUDE( ${CMAKE_ROOT}/Modules/CheckTypeSize.cmake )
INCLUDE( ${VXL_CMAKE_DIR}/CheckPrototypeExistsCXX.cmake )
# The DCMTK HAVE_STD_NAMESPACE has a looser definition than the vcl
# ALLOWS_STD_NAMESPACE
IF( DCMTK_HAVE_STD_NAMESPACE MATCHES "DCMTK_HAVE_STD_NAMESPACE" )
MESSAGE(STATUS "Checking if the compiler has namespace std")
FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/test_have_namespace.cxx
"#include <string>\n"
"using namespace std;\n"
"int main() { string a=\"a\"; return 0; }\n" )
TRY_COMPILE( DCMTK_HAVE_STD_NAMESPACE
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/CMakeTmp/test_have_namespace.cxx
CMAKE_FLAGS -DCOMPILE_DEFINITIONS:STRING=${CMAKE_REQUIRED_FLAGS}
OUTPUT_VARIABLE OUTPUT
)
IF( DCMTK_HAVE_STD_NAMESPACE )
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
"Checking for namespace std passed with the following output:\n"
"${OUTPUT}\n\n" )
ELSE( DCMTK_HAVE_STD_NAMESPACE )
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
"Checking for namespace std failed with the following output:\n"
"${OUTPUT}\n\n" )
ENDIF( DCMTK_HAVE_STD_NAMESPACE )
ENDIF( DCMTK_HAVE_STD_NAMESPACE MATCHES "DCMTK_HAVE_STD_NAMESPACE" )
CHECK_TYPE_SIZE( long DCMTK_SIZEOF_LONG )
CHECK_FUNCTION_EXISTS( access DCMTK_HAVE_ACCESS )
CHECK_FUNCTION_EXISTS( bcmp DCMTK_HAVE_BCMP )
CHECK_FUNCTION_EXISTS( bcopy DCMTK_HAVE_BCOPY )
CHECK_FUNCTION_EXISTS( bzero DCMTK_HAVE_BZERO )
CHECK_FUNCTION_EXISTS( cuserid DCMTK_HAVE_CUSERID )
CHECK_FUNCTION_EXISTS( getenv DCMTK_HAVE_GETENV )
CHECK_FUNCTION_EXISTS( gethostbyname DCMTK_HAVE_GETHOSTBYNAME )
CHECK_FUNCTION_EXISTS( gethostid DCMTK_HAVE_GETHOSTID )
CHECK_FUNCTION_EXISTS( gethostname DCMTK_HAVE_GETHOSTNAME )
CHECK_FUNCTION_EXISTS( getlogin DCMTK_HAVE_GETLOGIN )
CHECK_FUNCTION_EXISTS( getpid DCMTK_HAVE_GETPID )
CHECK_FUNCTION_EXISTS( index DCMTK_HAVE_INDEX )
CHECK_FUNCTION_EXISTS( itoa DCMTK_HAVE_ITOA )
CHECK_FUNCTION_EXISTS( memcmp DCMTK_HAVE_MEMCMP )
CHECK_FUNCTION_EXISTS( memcpy DCMTK_HAVE_MEMCPY )
CHECK_FUNCTION_EXISTS( memmove DCMTK_HAVE_MEMMOVE )
CHECK_FUNCTION_EXISTS( memset DCMTK_HAVE_MEMSET )
CHECK_FUNCTION_EXISTS( mktemp DCMTK_HAVE_MKTEMP )
CHECK_FUNCTION_EXISTS( stat DCMTK_HAVE_STAT )
CHECK_FUNCTION_EXISTS( strchr DCMTK_HAVE_STRCHR )
CHECK_FUNCTION_EXISTS( strlcat DCMTK_HAVE_STRLCAT )
CHECK_FUNCTION_EXISTS( strlcpy DCMTK_HAVE_STRLCPY )
CHECK_FUNCTION_EXISTS( strstr DCMTK_HAVE_STRSTR )
CHECK_FUNCTION_EXISTS( strtoul DCMTK_HAVE_STRTOUL )
CHECK_FUNCTION_EXISTS( sysinfo DCMTK_HAVE_SYSINFO )
CHECK_FUNCTION_EXISTS( uname DCMTK_HAVE_UNAME )
CHECK_INCLUDE_FILE( arpa/inet.h DCMTK_HAVE_ARPA_INET_H )
CHECK_INCLUDE_FILE( assert.h DCMTK_HAVE_ASSERT_H )
CHECK_INCLUDE_FILE( ctype.h DCMTK_HAVE_CTYPE_H )
CHECK_INCLUDE_FILE( errno.h DCMTK_HAVE_ERRNO_H )
CHECK_INCLUDE_FILE( float.h DCMTK_HAVE_FLOAT_H )
CHECK_INCLUDE_FILE( io.h DCMTK_HAVE_IO_H )
CHECK_INCLUDE_FILE( iso646.h DCMTK_HAVE_ISO646_H )
CHECK_INCLUDE_FILE( libc.h DCMTK_HAVE_LIBC_H )
CHECK_INCLUDE_FILE( limits.h DCMTK_HAVE_LIMITS_H )
CHECK_INCLUDE_FILE( locale.h DCMTK_HAVE_LOCALE_H )
CHECK_INCLUDE_FILE( math.h DCMTK_HAVE_MATH_H )
CHECK_INCLUDE_FILE( netdb.h DCMTK_HAVE_NETDB_H )
CHECK_INCLUDE_FILE( pthread.h DCMTK_HAVE_PTHREAD_H )
CHECK_INCLUDE_FILE( semaphore.h DCMTK_HAVE_SEMAPHORE_H )
CHECK_INCLUDE_FILE( setjmp.h DCMTK_HAVE_SETJMP_H )
CHECK_INCLUDE_FILE( signal.h DCMTK_HAVE_SIGNAL_H )
CHECK_INCLUDE_FILE( stdarg.h DCMTK_HAVE_STDARG_H )
CHECK_INCLUDE_FILE( stddef.h DCMTK_HAVE_STDDEF_H )
CHECK_INCLUDE_FILE( stdio.h DCMTK_HAVE_STDIO_H )
CHECK_INCLUDE_FILE( stdlib.h DCMTK_HAVE_STDLIB_H )
CHECK_INCLUDE_FILE_CXX( cassert DCMTK_HAVE_CASSERT )
CHECK_INCLUDE_FILE_CXX( sstream DCMTK_HAVE_SSTREAM )
CHECK_INCLUDE_FILE_CXX( sstream.h DCMTK_HAVE_SSTREAM_H )
CHECK_INCLUDE_FILE_CXX( string.h DCMTK_HAVE_STRING_H )
CHECK_INCLUDE_FILE_CXX( strings.h DCMTK_HAVE_STRINGS_H )
CHECK_INCLUDE_FILE_CXX( strstrea.h DCMTK_HAVE_STRSTREA_H )
CHECK_INCLUDE_FILE_CXX( strstream DCMTK_HAVE_STRSTREAM )
CHECK_INCLUDE_FILE_CXX( strstream.h DCMTK_HAVE_STRSTREAM_H )
CHECK_INCLUDE_FILE( synch.h DCMTK_HAVE_SYNCH_H )
CHECK_INCLUDE_FILE( sys/socket.h DCMTK_HAVE_SYS_SOCKET_H )
CHECK_INCLUDE_FILE( sys/stat.h DCMTK_HAVE_SYS_STAT_H )
CHECK_INCLUDE_FILE( sys/time.h DCMTK_HAVE_SYS_TIME_H )
CHECK_INCLUDE_FILE( sys/types.h DCMTK_HAVE_SYS_TYPES_H )
CHECK_INCLUDE_FILE( sys/utsname.h DCMTK_HAVE_SYS_UTSNAME_H )
CHECK_INCLUDE_FILE( thread.h DCMTK_HAVE_THREAD_H )
CHECK_INCLUDE_FILE( time.h DCMTK_HAVE_TIME_H )
CHECK_INCLUDE_FILE( unistd.h DCMTK_HAVE_UNISTD_H )
CHECK_INCLUDE_FILE( unix.h DCMTK_HAVE_UNIX_H )
CHECK_INCLUDE_FILE( wctype.h DCMTK_HAVE_WCTYPE_H )
CHECK_INCLUDE_FILE( dirent.h DCMTK_HAVE_DIRENT_H )
CHECK_INCLUDE_FILE( ndir.h DCMTK_HAVE_NDIR_H )
CHECK_INCLUDE_FILE( sys/dir.h DCMTK_HAVE_SYS_DIR_H )
CHECK_INCLUDE_FILE( sys/ndir.h DCMTK_HAVE_SYS_NDIR_H )
CHECK_INCLUDE_FILE( netinet/in.h DCMTK_HAVE_NETINET_IN_H )
CHECK_PROTOTYPE_EXISTS_CXX(
bzero
"string.h;strings.h;libc.h;unistd.h;stdlib.h"
DCMTK_HAVE_PROTOTYPE_BZERO )
CHECK_PROTOTYPE_EXISTS_CXX(
gethostid
"libc.h;unistd.h;stdlib.h;netdb.h"
DCMTK_HAVE_PROTOTYPE_GETHOSTID )
CHECK_PROTOTYPE_EXISTS_CXX(
gettimeofday
"sys/time.h;unistd.h"
DCMTK_HAVE_PROTOTYPE_GETTIMEOFDAY )
CHECK_PROTOTYPE_EXISTS_CXX(
mktemp
"libc.h;unistd.h;stdlib.h"
DCMTK_HAVE_PROTOTYPE_MKTEMP )
# Some platforms (e.g. MipsPRO with IRIX 6.5) don't have the standard
# include files (cassert, iostream, etc), but instead have the older
# iostream.h, etc.
IF( DCMTK_HAVE_CASSERT )
SET( DCMTK_HAVE_STD_CXX_INCLUDES 1 )
ELSE( DCMTK_HAVE_CASSERT )
SET( DCMTK_HAVE_STD_CXX_INCLUDES )
ENDIF( DCMTK_HAVE_CASSERT )
INCLUDE( ${VXL_CMAKE_DIR}/FindZLIB.cmake )
IF( ZLIB_FOUND )
INCLUDE_DIRECTORIES( ${ZLIB_INCLUDE_DIR} )
SET( DCMTK_HAVE_ZLIB 1 )
ELSE( ZLIB_FOUND )
SET( DCMTK_HAVE_ZLIB )
ENDIF( ZLIB_FOUND )
SET( DCMTK_DCM_DICT_DEFAULT_PATH "${PROJECT_SOURCE_DIR}/dcmdata/libsrc/dicom.dic" )
IF( WIN32 )
SET( DCMTK_PATH_SEPARATOR "\\\\" )
SET( DCMTK_ENVIRONMENT_PATH_SEPARATOR ";" )
ELSE( WIN32 )
SET( DCMTK_PATH_SEPARATOR "/" )
SET( DCMTK_ENVIRONMENT_PATH_SEPARATOR ":" )
ENDIF( WIN32 )
IF( "DCMTK_INCLUDE_MATH_H_AS_CXX" MATCHES "^${DCMTK_INCLUDE_MATH_H_AS_CXX}$" )
FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeTmp/CheckIncludeMath.cxx
"extern \"C\" { #include <math.h> }" )
TRY_COMPILE( DCMTK_INCLUDE_MATH_H_AS_CXX
${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/CMakeTmp/CheckIncludeMath.cxx
CMAKE_FLAGS
-DCOMPILE_DEFINITIONS:STRING=${CMAKE_REQUIRED_FLAGS}
OUTPUT_VARIABLE OUTPUT)
IF( DCMTK_INCLUDE_MATH_H_AS_CXX )
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
"Determining math.h as cxx"
"passed with the following output:\n"
"${OUTPUT}\n\n" )
SET( DCMTK_INCLUDE_MATH_H_AS_CXX 1 CACHE INTERNAL "Can include math.h with extern C")
ELSE( DCMTK_INCLUDE_MATH_H_AS_CXX )
FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log
"Determining math.h as cxx"
"failed with the following output:\n"
"${OUTPUT}\n\n" )
SET( DCMTK_INCLUDE_MATH_H_AS_CXX "" CACHE INTERNAL "Can include math.h with extern C")
ENDIF( DCMTK_INCLUDE_MATH_H_AS_CXX )
ENDIF( "DCMTK_INCLUDE_MATH_H_AS_CXX" MATCHES "^${DCMTK_INCLUDE_MATH_H_AS_CXX}$" )
CONFIGURE_FILE(
${PROJECT_SOURCE_DIR}/config/include/osconfig_cmake.h.in
${PROJECT_BINARY_DIR}/osconfig.h
)
# The gcc 3.3 compiler produces lots of warnings like
# ./v3p/dcmtk/ofstd/include/ofcond.h:350: warning: cast
# from `const OFConditionBase*' to `OFConditionBase*' discards qualifiers from
# pointer target type
# and
# ./v3p/dcmtk/dcmdata/libsrc/dcuid.cxx:773: warning: unused
# variable `bool found'
# There is no point in us fixing them locally. IMS
#
# Unfortunately, -Wno-unused-variable only applies to gcc 3.3; it is
# not a valid gcc 2.94.3 option. AP
IF ( DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX MATCHES "DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX")
IF ( CMAKE_COMPILER_IS_GNUCXX )
EXEC_PROGRAM(${CMAKE_CXX_COMPILER} ARGS --version OUTPUT_VARIABLE CMAKE_CXX_COMPILER_VERSION)
IF(CMAKE_CXX_COMPILER_VERSION MATCHES ".*2\\.9[0-9]\\.[0-9].*")
MESSAGE( STATUS "gcc 2.x")
SET ( DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX 1 CACHE INTERNAL "Are we using an version of gcc < 3.0")
ELSE(CMAKE_CXX_COMPILER_VERSION MATCHES ".*2\\.9[0-9]\\.[0-9].*")
MESSAGE( STATUS "gcc not 2.x")
SET ( DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX 0 CACHE INTERNAL "Are we using an version of gcc < 3.0")
ENDIF(CMAKE_CXX_COMPILER_VERSION MATCHES ".*2\\.9[0-9]\\.[0-9].*")
ENDIF ( CMAKE_COMPILER_IS_GNUCXX )
ENDIF ( DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX MATCHES "DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX")
IF ( CMAKE_COMPILER_IS_GNUCXX )
IF ( NOT DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX )
SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-cast-qual -Wno-unused-variable")
SET (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-cast-qual -Wno-unused-variable")
ENDIF ( NOT DCMTK_CMAKE_COMPILER_IS_GNUCXX_2XX )
ENDIF ( CMAKE_COMPILER_IS_GNUCXX )
# ---------------------------------------------------------------------------
# Source files
INCLUDE_DIRECTORIES( ${PROJECT_BINARY_DIR} )
INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/ofstd/include )
INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/dcmdata/include )
INCLUDE_DIRECTORIES( ${PROJECT_SOURCE_DIR}/dcmimgle/include )
SET( dcmtk_sources
ofstd/libsrc/ofcond.cxx
ofstd/libsrc/ofconsol.cxx
ofstd/libsrc/ofcrc32.cxx
ofstd/libsrc/ofdate.cxx
ofstd/libsrc/ofdatime.cxx
ofstd/libsrc/oflist.cxx
ofstd/libsrc/ofstd.cxx
ofstd/libsrc/ofstring.cxx
ofstd/libsrc/ofthread.cxx
ofstd/libsrc/oftime.cxx
dcmdata/libsrc/dcbytstr.cxx
dcmdata/libsrc/dcchrstr.cxx
dcmdata/libsrc/dccodec.cxx
dcmdata/libsrc/dcdatset.cxx
dcmdata/libsrc/dcdebug.cxx
dcmdata/libsrc/dcdicent.cxx
dcmdata/libsrc/dcdict.cxx
dcmdata/libsrc/dcdictzz.cxx
dcmdata/libsrc/dcdirrec.cxx
dcmdata/libsrc/dcelem.cxx
dcmdata/libsrc/dcerror.cxx
dcmdata/libsrc/dcfilefo.cxx
dcmdata/libsrc/dchashdi.cxx
dcmdata/libsrc/dcistrma.cxx
dcmdata/libsrc/dcistrmf.cxx
dcmdata/libsrc/dcistrmz.cxx
dcmdata/libsrc/dcitem.cxx
dcmdata/libsrc/dclist.cxx
dcmdata/libsrc/dcmetinf.cxx
dcmdata/libsrc/dcobject.cxx
dcmdata/libsrc/dcostrma.cxx
dcmdata/libsrc/dcostrmf.cxx
dcmdata/libsrc/dcostrmz.cxx
dcmdata/libsrc/dcpcache.cxx
dcmdata/libsrc/dcpixel.cxx
dcmdata/libsrc/dcpixseq.cxx
dcmdata/libsrc/dcpxitem.cxx
dcmdata/libsrc/dcsequen.cxx
dcmdata/libsrc/dcstack.cxx
dcmdata/libsrc/dcswap.cxx
dcmdata/libsrc/dctag.cxx
dcmdata/libsrc/dctagkey.cxx
dcmdata/libsrc/dctypes.cxx
dcmdata/libsrc/dcuid.cxx
dcmdata/libsrc/dcvm.cxx
dcmdata/libsrc/dcvr.cxx
dcmdata/libsrc/dcvrae.cxx
dcmdata/libsrc/dcvras.cxx
dcmdata/libsrc/dcvrat.cxx
dcmdata/libsrc/dcvrcs.cxx
dcmdata/libsrc/dcvrda.cxx
dcmdata/libsrc/dcvrds.cxx
dcmdata/libsrc/dcvrdt.cxx
dcmdata/libsrc/dcvrfd.cxx
dcmdata/libsrc/dcvrfl.cxx
dcmdata/libsrc/dcvris.cxx
dcmdata/libsrc/dcvrlo.cxx
dcmdata/libsrc/dcvrlt.cxx
dcmdata/libsrc/dcvrobow.cxx
dcmdata/libsrc/dcvrof.cxx
dcmdata/libsrc/dcvrpn.cxx
dcmdata/libsrc/dcvrpobw.cxx
dcmdata/libsrc/dcvrsh.cxx
dcmdata/libsrc/dcvrsl.cxx
dcmdata/libsrc/dcvrss.cxx
dcmdata/libsrc/dcvrst.cxx
dcmdata/libsrc/dcvrtm.cxx
dcmdata/libsrc/dcvrui.cxx
dcmdata/libsrc/dcvrul.cxx
dcmdata/libsrc/dcvrulup.cxx
dcmdata/libsrc/dcvrus.cxx
dcmdata/libsrc/dcvrut.cxx
dcmdata/libsrc/dcxfer.cxx
dcmimgle/libsrc/dcmimage.cxx
dcmimgle/libsrc/dibaslut.cxx
dcmimgle/libsrc/didislut.cxx
dcmimgle/libsrc/didispfn.cxx
dcmimgle/libsrc/didocu.cxx
dcmimgle/libsrc/digsdfn.cxx
dcmimgle/libsrc/digsdlut.cxx
dcmimgle/libsrc/diimage.cxx
dcmimgle/libsrc/diinpx.cxx
dcmimgle/libsrc/diluptab.cxx
dcmimgle/libsrc/dimo1img.cxx
dcmimgle/libsrc/dimo2img.cxx
dcmimgle/libsrc/dimoimg.cxx
dcmimgle/libsrc/dimoimg3.cxx
dcmimgle/libsrc/dimoimg4.cxx
dcmimgle/libsrc/dimoimg5.cxx
dcmimgle/libsrc/dimomod.cxx
dcmimgle/libsrc/dimoopx.cxx
dcmimgle/libsrc/dimopx.cxx
dcmimgle/libsrc/diovdat.cxx
dcmimgle/libsrc/diovlay.cxx
dcmimgle/libsrc/diovlimg.cxx
dcmimgle/libsrc/diovpln.cxx
dcmimgle/libsrc/diutils.cxx
)
ADD_LIBRARY( dcmtk ${dcmtk_sources} )
IF(WIN32)
TARGET_LINK_LIBRARIES( dcmtk Netapi32 )
ENDIF(WIN32)
IF( DCMTK_HAVE_ZLIB )
TARGET_LINK_LIBRARIES( dcmtk ${ZLIB_LIBRARIES} )
ENDIF( DCMTK_HAVE_ZLIB )
SET_TARGET_PROPERTIES(dcmtk PROPERTIES ${VNL_LIBRARY_PROPERTIES})
INSTALL_TARGETS( /lib dcmtk )
IF( BUILD_TESTING )
SUBDIRS(tests)
ENDIF( BUILD_TESTING )
ENDIF( VXL_BUILD_DCMTK )
|