summaryrefslogtreecommitdiffstats
path: root/Tests/BundleUtilities/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Suppress failures on macOS arm64 due to separate Xcode signing phaseBrad King2021-02-221-0/+9
| | | | | | | | | | | | | | | | Some tests fail because Xcode runs `POST_BUILD` commands before signing the binaries they run. Tell the linker to perform ad-hoc codesign even though Xcode normally tells it not to. Other tests fail because `install_name_tool` does not revise ad-hoc signatures without the codesign `linker-signed` flag. Add that flag ourselves where needed by our tests. For now these changes help our test suite pass so we can use it to cover everything else. Both of these cases may need further investigation to update CMake to help projects in general. Issue: #21845, #21854
* Tests: Bump CMake minimum required in tests to 2.8.12Chuck Atkins2020-12-231-1/+1
| | | | | | | Since 3.19, CMake generates a deprecation warning when using a minimum version less than 2.8.12. This eliminates those warnings generated during tests, which are typically hidden from the user and developer but are being generated nonetheless.
* OSX: Warn when attempting to change runtime paths on OS X 10.5Clinton Stimpson2014-10-101-1/+2
| | | | | | | | | | Even though 10.5 supports @rpath, the support is not complete enough for CMake. For instance, install_name_tool doesn't support adding and removing rpaths. Also modifying BundleUtilities test to remove an undesirable cmake generated runtime path. The intent was to build with the install rpath as is done with the other cases in this test.
* Tests: Don't read the LOCATION property from build targets.Stephen Kelly2013-11-191-12/+6
|
* Refactor how bundles and frameworks are supported.Clinton Stimpson2013-05-231-2/+1
| | | | | | | | | | | | | | | | Make handling of directory separators consistent between non-bundle and bundle code. Remove xcode specific flag from cmTarget when getting install_name. Add (more) consistent convenience functions in cmTarget to get directories inside of bundles and frameworks to add files to. This refactor also fixes bug #12263 where frameworks had the wrong install name when SKIP_BUILD_RPATH. Also make install_name for frameworks consistent between Makefile and Xcode generator.
* Fix BundleUtilities test failure with space in build path.Clinton Stimpson2012-01-211-2/+2
|
* Fix new BundleUtilities test failure on Mac 10.4.xClinton Stimpson2012-01-201-1/+1
|
* GetPrerequisites: Add test for @rpath support.Clinton Stimpson2012-01-201-0/+49
|
* BundleUtilities: Add rpath to loadable modules in test.Clinton Stimpson2011-06-021-21/+33
|
* BundleUtilities: Fix issues with custom target DEPENDS in test (#12034)Clinton Stimpson2011-05-311-0/+2
|
* BundleUtilities: Work w/ non .app exes on Mac (#12034)Clinton Stimpson2011-05-271-0/+70
Also add a test of BundleUtilities including an exe, some shared libs, a plugin, and a framework-style lib. This test presently runs (and this functionality works) on Linux, Mac and Windows. For now, the framework-style lib is built as a plain old shared lib because there is another yet-unresolved issue with local frameworks without rpaths on the Mac.