mirror of https://github.com/CGAL/cgal
filter out Test and Testsuite directory in release mode
This commit is contained in:
parent
0cb112d941
commit
decdb9dd95
|
|
@ -30,6 +30,10 @@ function(process_package pkg)
|
|||
set(afile ${pkg_dir}/${f})
|
||||
get_filename_component(afile_dir_tmp ${afile} PATH)
|
||||
string(REPLACE "${pkg_dir}" "" afile_dir ${afile_dir_tmp})
|
||||
# skip test files not shipped with a release
|
||||
if (NOT TESTSUITE AND ("${afile_dir}" STREQUAL "/include/CGAL/Test" OR "${afile_dir}" STREQUAL "/include/CGAL/Testsuite") )
|
||||
continue()
|
||||
endif()
|
||||
if(NOT IS_DIRECTORY ${release_dir}/${afile_dir})
|
||||
file(MAKE_DIRECTORY ${release_dir}/${afile_dir})
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue