<commit_before>set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

add_library(VelodyneUI
  Ui/vvCalibrationDialog.cxx
  Ui/vvCalibrationDialog.h
  Ui/vvCalibrationDialog.ui
  Ui/vvCropReturnsDialog.cxx
  Ui/vvCropReturnsDialog.h
  Ui/vvCropReturnsDialog.ui
  Ui/vvLaserSelectionDialog.cxx
  Ui/vvLaserSelectionDialog.h
  Ui/vvLaserSelectionDialog.ui
  Ui/vvSelectFramesDialog.cxx
  Ui/vvSelectFramesDialog.h
  Ui/vvSelectFramesDialog.ui

  pqLidarViewManager.cxx
  pqLidarViewManager.h
  vvLoadDataReaction.cxx
  vvLoadDataReaction.h
  vvPythonQtDecorators.h
  )
target_link_libraries(VelodyneUI PUBLIC LidarPlugin ${PYTHONQT_LIBRARIES} lqApplicationComponents)
target_include_directories(VelodyneUI PUBLIC
  ${PYTHONQT_INCLUDE_DIRS}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/ctk/
  )
install(TARGETS VelodyneUI
        RUNTIME DESTINATION lib)

#-----------------------------------------------------------------------------
# Add python source
#-----------------------------------------------------------------------------

add_subdirectory(python)
<commit_msg>Add install destination for VelodyneUI target<commit_after>set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_AUTOUIC ON)

add_library(VelodyneUI
  Ui/vvCalibrationDialog.cxx
  Ui/vvCalibrationDialog.h
  Ui/vvCalibrationDialog.ui
  Ui/vvCropReturnsDialog.cxx
  Ui/vvCropReturnsDialog.h
  Ui/vvCropReturnsDialog.ui
  Ui/vvLaserSelectionDialog.cxx
  Ui/vvLaserSelectionDialog.h
  Ui/vvLaserSelectionDialog.ui
  Ui/vvSelectFramesDialog.cxx
  Ui/vvSelectFramesDialog.h
  Ui/vvSelectFramesDialog.ui

  pqLidarViewManager.cxx
  pqLidarViewManager.h
  vvLoadDataReaction.cxx
  vvLoadDataReaction.h
  vvPythonQtDecorators.h
  )
target_link_libraries(VelodyneUI PUBLIC LidarPlugin ${PYTHONQT_LIBRARIES} lqApplicationComponents)
target_include_directories(VelodyneUI PUBLIC
  ${PYTHONQT_INCLUDE_DIRS}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}/ctk/
  )

# install libraries
if (APPLE)
  install(TARGETS VelodyneUI
          RUNTIME DESTINATION ${VV_INSTALL_RUNTIME_DIR}/${SOFTWARE_NAME}.app/Contents/Libraries
          LIBRARY DESTINATION ${VV_INSTALL_RUNTIME_DIR}/${SOFTWARE_NAME}.app/Contents/Libraries
          COMPONENT Runtime)
else()
  install(TARGETS VelodyneUI
          RUNTIME DESTINATION ${VV_INSTALL_RUNTIME_DIR}
          LIBRARY DESTINATION ${VV_INSTALL_LIBRARY_DIR}
          COMPONENT Runtime)
endif()


#-----------------------------------------------------------------------------
# Add python source
#-----------------------------------------------------------------------------

add_subdirectory(python)

{'fraction_non_alphanumeric': 0.1797112462006079, 'fraction_numerical': 0.0, 'mean_word_length': 2.918154761904762, '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': '5614481', 'n_tokens_mistral': 950, 'n_tokens_neox': 860, 'n_words': 112}