<commit_before>add_subdirectory(ext/tidds)

#--------------------------------------------------------------------
# Inviwo PVM Module
ivw_module(PVM)

#--------------------------------------------------------------------
# Add header files
set(HEADER_FILES
    include/modules/pvm/mpvmvolumereader.h
    include/modules/pvm/pvmmodule.h
    include/modules/pvm/pvmmoduledefine.h
    include/modules/pvm/pvmvolumereader.h
    include/modules/pvm/pvmvolumewriter.h
)
ivw_group("Header Files" ${HEADER_FILES})


#--------------------------------------------------------------------
# Add source files
set(SOURCE_FILES
    src/mpvmvolumereader.cpp
    src/pvmmodule.cpp
    src/pvmvolumereader.cpp
    src/pvmvolumewriter.cpp
)
ivw_group("Source Files" ${SOURCE_FILES})

#--------------------------------------------------------------------
# Create module
ivw_create_module(${SOURCE_FILES} ${MOC_FILES} ${HEADER_FILES})
target_link_libraries(inviwo-module-pvm PRIVATE tidds)

ivw_register_license_file(NAME "Tiny DDS Package" MODULE PVM TYPE "LGPL"
    URL https://github.com/Eyescale/Equalizer
    FILES ${CMAKE_CURRENT_SOURCE_DIR}/ext/tidds/README
          ${CMAKE_CURRENT_SOURCE_DIR}/ext/tidds/LGPL
)

ivw_make_package(InviwoPVMModule inviwo-module-pvm)<commit_msg>PVM: Packaging fix for README and LGPL files<commit_after>add_subdirectory(ext/tidds)

#--------------------------------------------------------------------
# Inviwo PVM Module
ivw_module(PVM)

#--------------------------------------------------------------------
# Add header files
set(HEADER_FILES
    include/modules/pvm/mpvmvolumereader.h
    include/modules/pvm/pvmmodule.h
    include/modules/pvm/pvmmoduledefine.h
    include/modules/pvm/pvmvolumereader.h
    include/modules/pvm/pvmvolumewriter.h
)
ivw_group("Header Files" ${HEADER_FILES})


#--------------------------------------------------------------------
# Add source files
set(SOURCE_FILES
    src/mpvmvolumereader.cpp
    src/pvmmodule.cpp
    src/pvmvolumereader.cpp
    src/pvmvolumewriter.cpp
)
ivw_group("Source Files" ${SOURCE_FILES})

#--------------------------------------------------------------------
# Create module
ivw_create_module(${SOURCE_FILES} ${MOC_FILES} ${HEADER_FILES})
target_link_libraries(inviwo-module-pvm PRIVATE tidds)

ivw_register_license_file(NAME "Tiny DDS Package" MODULE PVM TYPE "LGPL"
    URL https://github.com/Eyescale/Equalizer
    FILES ${CMAKE_CURRENT_SOURCE_DIR}/ext/tidds/tidds/README
          ${CMAKE_CURRENT_SOURCE_DIR}/ext/tidds/tidds/LGPL
)

ivw_make_package(InviwoPVMModule inviwo-module-pvm)
{'fraction_non_alphanumeric': 0.29420909444228527, 'fraction_numerical': 0.0, 'mean_word_length': 1.9051918735891649, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '486877', 'n_tokens_mistral': 833, 'n_tokens_neox': 783, 'n_words': 108}