summaryrefslogtreecommitdiffstats
path: root/Tests/LinkFlags/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Add additonal tests for the linker flagsPatrick Gansterer2013-07-311-0/+9
| | | | | Extend Tests/LinkFlags to test libraries of the type MODULE and the content of the CMAKE_*_LINKER_FLAGS_* variables.
* Intel-specific workaround for LinkFlags testsBrad King2010-06-031-2/+2
| | | | | | | | The Intel C compiler for Linux does not seem to reject any bad flags or object files on its link lines. Work around the problem by using a preprocessor #error directive to ensure that BADFLAG appears in the build output. This does not really achieve the purpose of the tests but it allows them to pass.
* Borland-specific bad flag for LinkFlags testsBrad King2010-06-021-6/+9
| | | | | | The Borland librarian actually creates a BADFLAG.obj when the object is missing the first time! This causes later tests to not reject it. Instead use a Borland-specific variation on the flag.
* Better "bad" flag in LinkFlags testBrad King2010-06-011-6/+7
| | | | | The Intel C Compiler for Linux ignores _BADFLAG_ when linking! Use a flag that looks like a missing object file to ensure its rejection.
* Test LINK_FLAGS and STATIC_LIBRARY_FLAGS (#10768)Brad King2010-05-281-0/+24
Add a LinkFlags test series to check that these properties work. Since no link flag is accepted everywhere we test for presence of flags by adding a bad flag and looking for the complaint in the test output.