#===============================================================================
# Medical Data Segmentation Toolkit (MDSTk)
# Copyright (c) 2007 by PGMed@FIT
#
# Authors: Miroslav Svub, svub@fit.vutbr.cz
#          Michal Spanel, spanel@fit.vutbr.cz
# Section: libSystem
# Date:    2007/08/25
#
# $Id:$
#
# Description:
# - Configuration file for the CMake build system.

# Enable TryEnterCriticalSection() and other functions on Windows
IF( WIN32 )
  ADD_DEFINITIONS( -D_WIN32_WINNT=0x0400 )
ENDIF( WIN32 )

MDSTk_LIBRARY( System )

MDSTk_LIBRARY_SOURCE( mdsCriticalSection )
MDSTk_LIBRARY_SOURCE( mdsEvent )
MDSTk_LIBRARY_SOURCE( mdsExitHandler )
MDSTk_LIBRARY_SOURCE( mdsFileBrowser )
MDSTk_LIBRARY_SOURCE( mdsMutex )
MDSTk_LIBRARY_SOURCE( mdsNamedPipe )
MDSTk_LIBRARY_SOURCE( mdsSemaphore )
MDSTk_LIBRARY_SOURCE( mdsSharedMem )
MDSTk_LIBRARY_SOURCE( mdsSleep )
MDSTk_LIBRARY_SOURCE( mdsStopwatch )
MDSTk_LIBRARY_SOURCE( mdsThread )
MDSTk_LIBRARY_SOURCE( mdsTimer )
MDSTk_LIBRARY_SOURCE( mdsTimestamp )

MDSTk_LIBRARY_INCLUDE_DIR( ${MDSTk_SOURCE_DIR}/include/MDSTk/System )

MDSTk_LIBRARY_BUILD()
