<commit_before>CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
PROJECT (gometa)

# This project is intended to be built as part of a Couchbase Server build,
# but for nominal support building stand-alone, the following variables
# need to be specified:
#
# CMAKE_MODULE_PATH - should contain a directory containing
#      FindCouchbaseGo.cmake, eg. tlm/cmake/Modules
#
# CMAKE_INSTALL_PREFIX - should point to a directory where the bin/ output
#      directory will be placed
#
# GODEPSPATH - should point to a Go workspace directory containing all
#      transitive Go dependencies
#
# FORESTDB_INCLUDE_DIR - should point to where libforestdb/forestdb.h exists
#
# FORESTDB_LIBRARY_DIR - should point to where libforestdb.so resides
#

INCLUDE (FindCouchbaseGo)

IF (TARGET forestdb)
  LIST (APPEND _deps forestdb)
ENDIF ()
IF (NOT "${_deps}" STREQUAL "")
  SET (_deps DEPENDS ${_deps})
ENDIF ()

GoInstall (TARGET gometa PACKAGE github.com/couchbase/gometa/cmd/gometa
  GOPATH "${PROJECT_SOURCE_DIR}/../../../.." "${GODEPSDIR}"
  ${_deps}
  CGO_INCLUDE_DIRS "${FORESTDB_INCLUDE_DIR}"
  CGO_LIBRARY_DIRS "${FORESTDB_LIBRARY_DIR}"
  GOVERSION 1.7.3
  INSTALL_PATH bin OUTPUT gometa)<commit_msg>MB-25162: Update Go targets to use Go 1.7.6<commit_after>CMAKE_MINIMUM_REQUIRED (VERSION 2.8)
PROJECT (gometa)

# This project is intended to be built as part of a Couchbase Server build,
# but for nominal support building stand-alone, the following variables
# need to be specified:
#
# CMAKE_MODULE_PATH - should contain a directory containing
#      FindCouchbaseGo.cmake, eg. tlm/cmake/Modules
#
# CMAKE_INSTALL_PREFIX - should point to a directory where the bin/ output
#      directory will be placed
#
# GODEPSPATH - should point to a Go workspace directory containing all
#      transitive Go dependencies
#
# FORESTDB_INCLUDE_DIR - should point to where libforestdb/forestdb.h exists
#
# FORESTDB_LIBRARY_DIR - should point to where libforestdb.so resides
#

INCLUDE (FindCouchbaseGo)

IF (TARGET forestdb)
  LIST (APPEND _deps forestdb)
ENDIF ()
IF (NOT "${_deps}" STREQUAL "")
  SET (_deps DEPENDS ${_deps})
ENDIF ()

GoInstall (TARGET gometa PACKAGE github.com/couchbase/gometa/cmd/gometa
  GOPATH "${PROJECT_SOURCE_DIR}/../../../.." "${GODEPSDIR}"
  ${_deps}
  CGO_INCLUDE_DIRS "${FORESTDB_INCLUDE_DIR}"
  CGO_LIBRARY_DIRS "${FORESTDB_LIBRARY_DIR}"
  GOVERSION 1.7.6
  INSTALL_PATH bin OUTPUT gometa)
{'fraction_non_alphanumeric': 0.09432387312186978, 'fraction_numerical': 0.007512520868113523, 'mean_word_length': 4.48512585812357, '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': '3044704', 'n_tokens_mistral': 868, 'n_tokens_neox': 806, 'n_words': 246}