parent
2f24c7e23c
commit
0fcbd26aaf
@ -1,5 +1,8 @@
|
|||||||
# Automatically generated by CMake's FetchContent module.
|
# Automatically generated by CMake's FetchContent module.
|
||||||
# Do not edit this file, it will be regenerated every time CMake runs.
|
# Do not edit this file, it will be regenerated every time CMake runs.
|
||||||
|
|
||||||
# Version not available, assuming it is compatible
|
# Version not available, assuming it is compatible. We must also say it is an
|
||||||
|
# exact match to ensure find_package() calls with the EXACT keyword still get
|
||||||
|
# redirected.
|
||||||
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
1
|
@ -0,0 +1 @@
|
|||||||
|
^CMake Error: Invalid value for '--test-output-truncation': bad$
|
@ -0,0 +1 @@
|
|||||||
|
include(${RunCMake_SOURCE_DIR}/TestOutputTruncation-check.cmake)
|
@ -0,0 +1 @@
|
|||||||
|
include(${RunCMake_SOURCE_DIR}/TestOutputTruncation-check.cmake)
|
@ -0,0 +1 @@
|
|||||||
|
^Cannot find file: .*/Tests/RunCMake/CTestCommandLine/TestOutputTruncation.*/DartConfiguration.tcl
|
@ -0,0 +1 @@
|
|||||||
|
include(${RunCMake_SOURCE_DIR}/TestOutputTruncation-check.cmake)
|
@ -0,0 +1 @@
|
|||||||
|
^Cannot find file: .*/Tests/RunCMake/CTestCommandLine/TestOutputTruncation.*/DartConfiguration.tcl
|
@ -0,0 +1,13 @@
|
|||||||
|
cmake_policy(SET CMP0011 NEW)
|
||||||
|
|
||||||
|
set(vcFiltersFile "${RunCMake_TEST_BINARY_DIR}/SourceGroupFileSet.vcxproj.filters")
|
||||||
|
if(NOT EXISTS "${vcFiltersFile}")
|
||||||
|
set(RunCMake_TEST_FAILED "Filters file ${vcFiltersFile} does not exist.")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
file(STRINGS "${vcFiltersFile}" lines)
|
||||||
|
|
||||||
|
include(${RunCMake_TEST_SOURCE_DIR}/SourceGroupHelpers.cmake)
|
||||||
|
|
||||||
|
find_source_group("${lines}" "Header Files\\SourceGroupFileSet")
|
@ -0,0 +1,3 @@
|
|||||||
|
add_library(SourceGroupFileSet INTERFACE)
|
||||||
|
target_sources(SourceGroupFileSet PUBLIC FILE_SET HEADERS FILES iface.h)
|
||||||
|
source_group("Header Files/SourceGroupFileSet" FILES iface.h)
|
@ -0,0 +1,14 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.23)
|
||||||
|
|
||||||
|
project(BundleLinkBundle CXX)
|
||||||
|
|
||||||
|
add_subdirectory(lib_bundle)
|
||||||
|
|
||||||
|
add_executable(MainBundle MACOSX_BUNDLE main_bundle.cpp)
|
||||||
|
|
||||||
|
target_link_libraries(MainBundle PRIVATE LibBundle)
|
||||||
|
|
||||||
|
set_target_properties(MainBundle PROPERTIES
|
||||||
|
MACOSX_BUNDLE "YES"
|
||||||
|
XCODE_LINK_BUILD_PHASE_MODE BUILT_ONLY
|
||||||
|
)
|
@ -0,0 +1,5 @@
|
|||||||
|
|
||||||
|
add_library(LibBundle lib_bundle.cpp)
|
||||||
|
|
||||||
|
set_target_properties(LibBundle PROPERTIES
|
||||||
|
MACOSX_BUNDLE YES)
|
@ -0,0 +1,6 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
void foo()
|
||||||
|
{
|
||||||
|
std::cout << "foobar" << std::endl;
|
||||||
|
}
|
@ -0,0 +1,9 @@
|
|||||||
|
|
||||||
|
extern void foo();
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
|
||||||
|
foo();
|
||||||
|
return 0;
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
file(GLOB test_xml_file "${RunCMake_TEST_BINARY_DIR}/Testing/*/Test.xml")
|
||||||
|
if(test_xml_file)
|
||||||
|
set(RunCMake_TEST_FAILED "Test.xml should not exist:\n ${test_xml_file}")
|
||||||
|
endif()
|
@ -0,0 +1 @@
|
|||||||
|
[^0]
|
@ -0,0 +1 @@
|
|||||||
|
^Invalid value for CTEST_CUSTOM_TEST_OUTPUT_TRUNCATION: bad$
|
@ -0,0 +1 @@
|
|||||||
|
include(${RunCMake_SOURCE_DIR}/TestOutputTruncation-check.cmake)
|
@ -0,0 +1 @@
|
|||||||
|
include(${RunCMake_SOURCE_DIR}/TestOutputTruncation-check.cmake)
|
@ -0,0 +1 @@
|
|||||||
|
include(${RunCMake_SOURCE_DIR}/TestOutputTruncation-check.cmake)
|
@ -0,0 +1,43 @@
|
|||||||
|
find_library called with the following settings:.*
|
||||||
|
VAR: CREATED_LIBRARY
|
||||||
|
NAMES: \"created\"
|
||||||
|
Documentation.*
|
||||||
|
Framework.*
|
||||||
|
AppBundle.*
|
||||||
|
CMAKE_FIND_USE_CMAKE_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
|
||||||
|
CMAKE_FIND_USE_INSTALL_PREFIX: 0
|
||||||
|
|
||||||
|
find_library considered the following locations:.*
|
||||||
|
The item was not found.*
|
||||||
|
find_library called with the following settings:.*
|
||||||
|
VAR: CREATED_LIBRARY
|
||||||
|
NAMES: \"created\"
|
||||||
|
Documentation.*
|
||||||
|
Framework.*
|
||||||
|
AppBundle.*
|
||||||
|
CMAKE_FIND_USE_CMAKE_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
|
||||||
|
CMAKE_FIND_USE_INSTALL_PREFIX: 1
|
||||||
|
|
||||||
|
find_library considered the following locations:.*
|
||||||
|
The item was found at.*
|
||||||
|
.*IgnoreStagingAndInstallPrefix-build/lib.*
|
||||||
|
find_library called with the following settings:.*
|
||||||
|
VAR: CREATED_LIBRARY
|
||||||
|
NAMES: \"created\"
|
||||||
|
Documentation.*
|
||||||
|
Framework.*
|
||||||
|
AppBundle.*
|
||||||
|
CMAKE_FIND_USE_CMAKE_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
|
||||||
|
CMAKE_FIND_USE_INSTALL_PREFIX: 0
|
||||||
|
|
||||||
|
find_library considered the following locations:.*
|
||||||
|
The item was not found.*
|
@ -0,0 +1,3 @@
|
|||||||
|
-- CREATED_LIBRARY='CREATED_LIBRARY-NOTFOUND'
|
||||||
|
-- CREATED_LIBRARY='[^']*/Tests/RunCMake/find_library/IgnoreStagingAndInstallPrefix-build/lib/libcreated.a'
|
||||||
|
-- CREATED_LIBRARY='CREATED_LIBRARY-NOTFOUND'
|
@ -0,0 +1 @@
|
|||||||
|
include(IgnoreInstallPrefix.cmake)
|
@ -0,0 +1,43 @@
|
|||||||
|
find_library called with the following settings:.*
|
||||||
|
VAR: CREATED_LIBRARY
|
||||||
|
NAMES: \"created\"
|
||||||
|
Documentation.*
|
||||||
|
Framework.*
|
||||||
|
AppBundle.*
|
||||||
|
CMAKE_FIND_USE_CMAKE_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
|
||||||
|
CMAKE_FIND_USE_INSTALL_PREFIX: 0
|
||||||
|
|
||||||
|
find_library considered the following locations:.*
|
||||||
|
The item was not found.*
|
||||||
|
find_library called with the following settings:.*
|
||||||
|
VAR: CREATED_LIBRARY
|
||||||
|
NAMES: \"created\"
|
||||||
|
Documentation.*
|
||||||
|
Framework.*
|
||||||
|
AppBundle.*
|
||||||
|
CMAKE_FIND_USE_CMAKE_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
|
||||||
|
CMAKE_FIND_USE_INSTALL_PREFIX: 1
|
||||||
|
|
||||||
|
find_library considered the following locations:.*
|
||||||
|
The item was found at.*
|
||||||
|
.*IgnoreStagingPrefix-build/lib.*
|
||||||
|
find_library called with the following settings:.*
|
||||||
|
VAR: CREATED_LIBRARY
|
||||||
|
NAMES: \"created\"
|
||||||
|
Documentation.*
|
||||||
|
Framework.*
|
||||||
|
AppBundle.*
|
||||||
|
CMAKE_FIND_USE_CMAKE_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH: 1
|
||||||
|
CMAKE_FIND_USE_CMAKE_SYSTEM_PATH: 1
|
||||||
|
CMAKE_FIND_USE_INSTALL_PREFIX: 0
|
||||||
|
|
||||||
|
find_library considered the following locations:.*
|
||||||
|
The item was not found.*
|
@ -0,0 +1,3 @@
|
|||||||
|
-- CREATED_LIBRARY='CREATED_LIBRARY-NOTFOUND'
|
||||||
|
-- CREATED_LIBRARY='[^']*/Tests/RunCMake/find_library/IgnoreStagingPrefix-build/lib/libcreated.a'
|
||||||
|
-- CREATED_LIBRARY='CREATED_LIBRARY-NOTFOUND'
|
@ -0,0 +1 @@
|
|||||||
|
include(IgnoreInstallPrefix.cmake)
|
Loading…
Reference in new issue