<commit_before>################################################################
# Project Gnome-Pie
################################################################

 project("gnomepie" C)
 
 cmake_minimum_required(VERSION 2.6)
 
 # Location where cmake first looks for modules.
 list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/vala)

################################################################
# Find Vala
################################################################

include(ValaPrecompile) 
include(ValaVersion)

find_package(Vala) 
ensure_vala_version("0.11.0" MINIMUM)

################################################################
# Configure and find libraries
################################################################

find_package(PkgConfig) 
pkg_check_modules(GTK REQUIRED gtk+-2.0) 
pkg_check_modules(CAIRO REQUIRED cairo) 
pkg_check_modules(GEE REQUIRED gee-1.0)
pkg_check_modules(X11 REQUIRED x11)
pkg_check_modules(INDICATOR REQUIRED appindicator-0.1)
pkg_check_modules(XML REQUIRED libxml-2.0)
pkg_check_modules(XTST REQUIRED xtst)
pkg_check_modules(GMENU REQUIRED libgnome-menu)

set(CFLAGS
	${GTK_CFLAGS} ${GTK_CFLAGS_OTHER}
	${CAIRO_CFLAGS} ${CAIRO_CFLAGS_OTHER}
	${GEE_CFLAGS} ${CAIRO_CFLAGS_OTHER}
	#for gnome-menu
	-DGMENU_I_KNOW_THIS_IS_UNSTABLE
    # for gettext
    -DGETTEXT_PACKAGE="gnomepie"
	-s -Ofast 
#    -g
)
add_definitions(${CFLAGS})

set(LIBS
	${GTK_LIBRARIES}
	${CAIRO_LIBRARIES}
	${GEE_LIBRARIES}
	${INDICATOR_LIBRARIES}
	${XML_LIBRARIES}
	${XTST_LIBRARIES}
	${GMENU_LIBRARIES}
)
link_libraries(${LIBS})

set(LIB_PATHS
	${GTK_LIBRARY_DIRS}
	${CAIRO_LIBRARY_DIRS}
	${GEE_LIBRARY_DIRS}
	${INDICATOR_LIBRARY_DIRS}
	${XML_LIBRARY_DIRS}<commit_msg>Fixed compiler options<commit_after>################################################################
# Project Gnome-Pie
################################################################

 project("gnomepie" C)
 
 cmake_minimum_required(VERSION 2.6)
 
 # Location where cmake first looks for modules.
 list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/vala)

################################################################
# Find Vala
################################################################

include(ValaPrecompile) 
include(ValaVersion)

find_package(Vala) 
ensure_vala_version("0.11.0" MINIMUM)

################################################################
# Configure and find libraries
################################################################

find_package(PkgConfig) 
pkg_check_modules(GTK REQUIRED gtk+-2.0) 
pkg_check_modules(CAIRO REQUIRED cairo) 
pkg_check_modules(GEE REQUIRED gee-1.0)
pkg_check_modules(X11 REQUIRED x11)
pkg_check_modules(INDICATOR REQUIRED appindicator-0.1)
pkg_check_modules(XML REQUIRED libxml-2.0)
pkg_check_modules(XTST REQUIRED xtst)
pkg_check_modules(GMENU REQUIRED libgnome-menu)

set(CFLAGS
	${GTK_CFLAGS} ${GTK_CFLAGS_OTHER}
	${CAIRO_CFLAGS} ${CAIRO_CFLAGS_OTHER}
	${GEE_CFLAGS} ${CAIRO_CFLAGS_OTHER}
	#for gnome-menu
	-DGMENU_I_KNOW_THIS_IS_UNSTABLE
    # for gettext
    -DGETTEXT_PACKAGE="gnomepie"
	-s -O3 
#    -g
)
add_definitions(${CFLAGS})

set(LIBS
	${GTK_LIBRARIES}
	${CAIRO_LIBRARIES}
	${GEE_LIBRARIES}
	${INDICATOR_LIBRARIES}
	${XML_LIBRARIES}
	${XTST_LIBRARIES}
	${GMENU_LIBRARIES}
)
link_libraries(${LIBS})

set(LIB_PATHS
	${GTK_LIBRARY_DIRS}
	${CAIRO_LIBRARY_DIRS}
	${GEE_LIBRARY_DIRS}
	${INDICATOR_LIBRARY_DIRS}
	${XML_LIBRARY_DIRS}
{'fraction_non_alphanumeric': 0.3087719298245614, 'fraction_numerical': 0.010818713450292398, 'mean_word_length': 8.915942028985507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1622642', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1195, 'n_words': 171}