filter out Test and Testsuite directory in release mode
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user