2010-06-22 13:30:36 +00:00
|
|
|
# Check that people use the good file
|
|
|
|
if(NOT TOP_CMAKE_WAS_SOURCED)
|
|
|
|
message(FATAL_ERROR "
|
|
|
|
You did not 'cmake' the good CMakeLists.txt file. Use the one in the top dir.
|
|
|
|
It is advice to delete all wrongly generated cmake stuff => CMakeFiles & CMakeCache.txt")
|
|
|
|
endif(NOT TOP_CMAKE_WAS_SOURCED)
|
|
|
|
|
|
|
|
|
2010-01-22 04:36:49 +00:00
|
|
|
# build project zlib
|
|
|
|
if(projectZLIB)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(zlib)
|
2010-01-22 04:36:49 +00:00
|
|
|
endif(projectZLIB)
|
2010-01-21 15:12:50 +00:00
|
|
|
|
2010-06-11 13:51:43 +00:00
|
|
|
# build project SoundTouch
|
2010-01-22 04:36:49 +00:00
|
|
|
if(projectSoundTouch)
|
2010-01-21 15:12:50 +00:00
|
|
|
add_subdirectory(SoundTouch)
|
2010-01-22 04:36:49 +00:00
|
|
|
endif(projectSoundTouch)
|
2011-02-26 20:02:22 +00:00
|
|
|
|
|
|
|
# build project sdl
|
|
|
|
if(projectSDL)
|
|
|
|
add_subdirectory(SDL-1.3.0-5387)
|
|
|
|
endif(projectSDL)
|