mirror of
https://github.com/AntoineHX/LivingMachine.git
synced 2025-05-04 05:40:46 +02:00
Test SFML, import fichiers drive
This commit is contained in:
parent
73704e5139
commit
36962dc598
12 changed files with 314 additions and 0 deletions
29
CMakeLists.txt
Normal file
29
CMakeLists.txt
Normal file
|
@ -0,0 +1,29 @@
|
|||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
|
||||
#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 )
|
||||
find_package(SFML 2 COMPONENTS system window graphics audio REQUIRED)
|
||||
|
||||
add_executable( DisplayImage ${source_files} )
|
||||
target_link_libraries( DisplayImage ${OpenCV_LIBS} )
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue