From b81ad8e5cbeaa3423663ed268828776def3c008d Mon Sep 17 00:00:00 2001 From: JohnsterID <69278611+JohnsterID@users.noreply.github.com> Date: Sat, 16 Nov 2024 10:16:02 +1030 Subject: [PATCH] VSclang Add VS config to call python script --- CvGameCoreDLL_Expansion2/VoxPopuli.vcxproj | 30 ++++++++++++++++++++++ VoxPopuli_vs2013.sln | 6 +++++ 2 files changed, 36 insertions(+) diff --git a/CvGameCoreDLL_Expansion2/VoxPopuli.vcxproj b/CvGameCoreDLL_Expansion2/VoxPopuli.vcxproj index 189dbb95b2..0557e12b7e 100644 --- a/CvGameCoreDLL_Expansion2/VoxPopuli.vcxproj +++ b/CvGameCoreDLL_Expansion2/VoxPopuli.vcxproj @@ -9,6 +9,14 @@ Release Win32 + + Clang-Debug + Win32 + + + Clang-Release + Win32 + {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3} @@ -29,6 +37,18 @@ v90 false + + Utility + v90 + $(SolutionDir)clang-output\Debug\ + $(SolutionDir)clang-build\Debug\ + + + Utility + v90 + $(SolutionDir)clang-output\Release\ + $(SolutionDir)clang-build\Release\ + @@ -104,6 +124,16 @@ ..\update_commit_id.bat + + + cd "$(SolutionDir)" & python build_vp_clang.py --config debug & type clang-output\Debug\build.log + + + + + cd "$(SolutionDir)" & python build_vp_clang.py --config release & type clang-output\Release\build.log + + Use diff --git a/VoxPopuli_vs2013.sln b/VoxPopuli_vs2013.sln index 618b22590e..63109f2b47 100644 --- a/VoxPopuli_vs2013.sln +++ b/VoxPopuli_vs2013.sln @@ -9,12 +9,18 @@ Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Release|Win32 = Release|Win32 + Clang-Debug|Win32 = Clang-Debug|Win32 + Clang-Release|Win32 = Clang-Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Debug|Win32.ActiveCfg = Debug|Win32 {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Debug|Win32.Build.0 = Debug|Win32 {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Release|Win32.ActiveCfg = Release|Win32 {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Release|Win32.Build.0 = Release|Win32 + {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Clang-Debug|Win32.ActiveCfg = Clang-Debug|Win32 + {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Clang-Debug|Win32.Build.0 = Clang-Debug|Win32 + {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Clang-Release|Win32.ActiveCfg = Clang-Release|Win32 + {2D4B6CDC-0887-4EE1-97B9-0865CC82FAF3}.Clang-Release|Win32.Build.0 = Clang-Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE