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

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")

find_package(Qt4 REQUIRED)

if(APPLE)
find_library(IOKIT_LIBRARY NAMES IOKit)
find_library(COREFOUNDATION_LIBRARY NAMES CoreFoundation)
endif()

IF(NOT WIN32 AND NOT APPLE)
find_package(KDE4 REQUIRED)
ENDIF()

find_package(OpenGL REQUIRED)
find_package(GLEW REQUIRED)
find_package(Eigen2 REQUIRED)

IF(NOT WIN32 AND NOT APPLE)
find_package(X11 REQUIRED)
ENDIF(NOT WIN32 AND NOT APPLE)

IF(NOT WIN32 AND NOT APPLE)
find_package(OpenAL REQUIRED)
find_package(Alut REQUIRED)
find_package(SndFile REQUIRED)
find_package(OggVorbis REQUIRED)
ENDIF(NOT WIN32 AND NOT APPLE)

IF(NOT WIN32 AND NOT APPLE)
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES})
ENDIF()

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${OPENAL_INCLUDE_DIR})
include_directories(${QT_QTOPENGL_INCLUDE_DIR})
include_directories(${EIGEN2_INCLUDE_DIR})

## TODO: are those really needed?  Yes it's ! Otherwise a lot of Box2d warning appear!
if(NOT WIN32)
add_definitions(-W -Wall -Wno-unused) 
add_definitions(-fvisibility=default)
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=12500 )
endif(NOT WIN32)


add_subdirectory(Box2D)
add_subdirectory(common)
add_subdirectory(kgl)
IF(NOT WIN32)
add_subdirectory(kal)
add_subdirectory(kcl)
add_subdirectory(src)
ENDIF(NOT WIN32)
add_subdirectory(cmake)
add_subdirectory(icons)
IF(NOT WIN32 AND NOT Q_WS_MAC)
add_subdirectory(kcl)
add_subdirectory(systemsettings)
ENDIF(NOT WIN32 AND NOT Q_WS_MAC)
#add_subdirectory(creator)<commit_msg>removed secondary add of kcl<commit_after>cmake_minimum_required(VERSION 2.6)
project(gluon)

set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules")

find_package(Qt4 REQUIRED)

if(APPLE)
find_library(IOKIT_LIBRARY NAMES IOKit)
find_library(COREFOUNDATION_LIBRARY NAMES CoreFoundation)
endif()

IF(NOT WIN32 AND NOT APPLE)
find_package(KDE4 REQUIRED)
ENDIF()

find_package(OpenGL REQUIRED)
find_package(GLEW REQUIRED)
find_package(Eigen2 REQUIRED)

IF(NOT WIN32 AND NOT APPLE)
find_package(X11 REQUIRED)
ENDIF(NOT WIN32 AND NOT APPLE)

IF(NOT WIN32 AND NOT APPLE)
find_package(OpenAL REQUIRED)
find_package(Alut REQUIRED)
find_package(SndFile REQUIRED)
find_package(OggVorbis REQUIRED)
ENDIF(NOT WIN32 AND NOT APPLE)

IF(NOT WIN32 AND NOT APPLE)
include(KDE4Defaults)
include_directories(${KDE4_INCLUDES})
ENDIF()

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${OPENAL_INCLUDE_DIR})
include_directories(${QT_QTOPENGL_INCLUDE_DIR})
include_directories(${EIGEN2_INCLUDE_DIR})

## TODO: are those really needed?  Yes it's ! Otherwise a lot of Box2d warning appear!
if(NOT WIN32)
add_definitions(-W -Wall -Wno-unused) 
add_definitions(-fvisibility=default)
add_definitions( -DKDE_DEFAULT_DEBUG_AREA=12500 )
endif(NOT WIN32)


add_subdirectory(Box2D)
add_subdirectory(common)
add_subdirectory(kgl)
IF(NOT WIN32)
add_subdirectory(kal)
add_subdirectory(kcl)
add_subdirectory(src)
ENDIF(NOT WIN32)
add_subdirectory(cmake)
add_subdirectory(icons)
IF(NOT WIN32 AND NOT Q_WS_MAC)
add_subdirectory(systemsettings)
ENDIF(NOT WIN32 AND NOT Q_WS_MAC)
#add_subdirectory(creator)
{'fraction_non_alphanumeric': 0.08973956699090054, 'fraction_numerical': 0.025729526200188264, 'mean_word_length': 9.843537414965986, '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': '2522836', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1210, 'n_words': 242}