<commit_before>## #################################################################
## Generated by medPluginGenerator
## #################################################################

cmake_minimum_required(VERSION 2.8.1)

project(medCompositeDataSetsPlugin)

## #################################################################
## Setup version numbering
## #################################################################

set(${PROJECT_NAME}_VERSION_MAJOR 0 CACHE STRING "${PROJECT_NAME} major version number.")
set(${PROJECT_NAME}_VERSION_MINOR 1 CACHE STRING "${PROJECT_NAME} minor version number.")
set(${PROJECT_NAME}_VERSION_BUILD 0 CACHE STRING "${PROJECT_NAME} build version number.")
set(${PROJECT_NAME}_VERSION
  "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_BUILD}")

mark_as_advanced(${PROJECT_NAME}_VERSION_MAJOR)
mark_as_advanced(${PROJECT_NAME}_VERSION_MINOR)
mark_as_advanced(${PROJECT_NAME}_VERSION_BUILD)

set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)

## #################################################################
## Resolve dependencies
## #################################################################

find_package(dtk REQUIRED)

include(${dtk_USE_FILE})
include(dtkPlugin)

find_package(medinria REQUIRED)
include(${medinria_USE_FILE})

find_package(TTK REQUIRED)
include(${TTK_USE_FILE})

find_package(ITK REQUIRED)
include(${ITK_USE_FILE})

## #################################################################
## Input
## #################################################################

set(${PROJECT_NAME}_HEADERS_MOC
  medCompositeDataSetsPlugin.h
  medDiffusionSequenceCompositeDataToolBox.h
  medCompositeDataSetsReader.h
  medCompositeDataSetsWriter.h
#  medDiffusionSequenceCompositeData.h
)

set(${PROJECT_NAME}_HEADERS
  medCompositeDataSetsBase.h
  dirTools.h
  ${${PROJECT_NAME}_HEADERS_MOC})

set(${PROJECT_NAME}_SOURCES
  dirTools.cpp
  medCompositeDataSetsPlugin.cpp
  medDiffusionSequenceCompositeDataToolBox.cpp
  medCompositeDataSetsReader.cpp
  medCompositeDataSetsWriter.cpp
  medDiffusionSequenceCompositeData.cpp)

## #################################################################
## Build rules
## #################################################################

qt4_wrap_cpp(${PROJECT_NAME}_SOURCES_MOC ${${PROJECT_NAME}_HEADERS_MOC})

add_library(${PROJECT_NAME} SHARED
  ${${PROJECT_NAME}_SOURCES_MOC}
  ${${PROJECT_NAME}_SOURCES}
  ${${PROJECT_NAME}_HEADERS})

target_link_libraries(${PROJECT_NAME}
  ${QT_LIBRARIES}
  dtkCore
  dtkZip
  medCore
  ITKTensor)
#not useful if plugin in the medinria-plugins directory
dtk_build_doc(medCompositeDataSetsPlugin)

#add_executable(test test.C)
#target_link_libraries(test medCompositeDataSetsPlugin ${QT_LIBRARIES} dtkCore dtkZip medCore)

## #################################################################
## Source file layout in development environments like Visual Studio
## #################################################################

SOURCE_GROUP("Header Files" REGULAR_EXPRESSION .*\\.h\$)
SOURCE_GROUP("Generated Files" FILES ${${PROJECT_NAME}_SOURCES_MOC})

## #################################################################
## Install rules
## #################################################################

install(TARGETS ${PROJECT_NAME}
  RUNTIME DESTINATION plugins
  LIBRARY DESTINATION plugins
  ARCHIVE DESTINATION lib)<commit_msg>added missing lib to composite datasets<commit_after>## #################################################################
## Generated by medPluginGenerator
## #################################################################

cmake_minimum_required(VERSION 2.8.1)

project(medCompositeDataSetsPlugin)

## #################################################################
## Setup version numbering
## #################################################################

