<commit_before>## #################################################################
## Generated by dtkPluginGenerator
## #################################################################

cmake_minimum_required(VERSION 2.8.1)

project(itkDataImagePlugin)

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

set(${PROJECT_NAME}_VERSION_MAJOR 0 CACHE STRING "${PROJECT_NAME} major version number.")
set(${PROJECT_NAME}_VERSION_MINOR 3 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(ITK REQUIRED)
  if(NOT ITK_USE_REVIEW)
    message(FATAL_ERROR "ITK must be build with option ITK_USE_REVIEW to ON")
  endif(NOT ITK_USE_REVIEW)
  if(NOT ITK_USE_REVIEW_STATISTICS)
    message(FATAL_ERROR "ITK must be build with option ITK_USE_REVIEW_STATISTICS to ON")
  endif(NOT ITK_USE_REVIEW_STATISTICS)
include(${ITK_USE_FILE})

#include_directories(../dtkItkLogForwarder)
find_package(medinria-plugins REQUIRED)
include(${medinria-plugins_USE_FILE})


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

set(${PROJECT_NAME}_HEADERS_MOC itkDataImagePlugin.h)
set(${PROJECT_NAME}_HEADERS
  ${${PROJECT_NAME}_HEADERS_MOC}
  itkDataImageChar3.h
  itkDataImageChar4.h
  itkDataImageUChar4.h
  itkDataImageUChar3.h
  itkDataImageShort3.h
  itkDataImageUShort3.h
  itkDataImageUShort4.h
  itkDataImageInt3.h
  itkDataImageInt4.h
  itkDataImageLong4.h
  itkDataImageUInt3.h
  itkDataImageUInt4.h
  itkDataImageULong4.h
  itkDataImageLong3.h
  itkDataImageULong3.h
  itkDataImageFloat3.h
  itkDataImageFloat4.h
  itkDataImageDouble4.h
  itkDataImageDouble3.h
  itkDataImageVector3.h
  itkDataImageRGB3.h
  itkDataImageRGBA3.h
  itkDataImageShort4.h
  )

set(${PROJECT_NAME}_SOURCES itkDataImagePlugin.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}_HEADERS} 
  ${${PROJECT_NAME}_SOURCES})

target_link_libraries(${PROJECT_NAME}
  ${QT_LIBRARIES}
  dtkCore
  dtkItkLogForwarder
  ${ITK_LIBRARIES})

if (BUILD_TESTING)
  add_subdirectory(Testing)
endif (BUILD_TESTING)

# Include header files for 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>Add /bigobj so that itkDataImage compiles on win64<commit_after>## #################################################################
## Generated by dtkPluginGenerator
## #################################################################

cmake_minimum_required(VERSION 2.8.1)

project(itkDataImagePlugin)

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

set(${PROJECT_NAME}_VERSION_MAJOR 0 CACHE STRING "${PROJECT_NAME} major version number.")
set(${PROJECT_NAME}_VERSION_MINOR 3 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(ITK REQUIRED)
  if(NOT ITK_USE_REVIEW)
    message(FATAL_ERROR "ITK must be build with option ITK_USE_REVIEW to ON")
  endif(NOT ITK_USE_REVIEW)
  if(NOT ITK_USE_REVIEW_STATISTICS)
    message(FATAL_ERROR "ITK must be build with option ITK_USE_REVIEW_STATISTICS to ON")
  endif(NOT ITK_USE_REVIEW_STATISTICS)
include(${ITK_USE_FILE})

#include_directories(../dtkItkLogForwarder)
find_package(medinria-plugins REQUIRED)
include(${medinria-plugins_USE_FILE})


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

set(${PROJECT_NAME}_HEADERS_MOC itkDataImagePlugin.h)
set(${PROJECT_NAME}_HEADERS
  ${${PROJECT_NAME}_HEADERS_MOC}
  itkDataImageChar3.h
  itkDataImageChar4.h
  itkDataImageUChar4.h
  itkDataImageUChar3.h
  itkDataImageShort3.h
  itkDataImageUShort3.h
  itkDataImageUShort4.h
  itkDataImageInt3.h
  itkDataImageInt4.h
  itkDataImageLong4.h
  itkDataImageUInt3.h
  itkDataImageUInt4.h
  itkDataImageULong4.h
  itkDataImageLong3.h
  itkDataImageULong3.h
  itkDataImageFloat3.h
  itkDataImageFloat4.h
  itkDataImageDouble4.h
  itkDataImageDouble3.h
  itkDataImageVector3.h
  itkDataImageRGB3.h
  itkDataImageRGBA3.h
  itkDataImageShort4.h
  )

set(${PROJECT_NAME}_SOURCES itkDataImagePlugin.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}_HEADERS} 
  ${${PROJECT_NAME}_SOURCES})

target_link_libraries(${PROJECT_NAME}
  ${QT_LIBRARIES}
  dtkCore
  dtkItkLogForwarder
  ${ITK_LIBRARIES})

if (BUILD_TESTING)
  add_subdirectory(Testing)
endif (BUILD_TESTING)

# Include header files for Visual Studio.
SOURCE_GROUP("Header Files" REGULAR_EXPRESSION .*\\.h\$)
SOURCE_GROUP("Generated Files" FILES ${${PROJECT_NAME}_SOURCES_MOC})

# Due to the large number of template functions, windows needs an extra compile flag.
if (MSVC)
    set(bigobjFile itkDataImagePlugin.cpp)
    get_source_file_property(bigobjFile_COMPILE_FLAGS ${bigobjFile} COMPILE_FLAGS)
    if (${bigobjFile_COMPILE_FLAGS} STREQUAL NOTFOUND)
        set_source_files_properties(${bigobjFile} PROPERTIES COMPILE_FLAGS "/bigobj")
    else (${bigobjFile_COMPILE_FLAGS} STREQUAL NOTFOUND)
        set_source_files_properties(${bigobjFile} PROPERTIES COMPILE_FLAGS "${bigobjFile_COMPILE_FLAGS} /bigobj")
    endif (${bigobjFile_COMPILE_FLAGS} STREQUAL NOTFOUND)
endif (MSVC)

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

install(TARGETS ${PROJECT_NAME}
  RUNTIME DESTINATION plugins
  LIBRARY DESTINATION plugins
  ARCHIVE DESTINATION lib)
{'fraction_non_alphanumeric': 0.2806258745706653, 'fraction_numerical': 0.007887037272611627, 'mean_word_length': 8.914249684741488, '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': '3367010', 'n_tokens_mistral': 2671, 'n_tokens_neox': 2520, 'n_words': 374}