<commit_before>cmake_minimum_required(VERSION 2.8)
project (Engine)


include_directories ("../Extern/PugiXml/src")
include_directories ("../Extern/AmdSDK/include")
include_directories ("./Platform")

file(

        GLOB_RECURSE
        source_files
        Platform/Linux/*
)

message("coucou 1 : " "${source_files}")
set(source_files ${source_files} Main.cpp)
message("coucou 2 : " "${source_files}")

add_executable(Engine ${source_files})

set (EXTRA_LIBS ${EXTRA_LIBS} PugiXml) #Add PugiXml to EXTRA_LIBS

target_link_libraries (Engine  ${EXTRA_LIBS})
if (TE_64BITS)
target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86-64/libEGL.so)
target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86-64/libGLESv2.so)
else()
target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86/libEGL.so)
target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86/libGLESv2.so)
endif()

find_package(X11 REQUIRED)

  if(NOT X11_FOUND)
    message(FATAL_ERROR "Failed to find X11 which is required to build nsu")
  endif(NOT X11_FOUND)

message("PREFIX PATH ="  "$ENV{CMAKE_PREFIX_PATH}")
message("X11 Librairies = " "${X11_LIBRARIES}")
target_link_libraries (Engine  ${X11_LIBRARIES})
<commit_msg>si ce n'est pas ça, je ne comprends vraiment plus rien 2<commit_after>cmake_minimum_required(VERSION 2.8)
project (Engine)


include_directories ("../Extern/PugiXml/src")
include_directories ("../Extern/AmdSDK/include")
include_directories ("./Platform")

file(

        GLOB_RECURSE
        source_files
        Platform/Linux/*
)

message("coucou 1 : " "${source_files}")
set(source_files ${source_files} Main.cpp)
message("coucou 2 : " "${source_files}")

add_executable(Engine ${source_files})

set (EXTRA_LIBS ${EXTRA_LIBS} PugiXml) #Add PugiXml to EXTRA_LIBS

target_link_libraries (Engine  ${EXTRA_LIBS})
if (TE_64BITS)
	target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86-64/libEGL.so)
	target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86-64/libGLESv2.so)
	set_property (GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE)
else()
	set_property (GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS FALSE)
	target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86/libEGL.so)
	target_link_libraries(Engine ${CMAKE_CURRENT_SOURCE_DIR}/../Extern/AmdSDK/x86/libGLESv2.so)
endif()

 find_package(X11 REQUIRED)

  if(NOT X11_FOUND)
    message(FATAL_ERROR "Failed to find X11 which is required to build nsu")
  endif(NOT X11_FOUND)

message("PREFIX PATH ="  "$ENV{CMAKE_PREFIX_PATH}")
message("X11 Librairies = " "${X11_LIBRARIES}")
message("X11 Libs = " "${X11_LIBS}")
target_link_libraries (Engine  ${X11_LIBRARIES})

{'fraction_non_alphanumeric': 0.13236363636363635, 'fraction_numerical': 0.028, 'mean_word_length': 6.053846153846154, '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': '2934166', 'n_tokens_mistral': 1129, 'n_tokens_neox': 1052, 'n_words': 172}