|
@@ -1430,6 +1430,7 @@ void cmVisualStudio10TargetGenerator::WriteCustomRule(
|
|
|
std::string comment = lg->ConstructComment(ccg);
|
|
std::string comment = lg->ConstructComment(ccg);
|
|
|
comment = cmVS10EscapeComment(comment);
|
|
comment = cmVS10EscapeComment(comment);
|
|
|
std::string script = lg->ConstructScript(ccg);
|
|
std::string script = lg->ConstructScript(ccg);
|
|
|
|
|
+ bool symbolic = false;
|
|
|
// input files for custom command
|
|
// input files for custom command
|
|
|
std::stringstream additional_inputs;
|
|
std::stringstream additional_inputs;
|
|
|
{
|
|
{
|
|
@@ -1456,6 +1457,12 @@ void cmVisualStudio10TargetGenerator::WriteCustomRule(
|
|
|
ConvertToWindowsSlash(dep);
|
|
ConvertToWindowsSlash(dep);
|
|
|
additional_inputs << sep << dep;
|
|
additional_inputs << sep << dep;
|
|
|
sep = ";";
|
|
sep = ";";
|
|
|
|
|
+ if (!symbolic) {
|
|
|
|
|
+ if (cmSourceFile* sf = this->Makefile->GetSource(
|
|
|
|
|
+ dep, cmSourceFileLocationKind::Known)) {
|
|
|
|
|
+ symbolic = sf->GetPropertyAsBool("SYMBOLIC");
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
if (this->ProjectType != csproj) {
|
|
if (this->ProjectType != csproj) {
|
|
@@ -1464,7 +1471,6 @@ void cmVisualStudio10TargetGenerator::WriteCustomRule(
|
|
|
}
|
|
}
|
|
|
// output files for custom command
|
|
// output files for custom command
|
|
|
std::stringstream outputs;
|
|
std::stringstream outputs;
|
|
|
- bool symbolic = false;
|
|
|
|
|
{
|
|
{
|
|
|
const char* sep = "";
|
|
const char* sep = "";
|
|
|
for (std::string const& o : ccg.GetOutputs()) {
|
|
for (std::string const& o : ccg.GetOutputs()) {
|