hedgewars/sdlmain/CMakeLists.txt
author koda
Sat, 06 Jul 2013 19:29:18 +0200
changeset 9317 a04c30940d2d
parent 8804 32bc222ddca6
child 11359 c481d087f653
permissions -rw-r--r--
use SDL2 as ifdef symbol because we're not really sdl1.3 compatible, change the compatibility layer, drop unused code, add some documentation
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8804
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     1
find_package(SDL REQUIRED)
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     2
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     3
include_directories(${SDL_INCLUDE_DIR})
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     4
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     5
add_library (SDLmain STATIC SDLMain.m)
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     6
32bc222ddca6 move sdlmain compilation in its own folder
koda
parents:
diff changeset
     7