Mercurial > almixer_isolated
comparison EXAMPLES/CMakeLists.txt @ 4:26aec5629f68
Added example programs.
author | Eric Wing <ewing . public |-at-| gmail . com> |
---|---|
date | Wed, 27 Oct 2010 21:41:31 -0700 |
parents | |
children | ee50db043251 |
comparison
equal
deleted
inserted
replaced
3:a929285e1db0 | 4:26aec5629f68 |
---|---|
1 | |
2 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR} ${OPENAL_INCLUDE_DIR} ${SDL_INCLUDE_DIR} ${SDL_SOUND_INCLUDE_DIR}) | |
3 | |
4 | |
5 IF(APPLE) | |
6 IF(NOT ALMIXER_COMPILE_WITHOUT_SDL) | |
7 SET(SUPPORT_FILES SDLMain.m) | |
8 ENDIF(NOT ALMIXER_COMPILE_WITHOUT_SDL) | |
9 ENDIF(APPLE) | |
10 | |
11 | |
12 ADD_EXECUTABLE(playstream ${CMAKE_CURRENT_SOURCE_DIR}/playstream.c ${SUPPORT_FILES}) | |
13 TARGET_LINK_LIBRARIES(playstream ALMIXER_LIBRARY ${OPENAL_LIBRARY} ${SDL_SOUND_LIBRARIES} ${SDL_LIBRARY}) | |
14 | |
15 ADD_EXECUTABLE(playsound ${CMAKE_CURRENT_SOURCE_DIR}/playsound.c ${SUPPORT_FILES}) | |
16 TARGET_LINK_LIBRARIES(playsound ALMIXER_LIBRARY ${OPENAL_LIBRARY} ${SDL_SOUND_LIBRARIES} ${SDL_LIBRARY}) | |
17 | |
18 |