-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
47 lines (41 loc) · 1.08 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
cmake_minimum_required(VERSION 2.8.4)
project(blockaderunner)
#Macros preprocesseur : A décommenter pour désactiver l'option
#add_definitions(-DJEU_VERBOSE)
add_definitions(-DNO_REPETE_EXPLOSION)
#add_definitions(-DMODE_NORMAL)
#repetoire des includes
include_directories( ./libs/fmod/inc)
#Repertoires exectuble et obj
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/bin")
set(OBJECT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/obj")
set(SOURCE_FILES
src/Animation.c
src/Animation.h
src/Audio.c
src/Audio.h
src/ElementScene.c
src/ElementScene.h
src/EntreeSDL.c
src/EntreeSDL.h
src/GraphiqueSDL.c
src/GraphiqueSDL.h
src/JeuSDL.c
src/JeuSDL.h
src/Joueur.c
src/Joueur.h
src/main.c
src/Menu.c
src/Menu.h
src/Niveau.c
src/Niveau.h
src/Outils.c
src/Outils.h
src/Ressource.c
src/Ressource.h
src/Scene.c
src/Scene.h
src/Vaisseau.c
src/Vaisseau.h)
add_executable(blockaderunner ${SOURCE_FILES})
target_link_libraries(blockaderunner -lSDL -lxml2 -lm -lSDL_image -lSDL_ttf -lfmodex64 -lSDL_gfx)