summaryrefslogtreecommitdiff
path: root/Tests/VSGNUFortran
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Bump CMake minimum required in tests to 3.5Brad King2023-03-011-1/+1
| | | | | | | | | | | | | | | | | | | CMake 3.27 deprecates compatibility with CMake < 3.5. Update tests that do not cover older interfaces to avoid the deprecation warning. Follow the pattern from: * commit 7b07ccdd2b (Tests/*Only: Update cmake_minimum_required versions, 2020-06-15, v3.19.0-rc1~629^2~1) * commit 72e7c45e98 (Tests: Bump CMake minimum required in tests to 2.8.12, 2020-12-22, v3.20.0-rc1~224^2) * commit f6b4db365a (Tests: bump cmake_minimum_required version to 2.8.12, 2021-04-04, v3.21.0-rc1~372^2) Also remove explicit `cmake_policy` settings made redundant by the version.
* Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS`Alex Turbov2022-09-221-1/+1
|
* Tests: Update for the Fujitsu compilerChuck Atkins2021-03-311-0/+5
|
* Tests: Bump CMake minimum required in tests to 2.8.12Chuck Atkins2020-12-231-2/+2
| | | | | | | 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.
* GENERATOR_IS_MULTI_CONFIG: Use for multi-config checks in TestsCraig Scott2017-12-301-2/+3
|
* Tests: Fix CMake syntax warning in VSGNUFortran testBrad King2017-09-151-1/+1
|
* Revise C++ coding style using clang-formatKitware Robot2016-05-161-2/+2
| | | | | | | | | | | | | Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
* Tests: Simplify VSGNUFortran Oracle-specific link linesBrad King2015-10-011-3/+3
| | | | | | | On an Oracle 12.4 build the c_using_fortran executable cannot find the "fsu" library at runtime. Since this is an implementation detail of the "hello" library, link that library to it privately so that "-lfsu" does not propagate to the executables consuming it.
* Tests/VSGNUFortran: Avoid C++ comment in C code (#13314)Daniel R. Gomez2012-06-181-1/+1
|
* CMakeAddFortranSubdirectory: Add NO_EXTERNAL_INSTALL optionBrad King2012-02-091-1/+2
| | | | | | | | We do not yet support "make install" in the external project case. Document this explicitly in the interface. Require the caller to use an option to "disable" the unsupported behavior. This will allow us to add the behavior by default in the future without clobbering existing projects that handle the installation themselves.
* CMakeAddFortranSubdirectory: Make IMPORTED targets GLOBALBill Hoffman2012-02-095-17/+17
| | | | | | | cmake_add_fortran_directory uses imported targets when using the mingw fortran compiler. This change makes those targets global in scope so they act just like the real targets that exist when a fortran compiler exists and regular add_subdirectory is used.
* VSGNUFortran: Add special case for SunPro Fortran runtime libraryBill Hoffman2012-02-091-1/+35
| | | | | | The SunPro compiler does not add the fortran runtime library when creating a shared fortran library. Link to the SunPro Fortran runtime libraries explicitly.
* CMakeAddFortranSubdirectory: Allow full paths to directoriesBrad King2012-02-091-10/+12
| | | | | | | Fix the implementation to allow full paths with spaces. Change the interpretation of relative paths to be with respect to the current binary directory. This matches the convention used in ExternalProject. Test both full and relative paths in the VSGNUFortran test.
* Add CMakeAddFortranSubdirectory to use MinGW gfortran in VSBill Hoffman2012-02-097-0/+96
This patch adds a new module that allows for easy integration of MinGW gfortran and the Visual Studio compiler. It is done in a function called cmake_add_fortran_subdirectory. The patch also includes a test for this feature.