<commit_before>cmake_minimum_required (VERSION 2.6)
project (AminoTutorials)

# pkg-config setup
find_package(PkgConfig)

# Search for the pkg-config packages
pkg_search_module(SDL2 REQUIRED sdl2)
pkg_search_module(GL REQUIRED gl)
pkg_search_module(AMINO REQUIRED amino)
pkg_search_module(AMINO_GL REQUIRED amino-gl)

# Compile scene graph to C
add_custom_command(
  OUTPUT 7dof-scene.c 7dof-scene.c.h
  DEPENDS 7dof.robray
  COMMAND aarxc "7dof.robray" -o 7dof-scene.c -n "7dof"
  )

# Compile plugin (shared library)
add_library( scene MODULE 7dof-scene.c )
target_include_directories( scene PUBLIC
  ${AMINO_INCLUDE_DIRS}
  )
target_link_libraries( scene
  ${AMINO_GL_LIBRARIES}
  ${AMINO_LIBRARIES}
  )<commit_msg>allow for build directory in the tutorial<commit_after>cmake_minimum_required (VERSION 2.6)
project (AminoTutorials)

# pkg-config setup
find_package(PkgConfig)

# Search for the pkg-config packages
pkg_search_module(SDL2 REQUIRED sdl2)
pkg_search_module(GL REQUIRED gl)
pkg_search_module(AMINO REQUIRED amino)
pkg_search_module(AMINO_GL REQUIRED amino-gl)

# Compile scene graph to C
add_custom_command(
  OUTPUT 7dof-scene.c 7dof-scene.c.h
  DEPENDS 7dof.robray
  COMMAND aarxc "${CMAKE_SOURCE_DIR}/7dof.robray" -o 7dof-scene.c -n "7dof"
  )

# Compile plugin (shared library)
add_library( scene MODULE 7dof-scene.c )
target_include_directories( scene PUBLIC
  ${AMINO_INCLUDE_DIRS}
  )
target_link_libraries( scene
  ${AMINO_GL_LIBRARIES}
  ${AMINO_LIBRARIES}
  )
{'fraction_non_alphanumeric': 0.08490566037735849, 'fraction_numerical': 0.014824797843665768, 'mean_word_length': 5.8119266055045875, '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': '2259190', 'n_tokens_mistral': 635, 'n_tokens_neox': 578, 'n_words': 124}