From: Raul San-J. <rj...@us...> - 2005-06-29 19:42:23
|
Update of /cvsroot/teem/itku In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16153 Added Files: CMakeLists.txt Log Message: NEW: Cmake prototype --- NEW FILE: CMakeLists.txt --- PROJECT(ITKU) #----------------------------------------------------------------------------- # TEEM version number. An even minor number corresponds to releases. SET(ITKU_VERSION_MAJOR "0") SET(ITKU_VERSION_MINOR "1") SET(ITKU_VERSION_PATCH "0") # Version string should not include patch level. The major.minor is # enough to distinguish available features of the toolkit. SET(ITKU_VERSION_STRING "${ITKU_VERSION_MAJOR}.${ITKU_VERSION_MINOR}") #----------------------------------------------------------------------------- # Output directories. #SET (EXECUTABLE_OUTPUT_PATH ${ITKU_BINARY_DIR}/bin CACHE INTERNAL "Single output directory # for building all executables.") #MARK_AS_ADVANCED(LIBRARY_OUTPUT_PATH EXECUTABLE_OUTPUT_PATH) #SET(ITKU_LIBRARY_PATH "${LIBRARY_OUTPUT_PATH}") #SET(ITKU_EXECUTABLE_PATH "${EXECUTABLE_OUTPUT_PATH}") # Find ITK INCLUDE (${CMAKE_ROOT}/Modules/FindITK.cmake) # Use ITK. This sets up include/link directories for us. IF (USE_ITK_FILE) INCLUDE(${USE_ITK_FILE}) ENDIF(USE_ITK_FILE) # Links to Teem SET (TEEM_SOURCE_DIR CACHE PATH "Dir to teem source code") SET (TEEM_LIBRARY_PATH CACHE PATH "Dir to teem path") ADD_EXECUTABLE(itku itku.c about.c) INCLUDE_DIRECTORIES( ${TEEM_SOURCE_DIR}/include ) TARGET_LINK_LIBRARIES(itku ITKAlgorithms ITKNumerics ITKCommon ITKBasicFilters ITKNumerics ITKIO ITKDICOMParser itkpng ${TEEM_LIBRARY_PATH}/libteem.a /usr/lib ) |