Tests: Verify generate_apple_platform_selection_file file paths

This commit is contained in:
Brad King 2023-12-18 15:39:21 -05:00
parent bee73bce08
commit ff21f0f70f
10 changed files with 12 additions and 0 deletions

View File

@ -17,6 +17,9 @@ function(apple_export platform system_name archs sysroot)
set(RunCMake_TEST_NO_CLEAN 1)
run_cmake_command(apple-export-${platform}-build ${CMAKE_COMMAND} --build . --config Release)
run_cmake_command(apple-export-${platform}-install ${CMAKE_COMMAND} --install . --config Release)
file(APPEND "${apple_install}/lib/${platform}/cmake/mylib/mylib-targets.cmake" "\n"
"message(STATUS \"loaded: '\${CMAKE_CURRENT_LIST_FILE}'\")\n"
)
endfunction()
function(apple_import platform system_name archs sysroot)

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/ios-simulator/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/ios/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/macos/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/tvos-simulator/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/tvos/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/visionos-simulator/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/visionos/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/watchos-simulator/cmake/mylib/mylib-targets.cmake'

View File

@ -0,0 +1 @@
loaded: '[^']*/Tests/RunCMake/CMakePackage/apple-install/lib/watchos/cmake/mylib/mylib-targets.cmake'