<commit_before>project(marble)


####################################################
# CMake Settings 
SET(CMAKE_COLOR_MAKEFILE ON)



####################################################
# User configurable options
if(APPLE OR WIN32) #by default build Qt only version for OSX and win
  set (QTONLY TRUE CACHE BOOL "Determines if we should compile for Qt only.")
else(APPLE OR WIN32)
  set (QTONLY FALSE CACHE BOOL "Determines if we should compile for Qt only.")
endif(APPLE OR WIN32)
set (PEDANTIC FALSE CACHE BOOL "Determines if we should compile with -Wall -Werror.")
set (ENABLE_TESTS FALSE CACHE BOOL "Build unit tests?")
set (WITH_DESIGNER_PLUGIN FALSE CACHE BOOL "Build designer plugin?")
# @TODO - make os specific versions of below
set (MARBLE_DATA_PATH ${CMAKE_INSTALL_PREFIX}/share/marble CACHE STRING "Marble data directory")


if(WIN32)
  set (STATIC_BUILD false cache bool "Link to static Qt libs (win32 only)?")
endif(WIN32)

# Variables to test new kml implementation
# Will removed in feature after success
#add_definitions(-DKML_DEBUG)
#add_definitions(-DKML_GSOC)

####################################################
# Where to look first for cmake modules, 
# before ${CMAKE_ROOT}/Modules/ is checked
set ( CMAKE_MODULE_PATH 
     ${CMAKE_SOURCE_DIR}/cmake/modules 
     ${CMAKE_CURRENT_SOURCE_DIR}
     ${CMAKE_CURRENT_SOURCE_DIR}/src<commit_msg>fix syntax for an option (static build, currently win32 only)<commit_after>project(marble)


####################################################
# CMake Settings 
SET(CMAKE_COLOR_MAKEFILE ON)



####################################################
# User configurable options
if(APPLE OR WIN32) #by default build Qt only version for OSX and win
  set (QTONLY TRUE CACHE BOOL "Determines if we should compile for Qt only.")
else(APPLE OR WIN32)
  set (QTONLY FALSE CACHE BOOL "Determines if we should compile for Qt only.")
endif(APPLE OR WIN32)
set (PEDANTIC FALSE CACHE BOOL "Determines if we should compile with -Wall -Werror.")
set (ENABLE_TESTS FALSE CACHE BOOL "Build unit tests?")
set (WITH_DESIGNER_PLUGIN FALSE CACHE BOOL "Build designer plugin?")
# @TODO - make os specific versions of below
set (MARBLE_DATA_PATH ${CMAKE_INSTALL_PREFIX}/share/marble CACHE STRING "Marble data directory")


if(WIN32)
  OPTION(STATIC_BUILD "Link to static Qt libs (win32 only)?" OFF)
endif(WIN32)

# Variables to test new kml implementation
# Will removed in feature after success
#add_definitions(-DKML_DEBUG)
#add_definitions(-DKML_GSOC)

####################################################
# Where to look first for cmake modules, 
# before ${CMAKE_ROOT}/Modules/ is checked
set ( CMAKE_MODULE_PATH 
     ${CMAKE_SOURCE_DIR}/cmake/modules 
     ${CMAKE_CURRENT_SOURCE_DIR}
     ${CMAKE_CURRENT_SOURCE_DIR}/src
{'fraction_non_alphanumeric': 0.1834234234234234, 'fraction_numerical': 0.009369369369369369, 'mean_word_length': 5.787286063569682, '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': '3570707', 'n_tokens_mistral': 878, 'n_tokens_neox': 801, 'n_words': 287}