diff options
author | Brad King <brad.king@kitware.com> | 2021-12-03 13:54:23 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-12-03 13:54:34 (GMT) |
commit | 9ecb24b5a7c5c41ff16f4445223b0b0a3d6966be (patch) | |
tree | 4dea56aba60e22866867416eec2cb83d110b59be /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | cf32ffda05b780a2f13f7e79126b22ed59c63dc8 (diff) | |
parent | 13a7ae2194d44f955712d65fecf0b741049da00e (diff) | |
download | CMake-9ecb24b5a7c5c41ff16f4445223b0b0a3d6966be.zip CMake-9ecb24b5a7c5c41ff16f4445223b0b0a3d6966be.tar.gz CMake-9ecb24b5a7c5c41ff16f4445223b0b0a3d6966be.tar.bz2 |
Merge topic 'vs-csproj-scripts'
13a7ae2194 VS: Revert "Add missing label in C# project-build events"
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6781
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 4291a29..d35bd41 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -1514,10 +1514,7 @@ void cmVisualStudio10TargetGenerator::WriteCustomRule( cmCustomCommandGenerator ccg(command, c, lg, true); std::string comment = lg->ConstructComment(ccg); comment = cmVS10EscapeComment(comment); - cmLocalVisualStudioGenerator::IsManaged isManaged = (this->Managed) - ? cmLocalVisualStudioGenerator::managed - : cmLocalVisualStudioGenerator::unmanaged; - std::string script = lg->ConstructScript(ccg, isManaged); + std::string script = lg->ConstructScript(ccg); bool symbolic = false; // input files for custom command std::stringstream additional_inputs; @@ -4268,10 +4265,7 @@ void cmVisualStudio10TargetGenerator::WriteEvent( comment += lg->ConstructComment(ccg); script += pre; pre = "\n"; - cmLocalVisualStudioGenerator::IsManaged isManaged = (this->Managed) - ? cmLocalVisualStudioGenerator::managed - : cmLocalVisualStudioGenerator::unmanaged; - script += lg->ConstructScript(ccg, isManaged); + script += lg->ConstructScript(ccg); stdPipesUTF8 = stdPipesUTF8 || cc.GetStdPipesUTF8(); } |