summaryrefslogtreecommitdiffstats
path: root/Tests/FindPackageModeMakefileTest/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Generalize FindPackageModeMakefileTest extra flags varBrad King2021-03-031-3/+3
|
* Apple: also specify sysroot for linkingGregor Jasny2020-07-171-1/+1
| | | | | Otherwise the compiler/linker will default to the wrong C++ runtime library.
* FindPackageModeMakefileTest: macOS needs isysroot flagCraig Scott2019-10-281-1/+2
| | | | | | | macOS/Xcode no longer populate /usr/include. Building with the compiler directly instead of using /usr/bin/c++ can result in missing headers without the -isysroot flag. Relates: #19885
* Tests: Use consistent C++ flags FindPackageModeMakefileTestBrad King2015-10-011-2/+3
| | | | | | | Rather than using the CXXFLAGS environment variable in the make-only build, copy the CMAKE_CXX_FLAGS used to build the files on the CMake side. This will account for any changes made by CompileFlags.cmake or cache-provided flags.
* Tests: Fix find-package mode test.Stephen Kelly2014-01-111-2/+2
| | | | | | | | The all target was depending on the clean and pngtest targets, but when running the tests with -jN, those can be executed out of order. Make the main.o target depend on the clean target instead to fix this.
* cmTarget: Deprecate the LOCATION target property with a policy.Stephen Kelly2013-10-111-1/+3
| | | | | | | | | | | | The final location and name of a build-target is not determined until generate-time. However, reading the LOCATION property from a target is currently allowed at configure time. Apart from creating possibly-erroneous results, this has an impact on the implementation of cmake itself, and prevents some major cleanups from being made. Disallow reading LOCATION from build-targets with a policy. Port some existing uses of it in CMake itself to use the TARGET_FILE generator expression.
* Fix FindPackageMode test Makefile (#13314)Daniel R. Gomez2012-06-191-3/+22
| | | | | | | | Use CXXFLAGS in the makefile's link rule since it invokes the C++ compiler front-end. Retool the makefile not to require GNU Make. Using backticks instead of $(shell ...) is safe so long as one guards against the possibility of backslashes getting inside the backticks, so use temporary files and shell variables to avoid them.
* Use $(CXXFLAGS) and $(LDFLAGS) in the --find-package test MakefileAlex Neundorf2011-08-181-2/+2
| | | | | | | This should make the test succeed in the coverage builds, where CXXFLAGS and LDFLAGS are set accordingly. Alex
* Make the --find-package test harderAlex Neundorf2011-08-171-2/+2
| | | | | | | Now it is guaranteed that the include paths always contain a space. This should make the cont. build fail. Alex
* Much improved test, should now be executed on all UNIXesAlex Neundorf2011-08-161-2/+2
| | | | | | | | Instead of relying on that some development package is installed on the system, now a tiny library is built, which is the searched and used during the test. Alex
* The makefile for the test was kindof wrongAlex Neundorf2011-08-141-1/+3
| | | | Alex
* Add a test for the new --find-package modeAlex Neundorf2011-08-111-0/+8
Alex