Suppresion fichier inutile, Changement makefile, Debut SFML, Ajout mode CONFIG/SFML

This commit is contained in:
AntoineUPMC 2017-05-02 18:17:11 +02:00
parent 166879222f
commit 71756d4954
43 changed files with 152 additions and 3821 deletions

View file

@ -1,5 +1,29 @@
cmake_minimum_required(VERSION 2.8)
project( DisplayImage )
#Configuration du projet
project(DisplayImage)
#Configuration de la sortie
set(EXECUTABLE_OUTPUT_PATH bin)
#Configuration de l'exécutable
file(
GLOB_RECURSE
source_files
src/*
)
#Recherche des bibliothèques
find_package( OpenCV REQUIRED )
add_executable( DisplayImage DisplayImage.cpp )
#find_package(SFML 2 COMPONENTS system window graphics audio REQUIRED)
add_executable( DisplayImage ${source_files} )
target_link_libraries( DisplayImage ${OpenCV_LIBS} )