Skip to content

Commit

Permalink
Updated Older Projects
Browse files Browse the repository at this point in the history
Updated and recompiled older projects until 2022.
2021 is no longer supported (3DsMax) which also means python37 is no longer supported.
  • Loading branch information
munkybutt committed Dec 21, 2024
1 parent 43c0198 commit 496b6c1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
1 change: 1 addition & 0 deletions src/cpp/.sln.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ foreach ($version in $installedVersions) {
$pythonRootPath = (Get-Item $pythonPath).Directory.FullName
$majorMinor = $version -replace '(\d+\.\d+).*', '$1' -replace '\.', ''
Set-Item "Env:PYTHON_$majorMinor" $pythonRootPath
Write-Host $majorMinor
$pybindPath = Resolve-Path -Path "$devFolder\venvs\py$majorMinor\.venv\Lib\site-packages\pybind11" -ErrorAction SilentlyContinue
if ($pybindPath) {
Write-Host "Setting PyBind11 path: $pybindPath"
Expand Down
6 changes: 5 additions & 1 deletion src/cpp/skin_plus_plus_py/skin_plus_plus_py.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='2022-Release|x64'">
<LinkIncremental>false</LinkIncremental>
<TargetExt>.pyd</TargetExt>
<OutDir>$(SolutionDir)..\..\PYProjects\skin_plus_plus\py\37</OutDir>
<OutDir>$(SolutionDir)..\skin_plus_plus\py\37\</OutDir>
<IncludePath>$(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(WindowsSDK_IncludePath);$(VC_IncludePath);$(ProjectDir)headers;$(PYTHON_37)\include;$(PYBIND11_37)\include;$(IncludePath)</IncludePath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='2023-Debug|x64'">
Expand Down Expand Up @@ -176,6 +176,8 @@
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down Expand Up @@ -212,6 +214,8 @@
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<LanguageStandard>stdcpp20</LanguageStandard>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down
5 changes: 3 additions & 2 deletions src/cpp/skin_plus_plus_pymaya/skin_plus_plus_pymaya.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@
<TargetExt>.pyd</TargetExt>
<IncludePath>$(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(ProjectDir);$(ProjectDir)..\skin_plus_plus_py\headers;$(ADSK_MAYA_SDK_2022)\include;$(PYBIND11_37)\include;$(PYTHON_37)\include;$(IncludePath)</IncludePath>
<LibraryPath>$(ADSK_MAYA_SDK_2022)\lib;$(PYTHON_37)\libs;$(LibraryPath)</LibraryPath>
<OutDir>$(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_2021</OutDir>
<OutDir>$(SolutionDir)..\skin_plus_plus\dccs\maya\2022\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='2022-Debug|x64'">
<LinkIncremental>true</LinkIncremental>
Expand All @@ -134,7 +134,7 @@
<TargetExt>.pyd</TargetExt>
<IncludePath>$(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(ProjectDir);$(ProjectDir)..\skin_plus_plus_py\headers;$(ADSK_MAYA_SDK_2023)\include;$(PYTHON_39)\include;$(PYBIND11_39)\include;$(IncludePath)</IncludePath>
<LibraryPath>$(ADSK_MAYA_SDK_2023)\lib;$(PYTHON_39)\libs;$(LibraryPath)</LibraryPath>
<OutDir>$(SolutionDir)..\skin_plus_plus\dccs\maya\$(ProjectName)_2023\</OutDir>
<OutDir>$(SolutionDir)..\skin_plus_plus\dccs\maya\2023\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">
<LinkIncremental>false</LinkIncremental>
Expand Down Expand Up @@ -215,6 +215,7 @@
<ConformanceMode>true</ConformanceMode>
<LanguageStandard>stdcpp20</LanguageStandard>
<LanguageStandard_C>stdc17</LanguageStandard_C>
<AdditionalOptions>/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down
14 changes: 11 additions & 3 deletions src/cpp/skin_plus_plus_pymxs/skin_plus_plus_pymxs.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@
<TargetExt>.pyd</TargetExt>
<IncludePath>$(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(ProjectDir)..\skin_plus_plus_py\headers;$(ProjectDir)headers;$(ADSK_3DSMAX_SDK_2022)\include;$(ADSK_3DSMAX_SDK_2022)\include\geom;$(PYTHON_37)\include;$(PYBIND11_37)\include;$(IncludePath)</IncludePath>
<LibraryPath>$(PYTHON_37)\libs;$(ADSK_3DSMAX_SDK_2022)\lib\x64\Release;$(LibraryPath)</LibraryPath>
<OutDir>$(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\max\$(ProjectName)_2022</OutDir>
<OutDir>$(SolutionDir)..\skin_plus_plus\dccs\max\2022\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='2023-Release|x64'">
<LinkIncremental>false</LinkIncremental>
<TargetExt>.pyd</TargetExt>
<IncludePath>$(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(ProjectDir)\headers;$(ProjectDir)..\skin_plus_plus_py\headers;$(ADSK_3DSMAX_SDK_2023)\include;$(ADSK_3DSMAX_SDK_2023)\include\geom;$(PYTHON_39)\include;$(PYBIND11_39)\include;$(IncludePath)</IncludePath>
<LibraryPath>$(PYTHON_39)\libs;$(ADSK_3DSMAX_SDK_2023)\lib\x64\Release;$(LibraryPath)</LibraryPath>
<OutDir>$(SolutionDir)..\skin_plus_plus\dccs\max\$(ProjectName)_2023</OutDir>
<OutDir>$(SolutionDir)..\skin_plus_plus\dccs\max\2023\</OutDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">
<LinkIncremental>false</LinkIncremental>
Expand Down Expand Up @@ -296,11 +296,19 @@
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">stdcpp17</LanguageStandard>
<FavorSizeOrSpeed Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">Speed</FavorSizeOrSpeed>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">/utf-8 %(AdditionalOptions)</AdditionalOptions>
<Optimization Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">Disabled</Optimization>
<Optimization Condition="'$(Configuration)|$(Platform)'=='2024-Release|x64'">MaxSpeed</Optimization>
</ClCompile>
<ClCompile>
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='2023-Release|x64'">stdcpp17</LanguageStandard>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='2023-Release|x64'">/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ClCompile>
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='2022-Release|x64'">stdcpp20</LanguageStandard>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='2022-Release|x64'">/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<ClCompile>
<LanguageStandard Condition="'$(Configuration)|$(Platform)'=='2021-Release|x64'">stdcpp20</LanguageStandard>
<AdditionalOptions Condition="'$(Configuration)|$(Platform)'=='2021-Release|x64'">/utf-8 %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
</ItemDefinitionGroup>
</Project>
Empty file.
Empty file.

0 comments on commit 496b6c1

Please sign in to comment.