<commit_before>macro(setup_exe exename srcname)
  add_executable(${exename} ${srcname})
  target_link_libraries(${exename} common phastaIO)
endmacro(setup_exe)

include_directories("${PHASTA_BINARY_DIR}")
include_directories(${CMAKE_Fortran_MODULE_DIRECTORY})

setup_exe(phIOreadheader phIOreadheader.cc)
setup_exe(phIOreaddatablock phIOreaddatablock.cc)
setup_exe(phIOwrite phIOwrite.cc)
set(ftnsrc chdir_mod.f phIOread.f)
setup_exe(phIOreadFtn "${ftnsrc}")
set_target_properties(phIOreadFtn PROPERTIES HAS_CXX TRUE)
set_property(TARGET phIOreadFtn PROPERTY LINKER_LANGUAGE Fortran)
setup_exe(phIOwriteFtn phIOwrite.f)
set_target_properties(phIOwriteFtn PROPERTIES HAS_CXX TRUE)
set_property(TARGET phIOwriteFtn PROPERTY LINKER_LANGUAGE Fortran)
include(testing.cmake)<commit_msg>Kitware says HAVE_CXX is depreciated (and it breaks the build on intel/pgi)<commit_after>macro(setup_exe exename srcname)
  add_executable(${exename} ${srcname})
  target_link_libraries(${exename} common phastaIO)
endmacro(setup_exe)

include_directories("${PHASTA_BINARY_DIR}")
include_directories(${CMAKE_Fortran_MODULE_DIRECTORY})

setup_exe(phIOreadheader phIOreadheader.cc)
setup_exe(phIOreaddatablock phIOreaddatablock.cc)
setup_exe(phIOwrite phIOwrite.cc)
set(ftnsrc chdir_mod.f phIOread.f)
setup_exe(phIOreadFtn "${ftnsrc}")
set_property(TARGET phIOreadFtn PROPERTY LINKER_LANGUAGE Fortran)
setup_exe(phIOwriteFtn phIOwrite.f)
set_property(TARGET phIOwriteFtn PROPERTY LINKER_LANGUAGE Fortran)
include(testing.cmake)
{'fraction_non_alphanumeric': 0.08704318936877077, 'fraction_numerical': 0.0, 'mean_word_length': 12.095652173913043, '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': '3086503', 'n_tokens_mistral': 586, 'n_tokens_neox': 558, 'n_words': 88}