aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/linkerMode
Commit message (Collapse)AuthorAgeFilesLines
* Prefer built-in JS function in autotestsChristian Kandeler2023-02-161-2/+2
| | | | | | | contains -> includes Change-Id: I330b1ee3319399d6c59ce5a4efaf14c642ad361e Reviewed-by: Ivan Komissarov <ABBAPOH@gmail.com>
* Remove the base module import from most test data projectsJoerg Bornemann2018-06-221-2/+0
| | | | | | | | Keep the base import in blackbox/testdata/deprecated-property to ensure we don't accidentally break it. Change-Id: I790da21a7490ec9c1b0335f45e8707e7e04daa7c Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Fix linkerMode autotestChristian Kandeler2017-03-092-4/+3
| | | | | | | | | | Assembly files should be linked with the C compiler rather than with the raw linker, as some compiler-specific object files need to get pulled in. In particular, we otherwise get linker failures on FreeBSD after we stop ignoring undefined symbols. Change-Id: I33990403e0b525f3b1a9c0dbb08b4cf8b6fee4fc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Give test project files consistent file namesJoerg Bornemann2017-02-231-0/+0
| | | | | | | | Having multiple project files named just "project.qbs" makes switching buffers harder in IDEs. Change-Id: I847c869292815cc534f903664eb01768f73286b1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Update license headersIikka Eklund2016-08-294-0/+112
| | | | | | | | | | Patch-set 2 includes *.cpp *.c Every source file needs to have up-to-date license headers in order to pass ci. Change-Id: Ie6e493097af6f7dd6a8adff170eb856f496e689e Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Fix linkerMode autotest properlyChristian Kandeler2016-07-282-1/+5
| | | | | Change-Id: I218b0fd7a22786d3f31347728f1478ab61244108 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
* Fix linkerMode autotestJake Petroules2016-07-282-3/+1
| | | | | Change-Id: I41feeeaa4b67f635e5b0d20e84d5424aa384dbf3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Introduce cpp.linkerModeJake Petroules2016-07-228-0/+134
This property allows qbs to automatically select an appropriate linker based on the objects being linked. The new behavior is to automatically use the C++ compiler driver for linking if any of the objects being linked were compiled from C++ or Objective-C++ sources, otherwise the C compiler driver if any of the objects being linked were compiled from C or Objective-C sources, otherwise the system linker. To retain the old behavior, cpp.linkerName can be set to cpp.cxxCompilerName, and cpp.linkerMode to "manual". Qbs will also avoid passing the -stdlib option or linking c++abi on Linux unless any of the objects being linked were compiled from C++ or Objective-C++ sources. As a result the default behavior for building a pure C application or pure ASM application with Qbs is to NOT link to the C++ standard library or any other supporting C++ libraries. [ChangeLog] Introduced cpp.linkerMode property to allow selection of the correct linker (C driver, C++ driver, or system linker) based on the objects being linked Change-Id: Ic16e31a3072c9e296c348783a21717902c15bff6 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>