~neon/phonon/five

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Trever Fischer
  • Date: 2011-01-09 19:36:33 UTC
  • Revision ID: git-v1:637966d7a62df177b700fa439726adc3729c9190
Added a demo. The first of many. Let the documentation begin!

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
option(PHONON_BUILD_TESTS "Build the tests")
9
9
option(PHONON_BUILD_APP_TESTS "Build the application tests")
 
10
option(PHONON_BUILD_DEMOS "Build the demos")
10
11
 
11
12
if (PHONON_BUILD_TESTS)
12
13
    message(STATUS "Building tests.")
41
42
 
42
43
add_subdirectory(phonon)
43
44
add_subdirectory(includes)
 
45
if(PHONON_BUILD_DEMOS)
 
46
    message(STATUS "Building demos.")
 
47
    add_subdirectory(demos)
 
48
endif(PHONON_BUILD_DEMOS)
44
49
 
45
50
set(BUILDSYSTEM_INSTALL_DIR ${SHARE_INSTALL_PREFIX}/phonon-buildsystem/)
46
51
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_uninstall.cmake.in