summaryrefslogtreecommitdiffstats
path: root/Tests/FindXalanC
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-19 19:36:00 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-20 12:48:41 (GMT)
commit7b5f85677c8aa067a5fef1cc68f4d8c8600693fa (patch)
tree1f5d9a419980bb89df73afae0d44aba8c731b314 /Tests/FindXalanC
parent1777570fe5eb194d930f6716865bc909269da57e (diff)
downloadCMake-7b5f85677c8aa067a5fef1cc68f4d8c8600693fa.zip
CMake-7b5f85677c8aa067a5fef1cc68f4d8c8600693fa.tar.gz
CMake-7b5f85677c8aa067a5fef1cc68f4d8c8600693fa.tar.bz2
Fortran: Use module dir flag if needed for default module directory
Our buildsystem model says that the default Fortran module output directory is the build tree directory corresponding to the source tree `CMakeLists.txt` file adding the current target. Extend `cmGeneratorTarget::GetFortranModuleDirectory` to allow generators to pass in the compiler working directory. If the working directory does not match the default Fortran module output directory then we need an explicit module directory flag (e.g. `-J`) to tell the compiler to put/use modules in the latter. This does not affect the Makefile generator but will be useful for future introduction of Fortran support to the Ninja generator.
Diffstat (limited to 'Tests/FindXalanC')
0 files changed, 0 insertions, 0 deletions