home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 December / PCWorld_2006-12_cd.bin / komunikace / wengo / WengoPhone-2.0-windows.exe / sounds / CMakeLists.txt < prev    next >
Text File  |  2006-10-17  |  416b  |  19 lines

  1. project(sounds)
  2.  
  3. file(GLOB_RECURSE _sounds ${CMAKE_CURRENT_SOURCE_DIR}/*.wav)
  4.  
  5. if (_sounds)
  6.   foreach (_sound ${_sounds})
  7.       file(RELATIVE_PATH _path ${CMAKE_CURRENT_SOURCE_DIR} ${_sound})
  8.       get_filename_component(_path ${_path} PATH)
  9.  
  10.       install(
  11.         FILES
  12.           ${_sound}
  13.         DESTINATION
  14.           ${DATA_INSTALL_DIR}/sounds/${_path}
  15.       )
  16.   endforeach (_sound ${_sounds})
  17. endif (_sounds)
  18.  
  19.