set(${PROJECT_NAME}_VERSION_MAJOR 0 CACHE STRING "${PROJECT_NAME} major version number.")
set(${PROJECT_NAME}_VERSION_MINOR 1 CACHE STRING "${PROJECT_NAME} minor version number.")
set(${PROJECT_NAME}_VERSION_BUILD 0 CACHE STRING "${PROJECT_NAME} build version number.")
set(${PROJECT_NAME}_VERSION
  "${${PROJECT_NAME}_VERSION_MAJOR}.${${PROJECT_NAME}_VERSION_MINOR}.${${PROJECT_NAME}_VERSION_BUILD}")

mark_as_advanced(${PROJECT_NAME}_VERSION_MAJOR)
mark_as_advanced(${PROJECT_NAME}_VERSION_MINOR)
mark_as_advanced(${PROJECT_NAME}_VERSION_BUILD)

set(CMAKE_COLOR_MAKEFILE ON)
set(CMAKE_VERBOSE_MAKEFILE OFF)
set(CMAKE_INCLUDE_CURRENT_DIR TRUE)

## #################################################################
## Resolve dependencies
## #################################################################

find_package(dtk REQUIRED)

include(${dtk_USE_FILE})
include(dtkPlugin)

find_package(medinria REQUIRED)
include(${medinria_USE_FILE})

find_package(TTK REQUIRED)
include(${TTK_USE_FILE})

find_package(ITK REQUIRED)
include(${ITK_USE_FILE})

## #################################################################
## Input
## #################################################################

set(${PROJECT_NAME}_HEADERS_MOC
  medCompositeDataSetsPlugin.h
  medDiffusionSequenceCompositeDataToolBox.h
  medCompositeDataSetsReader.h
  medCompositeDataSetsWriter.h
#  medDiffusionSequenceCompositeData.h
)

set(${PROJECT_NAME}_HEADERS
  medCompositeDataSetsBase.h
  dirTools.h
  ${${PROJECT_NAME}_HEADERS_MOC})

set(${PROJECT_NAME}_SOURCES
  dirTools.cpp
  medCompositeDataSetsPlugin.cpp
  medDiffusionSequenceCompositeDataToolBox.cpp
  medCompositeDataSetsReader.cpp
  medCompositeDataSetsWriter.cpp
  medDiffusionSequenceCompositeData.cpp)

## #################################################################
## Build rules
## #################################################################

qt4_wrap_cpp(${PROJECT_NAME}_SOURCES_MOC ${${PROJECT_NAME}_HEADERS_MOC})

add_library(${PROJECT_NAME} SHARED
  ${${PROJECT_NAME}_SOURCES_MOC}
  ${${PROJECT_NAME}_SOURCES}
  ${${PROJECT_NAME}_HEADERS})

target_link_libraries(${PROJECT_NAME}
  ${QT_LIBRARIES}
  dtkCore
  dtkZip
  medCore
  medGui
  ITKTensor)
#not useful if plugin in the medinria-plugins directory
dtk_build_doc(medCompositeDataSetsPlugin)

#add_executable(test test.C)
#target_link_libraries(test medCompositeDataSetsPlugin ${QT_LIBRARIES} dtkCore dtkZip medCore)

## #################################################################
## Source file layout in development environments like Visual Studio
## #################################################################

SOURCE_GROUP("Header Files" REGULAR_EXPRESSION .*\\.h\$)
SOURCE_GROUP("Generated Files" FILES ${${PROJECT_NAME}_SOURCES_MOC})

## #################################################################
## Install rules
## #################################################################

install(TARGETS ${PROJECT_NAME}
  RUNTIME DESTINATION plugins
  LIBRARY DESTINATION plugins
  ARCHIVE DESTINATION lib)
{'fraction_non_alphanumeric': 0.34024896265560167, 'fraction_numerical': 0.002003147803691515, 'mean_word_length': 11.371681415929203, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6521864', 'n_tokens_mistral': 2118, 'n_tokens_neox': 1956, 'n_words': 285}