| 4942 | } |
| 4943 | |
| 4944 | void cmVisualStudio10TargetGenerator::WriteItemDefinitionGroups(Elem& e0) |
| 4945 | { |
| 4946 | if (this->ProjectType == VsProjectType::csproj) { |
| 4947 | return; |
| 4948 | } |
| 4949 | for (std::string const& c : this->Configurations) { |
| 4950 | Elem e1(e0, "ItemDefinitionGroup"); |
| 4951 | e1.Attribute("Condition", this->CalcCondition(c)); |
| 4952 | |
| 4953 | // output cl compile flags <ClCompile></ClCompile> |
| 4954 | if (this->GeneratorTarget->GetType() <= cmStateEnums::OBJECT_LIBRARY) { |
| 4955 | this->WriteClOptions(e1, c); |
| 4956 | // output rc compile flags <ResourceCompile></ResourceCompile> |
| 4957 | this->WriteRCOptions(e1, c); |
| 4958 | this->WriteCudaOptions(e1, c); |
| 4959 | this->WriteMarmasmOptions(e1, c); |
| 4960 | this->WriteMasmOptions(e1, c); |
| 4961 | this->WriteNasmOptions(e1, c); |
| 4962 | } |
| 4963 | |
| 4964 | if (this->WindowsKernelMode) { |
| 4965 | Elem(e1, "DriverSign").Element("FileDigestAlgorithm", "sha256"); |
| 4966 | } |
| 4967 | // output midl flags <Midl></Midl> |
| 4968 | this->WriteMidlOptions(e1, c); |
| 4969 | // write events |
| 4970 | if (this->ProjectType != VsProjectType::csproj) { |
| 4971 | this->WriteEvents(e1, c); |
| 4972 | } |
| 4973 | // output link flags <Link></Link> |
| 4974 | this->WriteLinkOptions(e1, c); |
| 4975 | this->WriteCudaLinkOptions(e1, c); |
| 4976 | // output lib flags <Lib></Lib> |
| 4977 | this->WriteLibOptions(e1, c); |
| 4978 | // output manifest flags <Manifest></Manifest> |
| 4979 | this->WriteManifestOptions(e1, c); |
| 4980 | if (this->NsightTegra && |
| 4981 | this->GeneratorTarget->Target->IsAndroidGuiExecutable()) { |
| 4982 | this->WriteAntBuildOptions(e1, c); |
| 4983 | } |
| 4984 | } |
| 4985 | } |
| 4986 | |
| 4987 | void cmVisualStudio10TargetGenerator::WriteEvents( |
| 4988 | Elem& e1, std::string const& configName) |
no test coverage detected