aboutsummaryrefslogtreecommitdiff
path: root/test cases/linuxlike/3 linker script
AgeCommit message (Collapse)AuthorFilesLines
2020-06-22test: Fix linuxlike/3 linker script on Solaris 11.4Alan Coopersmith1-0/+6
Solaris linker added support for GNU-style --version-script in Solaris 11.4, but requires adding the -z gnu-version-script-compat flag to enable it. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2019-11-18Use strict function prototypesMichael Hirsch, Ph.D3-4/+4
2019-11-17use '-Werror=unused-parameter' for gcc/clang on project tests and ↵Michael Hirsch, Ph.D1-1/+1
-fimplicit-none on fortran Fortran: check for undeclared variables by forcing implicit none everywhere C/C++: check for unused parameters and return types removed unused variables from test cases ci: do missing return and unused arg check with Github Actions
2017-05-08Allow link_depends to take strings, Files or generated objects. Closes #1172Dylan Baker5-0/+71
Currently only strings can be passed to the link_depends argument of executable and *library, which solves many cases, but not every one. This patch allows generated sources and Files to be passed as well. On the implementation side, it uses a helper method to keep the more complex logic separated from the __init__ method. This also requires that Targets set their link_depends paths as Files, and the backend is responsible for converting to strings when it wants them. This adds tests for the following cases: - Using a file in a subdir - Using a configure_file as an input - Using a custom_target as an input It does not support using a generator as an input, since currently that would require calling the generator twice, once for the -Wl argument, and once for the link_depends. Also updates the docs.
2014-06-22The mass flags -> args renaming for consistency.Jussi Pakkanen1-1/+1
2014-03-07Added a link_depends keyword for build targets.Jussi Pakkanen1-2/+3
2014-03-07Can get source dir location and use it to build stuff.Jussi Pakkanen1-1/+1
2014-03-07Can define custom linker flags.Jussi Pakkanen5-0/+33