File: clean-generated.cmake

package info (click to toggle)
x265 4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,452 kB
  • sloc: asm: 187,063; cpp: 118,996; ansic: 741; makefile: 146; sh: 91; python: 11
file content (10 lines) | stat: -rw-r--r-- 318 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
set(generated "${CMAKE_CURRENT_BINARY_DIR}/x265.rc"
              "${CMAKE_CURRENT_BINARY_DIR}/x265.pc"
              "${CMAKE_CURRENT_BINARY_DIR}/x265.def"
              "${CMAKE_CURRENT_BINARY_DIR}/x265_config.h")

foreach(file ${generated})
  if(EXISTS ${file})
     file(REMOVE ${file})
  endif()
endforeach(file)