mirror of https://github.com/CGAL/cgal
generate filelists.txt used by doxygen in release mode
This commit is contained in:
parent
bd4f61fa54
commit
e596ee63b4
|
|
@ -88,10 +88,18 @@ foreach(pkg ${files})
|
|||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
if (EXISTS "${release_dir}/doc/${pkg}")
|
||||
#generate filelist.txt used by doxygen ran on a release
|
||||
file(GLOB_RECURSE includes LIST_DIRECTORIES false RELATIVE "${CMAKE_BINARY_DIR}/${pkg}/include" "${CMAKE_BINARY_DIR}/${pkg}/include/CGAL/*.h")
|
||||
foreach(f ${includes})
|
||||
file(APPEND "${release_dir}/doc/${pkg}/filelist.txt" "${f}\n")
|
||||
endforeach()
|
||||
#remove fig_src directory
|
||||
if (IS_DIRECTORY "${release_dir}/doc/${pkg}/fig_src")
|
||||
file(REMOVE_RECURSE "${release_dir}/doc/${pkg}/fig_src")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
endforeach()
|
||||
|
||||
#create VERSION
|
||||
|
|
|
|||
Loading…
Reference in New Issue