<commit_before>PROJECT(inputGen)
cmake_minimum_required(VERSION 2.8)

FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtOpenGL REQUIRED)

FIND_PACKAGE(OpenGL REQUIRED)
FIND_PACKAGE(Eigen3 REQUIRED)

SET(inputGen_SOURCES
  src/main.cpp
  src/mainwindow.cpp
  src/samplerfactory.cpp
  src/myview.cpp
  src/myscene.cpp)
SET(inputGen_HEADERS
  include/mainwindow.h
  include/sampler.h
  include/samplerfactory.h
  include/myview.h
  include/myscene.h
  include/types.h
  include/typesGL.h
  include/project.h
  include/primitive.h)
SET(inputGen_FORMS
  ui/mainwindow.ui
  ui/samplerfactory.ui)
# SET(inputGen_RESOURCES images.qrc)

SET(QT_USE_QTOPENGL TRUE)

QT4_WRAP_CPP(inputGen_HEADERS_MOC ${inputGen_HEADERS})
QT4_WRAP_UI(inputGen_FORMS_HEADERS ${inputGen_FORMS})

INCLUDE(${QT_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR}/unsupported)

ADD_DEFINITIONS(${QT_DEFINITIONS})

ADD_EXECUTABLE(inputGen ${inputGen_SOURCES}
    ${inputGen_HEADERS}
    ${inputGen_HEADERS_MOC}
    ${inputGen_FORMS_HEADERS} )
TARGET_LINK_LIBRARIES(inputGen ${OPENGL_LIBRARIES} ${QT_LIBRARIES})<commit_msg>Enable c++11<commit_after>PROJECT(inputGen)
cmake_minimum_required(VERSION 2.8)

FIND_PACKAGE(Qt4 COMPONENTS QtCore QtGui QtOpenGL REQUIRED)

FIND_PACKAGE(OpenGL REQUIRED)
FIND_PACKAGE(Eigen3 REQUIRED)

SET(inputGen_SOURCES
  src/main.cpp
  src/mainwindow.cpp
  src/samplerfactory.cpp
  src/myview.cpp
  src/myscene.cpp)
SET(inputGen_HEADERS
  include/mainwindow.h
  include/sampler.h
  include/samplerfactory.h
  include/myview.h
  include/myscene.h
  include/types.h
  include/typesGL.h
  include/project.h
  include/primitive.h)
SET(inputGen_FORMS
  ui/mainwindow.ui
  ui/samplerfactory.ui)
# SET(inputGen_RESOURCES images.qrc)

SET(QT_USE_QTOPENGL TRUE)

QT4_WRAP_CPP(inputGen_HEADERS_MOC ${inputGen_HEADERS})
QT4_WRAP_UI(inputGen_FORMS_HEADERS ${inputGen_FORMS})

ADD_DEFINITIONS( -std=c++11 )

INCLUDE(${QT_USE_FILE})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR})
INCLUDE_DIRECTORIES(${EIGEN3_INCLUDE_DIR}/unsupported)

ADD_DEFINITIONS(${QT_DEFINITIONS})

ADD_EXECUTABLE(inputGen ${inputGen_SOURCES}
    ${inputGen_HEADERS}
    ${inputGen_HEADERS_MOC}
    ${inputGen_FORMS_HEADERS} )
TARGET_LINK_LIBRARIES(inputGen ${OPENGL_LIBRARIES} ${QT_LIBRARIES})
{'fraction_non_alphanumeric': 0.10120481927710843, 'fraction_numerical': 0.008032128514056224, 'mean_word_length': 7.501706484641638, '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': '1515218', 'n_tokens_mistral': 1080, 'n_tokens_neox': 994, 'n_words': 110}