| 2036 | } |
| 2037 | |
| 2038 | cmTarget* cmMakefile::AddExecutable(std::string const& exeName, |
| 2039 | std::vector<std::string> const& srcs, |
| 2040 | bool excludeFromAll) |
| 2041 | { |
| 2042 | cmTarget* target = this->AddNewTarget(cmStateEnums::EXECUTABLE, exeName); |
| 2043 | if (excludeFromAll) { |
| 2044 | target->SetProperty("EXCLUDE_FROM_ALL", "TRUE"); |
| 2045 | } |
| 2046 | target->AddSources(srcs); |
| 2047 | this->AddGlobalLinkInformation(*target); |
| 2048 | return target; |
| 2049 | } |
| 2050 | |
| 2051 | cmTarget* cmMakefile::AddNewTarget(cmStateEnums::TargetType type, |
| 2052 | std::string const& name) |
no test coverage detected