diff options
author | Brad King <brad.king@kitware.com> | 2007-12-30 21:11:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-12-30 21:11:38 (GMT) |
commit | b2e8c07af8bca0122d4dfe62c8341dc58c0da2fa (patch) | |
tree | f6604b080cf5707dfb3998c276b72445b57659fe /Source/cmTarget.cxx | |
parent | cd8a2bbab69af0b36076a7acb0af85dedc4f0f1c (diff) | |
download | CMake-b2e8c07af8bca0122d4dfe62c8341dc58c0da2fa.zip CMake-b2e8c07af8bca0122d4dfe62c8341dc58c0da2fa.tar.gz CMake-b2e8c07af8bca0122d4dfe62c8341dc58c0da2fa.tar.bz2 |
ENH: Implemented Fortran module output directory and search path flags.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index daca41f..747f169 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -285,6 +285,15 @@ void cmTarget::DefineProperties(cmake *cm) "All Windows-based systems including Cygwin are DLL platforms."); cm->DefineProperty + ("Fortran_MODULE_DIRECTORY", cmProperty::TARGET, + "Specify output directory for Fortran modules provided by the target.", + "If the target contains Fortran source files that provide modules " + "and the compiler supports a module output directory this specifies " + "the directory in which the modules will be placed. " + "When this property is not set the modules will be placed in the " + "build directory corresponding to the target's source directory."); + + cm->DefineProperty ("XCODE_ATTRIBUTE_<an-attribute>", cmProperty::TARGET, "Set Xcode target attributes directly.", "Tell the Xcode generator to set '<an-attribute>' to a given value " @@ -403,6 +412,7 @@ void cmTarget::SetMakefile(cmMakefile* mf) this->SetPropertyDefault("ARCHIVE_OUTPUT_DIRECTORY", 0); this->SetPropertyDefault("LIBRARY_OUTPUT_DIRECTORY", 0); this->SetPropertyDefault("RUNTIME_OUTPUT_DIRECTORY", 0); + this->SetPropertyDefault("Fortran_MODULE_DIRECTORY", 0); // Collect the set of configuration types. std::vector<std::string> configNames; |