<commit_before>cmake_minimum_required(VERSION 3.10)
project(AstroData VERSION 3.1)
include(GNUInstallDirs)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++14")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native -mtune=native")
if($ENV{LOFAR})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_HDF5")
endif()
if($ENV{PSRDADA})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_PSRDADA")
endif()

# libastrodata
add_library(astrodata SHARED
  src/Observation.cpp
  src/Platform.cpp
  src/ReadData.cpp
  src/SynthesizedBeams.cpp
)
set_target_properties(astrodata PROPERTIES 
  VERSION ${PROJECT_VERSION}
  SOVERSION 1
  PUBLIC_HEADER "include/Generator.hpp;include/Observation.hpp;include/Platform.hpp;include/ReadData.hpp;include/SynthesizedBeams.hpp"
)
target_include_directories(astrodata PRIVATE include)

install(TARGETS astrodata<commit_msg>Removed space.<commit_after>cmake_minimum_required(VERSION 3.10)
project(AstroData VERSION 3.1)
include(GNUInstallDirs)

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++14")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -march=native -mtune=native")
if($ENV{LOFAR})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_HDF5")
endif()
if($ENV{PSRDADA})
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHAVE_PSRDADA")
endif()

# libastrodata
add_library(astrodata SHARED
  src/Observation.cpp
  src/Platform.cpp
  src/ReadData.cpp
  src/SynthesizedBeams.cpp
)
set_target_properties(astrodata PROPERTIES
  VERSION ${PROJECT_VERSION}
  SOVERSION 1
  PUBLIC_HEADER "include/Generator.hpp;include/Observation.hpp;include/Platform.hpp;include/ReadData.hpp;include/SynthesizedBeams.hpp"
)
target_include_directories(astrodata PRIVATE include)

install(TARGETS astrodata
{'fraction_non_alphanumeric': 0.11463133640552996, 'fraction_numerical': 0.010368663594470046, 'mean_word_length': 8.142105263157895, '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': '566019', 'n_tokens_mistral': 716, 'n_tokens_neox': 650, 'n_words': 88}