equal
deleted
inserted
replaced
3 find_package(SDL) |
3 find_package(SDL) |
4 find_package(SDL_image) |
4 find_package(SDL_image) |
5 find_package(SDL_net) |
5 find_package(SDL_net) |
6 find_package(SDL_ttf) |
6 find_package(SDL_ttf) |
7 find_package(SDL_mixer) |
7 find_package(SDL_mixer) |
|
8 find_package(LUA51 REQUIRED) |
8 |
9 |
9 #find which version of SDL_image and SDL_mixer we have (for IMG_Init and Mix_Init) |
10 #find which version of SDL_image and SDL_mixer we have (for IMG_Init and Mix_Init) |
10 #if the headers are not installed, the newer apis won't be activated |
11 #if the headers are not installed, the newer apis won't be activated |
11 find_file(sdlmixer_h SDL_mixer.h ${SDLMIXER_INCLUDE_DIR}) |
12 find_file(sdlmixer_h SDL_mixer.h ${SDLMIXER_INCLUDE_DIR}) |
12 if(sdlmixer_h) |
13 if(sdlmixer_h) |
32 |
33 |
33 #SOURCE AND PROGRAMS SECTION |
34 #SOURCE AND PROGRAMS SECTION |
34 set(fpc_tryexe fpc) |
35 set(fpc_tryexe fpc) |
35 set(hwengine_project ${hedgewars_SOURCE_DIR}/hedgewars/hwengine.pas) |
36 set(hwengine_project ${hedgewars_SOURCE_DIR}/hedgewars/hwengine.pas) |
36 |
37 |
37 set( engine_sources |
38 set(engine_sources |
38 ${hwengine_project} |
39 ${hwengine_project} |
39 SDLh.pas |
40 SDLh.pas |
40 uAI.pas |
41 uAI.pas |
41 uAIActions.pas |
42 uAIActions.pas |
42 uAIAmmoTests.pas |
43 uAIAmmoTests.pas |
57 uLandTemplates.pas |
58 uLandTemplates.pas |
58 uLandTexture.pas |
59 uLandTexture.pas |
59 uLocale.pas |
60 uLocale.pas |
60 uMisc.pas |
61 uMisc.pas |
61 uRandom.pas |
62 uRandom.pas |
|
63 uScript.pas |
62 uSHA.pas |
64 uSHA.pas |
63 uSound.pas |
65 uSound.pas |
64 uStats.pas |
66 uStats.pas |
65 uStore.pas |
67 uStore.pas |
66 uTeams.pas |
68 uTeams.pas |