mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
Tests: Add test for install(FILES) with PERMISSIONS
This commit is contained in:
1 parent
b5df4faa20
commit
25c3fb6c35
3 files changed
+7
No files matched your search
@@ -0,0 +1 @@
|
||||
check_installed([[^src;src/empty.c]])
|
||||
@@ -0,0 +1,5 @@
|
||||
install(
|
||||
FILES empty.c
|
||||
DESTINATION src
|
||||
PERMISSIONS OWNER_READ OWNER_WRITE
|
||||
)
|
||||
@@ -87,6 +87,7 @@ run_install_test(SCRIPT)
|
||||
run_install_test(TARGETS-CONFIGURATIONS)
|
||||
run_install_test(DIRECTORY-PATTERN)
|
||||
run_install_test(TARGETS-Parts)
|
||||
run_install_test(FILES-PERMISSIONS)
|
||||
|
||||
set(run_install_test_components 1)
|
||||
run_install_test(FILES-EXCLUDE_FROM_ALL)
|
||||
|
||||
Reference in new issue
Block a user