MCPcopy Create free account
hub / github.com/Kitware/CMake / IsFortranBuildingIntrinsicModules

Method IsFortranBuildingIntrinsicModules

Source/cmGeneratorTarget.cxx:4317–4329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4315}
4316
4317bool cmGeneratorTarget::IsFortranBuildingIntrinsicModules() const
4318{
4319 // ATTENTION Before 4.0 the property name was misspelled.
4320 // Check the correct name first and than the old name.
4321 if (cmValue prop = this->GetProperty("Fortran_BUILDING_INTRINSIC_MODULES")) {
4322 return prop.IsOn();
4323 }
4324 if (cmValue prop =
4325 this->GetProperty("Fortran_BUILDING_INSTRINSIC_MODULES")) {
4326 return prop.IsOn();
4327 }
4328 return false;
4329}
4330
4331std::string cmGeneratorTarget::CreateFortranModuleDirectory(
4332 std::string const& working_dir) const

Callers 1

Calls 2

GetPropertyMethod · 0.95
IsOnMethod · 0.45

Tested by

no test coverage detected