<commit_before># -- fortran library
add_library(clawpack3_46_f OBJECT
  fortran_source/fc3d_clawpack46_bc3_default.f90 
  fortran_source/fc3d_clawpack46_inlinelimiter.f90 
  fortran_source/fc3d_clawpack46_limiter.f90 
  fortran_source/fc3d_clawpack46_set_capacity.f90
  fortran_source/fc3d_clawpack46_block.f90 
  fortran_source/fc3d_clawpack46_bc3_default.f90 
  fortran_source/fc3d_clawpack46_flux3.f
  fortran_source/fc3d_clawpack46_step3.f90 
  fortran_source/fc3d_clawpack46_step3_wrap.f90
)

target_include_directories(clawpack3_46_f INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/include)

# -- add library
add_library(clawpack3_46)
set_target_properties(clawpack3_46 PROPERTIES EXPORT_NAME CLAWPACK3_46)

target_sources(clawpack3_46 PRIVATE 
  fc3d_clawpack46.cpp 
  fc3d_clawpack46_options.c
  $<TARGET_OBJECTS:clawpack3_46_f>
)

target_link_libraries(clawpack3_46 PUBLIC clawpatch)

target_include_directories(clawpack3_46
  INTERFACE
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
  $<INSTALL_INTERFACE:include>
)

# -- install

install(FILES
	fc3d_clawpack46.h
  fc3d_clawpack46_fort.h 
	fc3d_clawpack46_options.h
  fc3d_clawpack46_fort_user.h 
DESTINATION include
)

install(TARGETS clawpack3_46
  EXPORT ${PROJECT_NAME}Targets
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib)


# -- imported target, for use from FetchContent
add_library(FORESTCLAW::CLAWPACK3_46 INTERFACE IMPORTED GLOBAL)
target_link_libraries(FORESTCLAW::CLAWPACK3_46 INTERFACE clawpack3_46)<commit_msg>(clawpack3) Fix header name in CMake list<commit_after># -- fortran library
add_library(clawpack3_46_f OBJECT
  fortran_source/fc3d_clawpack46_bc3_default.f90 
  fortran_source/fc3d_clawpack46_inlinelimiter.f90 
  fortran_source/fc3d_clawpack46_limiter.f90 
  fortran_source/fc3d_clawpack46_set_capacity.f90
  fortran_source/fc3d_clawpack46_block.f90 
  fortran_source/fc3d_clawpack46_bc3_default.f90 
  fortran_source/fc3d_clawpack46_flux3.f
  fortran_source/fc3d_clawpack46_step3.f90 
  fortran_source/fc3d_clawpack46_step3_wrap.f90
)

target_include_directories(clawpack3_46_f INTERFACE ${CMAKE_CURRENT_BINARY_DIR}/include)

# -- add library
add_library(clawpack3_46)
set_target_properties(clawpack3_46 PROPERTIES EXPORT_NAME CLAWPACK3_46)

target_sources(clawpack3_46 PRIVATE 
  fc3d_clawpack46.cpp 
  fc3d_clawpack46_options.c
  $<TARGET_OBJECTS:clawpack3_46_f>
)

target_link_libraries(clawpack3_46 PUBLIC clawpatch)

target_include_directories(clawpack3_46
  INTERFACE
  $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
  $<INSTALL_INTERFACE:include>
)

# -- install

install(FILES
	fc3d_clawpack46.h
  fc3d_clawpack46_fort.h 
	fc3d_clawpack46_options.h
  fc3d_clawpack46_user_fort.h 
DESTINATION include
)

install(TARGETS clawpack3_46
  EXPORT ${PROJECT_NAME}Targets
  ARCHIVE DESTINATION lib
  LIBRARY DESTINATION lib)


# -- imported target, for use from FetchContent
add_library(FORESTCLAW::CLAWPACK3_46 INTERFACE IMPORTED GLOBAL)
target_link_libraries(FORESTCLAW::CLAWPACK3_46 INTERFACE clawpack3_46)
{'fraction_non_alphanumeric': 0.05945223780895124, 'fraction_numerical': 0.0704742818971276, 'mean_word_length': 7.532763532763533, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '4111621', 'n_tokens_mistral': 1394, 'n_tokens_neox': 1242, 'n_words': 139}