diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..254e2f4 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.pyd binary \ No newline at end of file diff --git a/.gitignore b/.gitignore index 354c672..84890cb 100644 --- a/.gitignore +++ b/.gitignore @@ -446,5 +446,6 @@ PyProjects/venv37/ PyProjects/venv39/ PyProjects/.venvs/ temp.cpp +*.exp *.max *.mb diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2021/skin_plus_plus_pymxs.pyd b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2021/skin_plus_plus_pymxs.pyd new file mode 100644 index 0000000..e556c6e Binary files /dev/null and b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2021/skin_plus_plus_pymxs.pyd differ diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.exp b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.exp deleted file mode 100644 index 1c1f0fa..0000000 Binary files a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.exp and /dev/null differ diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.pyd b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.pyd index a81fc1a..f3feb5c 100644 Binary files a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.pyd and b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2022/skin_plus_plus_pymxs.pyd differ diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.exp b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.exp deleted file mode 100644 index 3a22b0f..0000000 Binary files a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.exp and /dev/null differ diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.pyd b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.pyd index 52de632..9f95887 100644 Binary files a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.pyd and b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_2023/skin_plus_plus_pymxs.pyd differ diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_debug_2023/skin_plus_plus_pymxs.exp b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_debug_2023/skin_plus_plus_pymxs.exp deleted file mode 100644 index 7fdbdf7..0000000 Binary files a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_debug_2023/skin_plus_plus_pymxs.exp and /dev/null differ diff --git a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_debug_2023/skin_plus_plus_pymxs.pyd b/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_debug_2023/skin_plus_plus_pymxs.pyd deleted file mode 100644 index 3b42fe1..0000000 Binary files a/PYProjects/skin_plus_plus/dccs/max/skin_plus_plus_pymxs_debug_2023/skin_plus_plus_pymxs.pyd and /dev/null differ diff --git a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2021/skin_plus_plus_pymaya.pyd b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2021/skin_plus_plus_pymaya.pyd new file mode 100644 index 0000000..f010535 Binary files /dev/null and b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2021/skin_plus_plus_pymaya.pyd differ diff --git a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2022/skin_plus_plus_pymaya.pyd b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2022/skin_plus_plus_pymaya.pyd new file mode 100644 index 0000000..b492e01 Binary files /dev/null and b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2022/skin_plus_plus_pymaya.pyd differ diff --git a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.exp b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.exp deleted file mode 100644 index 702c2f4..0000000 Binary files a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.exp and /dev/null differ diff --git a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.pyd b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.pyd index 6f25b0e..8f484a3 100644 Binary files a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.pyd and b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_2023/skin_plus_plus_pymaya.pyd differ diff --git a/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_debug_2023/skin_plus_plus_pymaya.pyd b/PYProjects/skin_plus_plus/dccs/maya/skin_plus_plus_pymaya_debug_2023/skin_plus_plus_pymaya.pyd deleted file mode 100644 index e69de29..0000000 diff --git a/PYProjects/skin_plus_plus/py/37/skin_plus_plus_py.pyd b/PYProjects/skin_plus_plus/py/37/skin_plus_plus_py.pyd index 5b362e3..9b1ce06 100644 Binary files a/PYProjects/skin_plus_plus/py/37/skin_plus_plus_py.pyd and b/PYProjects/skin_plus_plus/py/37/skin_plus_plus_py.pyd differ diff --git a/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.exp b/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.exp deleted file mode 100644 index 3f0d760..0000000 Binary files a/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.exp and /dev/null differ diff --git a/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.pyd b/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.pyd index cb2ef9a..d4cfd49 100644 Binary files a/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.pyd and b/PYProjects/skin_plus_plus/py/39/skin_plus_plus_py.pyd differ diff --git a/PYProjects/skin_plus_plus/py/debug_39/skin_plus_plus_py.exp b/PYProjects/skin_plus_plus/py/debug_39/skin_plus_plus_py.exp deleted file mode 100644 index 52d98a5..0000000 Binary files a/PYProjects/skin_plus_plus/py/debug_39/skin_plus_plus_py.exp and /dev/null differ diff --git a/PYProjects/skin_plus_plus/py/debug_39/skin_plus_plus_py.pyd b/PYProjects/skin_plus_plus/py/debug_39/skin_plus_plus_py.pyd deleted file mode 100644 index d246c96..0000000 Binary files a/PYProjects/skin_plus_plus/py/debug_39/skin_plus_plus_py.pyd and /dev/null differ diff --git a/PYProjects/skin_plus_plus_test/skin_plus_plus_test.py b/PYProjects/skin_plus_plus_test/skin_plus_plus_test.py index 8b1410b..159c3f1 100644 --- a/PYProjects/skin_plus_plus_test/skin_plus_plus_test.py +++ b/PYProjects/skin_plus_plus_test/skin_plus_plus_test.py @@ -672,7 +672,8 @@ def add_bones(): # status = om.MStatus() mobject = om.MObject() print(mobject) - fnInfluence = oman.MFnIkJoint(mobject); + fnInfluence = oman.MFnIkJoint(mobject) + if __name__ == "__main__": pass diff --git a/PYProjects/source/.sln.ps1 b/PYProjects/source/.sln.ps1 index 4a06c2c..de4ea78 100644 --- a/PYProjects/source/.sln.ps1 +++ b/PYProjects/source/.sln.ps1 @@ -1,14 +1,14 @@ # Set dependency variables here: $Env:THIRD_PARTY_EIGEN = (Resolve-Path -Path "..\3rdParty\eigen-3.4.0") -$Env:THIRD_PARTY_FMT = (Resolve-Path -Path "..\3rdParty\fmt-9.1.0") +$Env:THIRD_PARTY_FMT = (Resolve-Path -Path "..\3rdParty\fmt-10.1.1") $Env:ADSK_MAYA_SDK_2022 = "C:\Program Files\Autodesk\Maya2022\devkit\devkitBase" $Env:ADSK_MAYA_SDK_2023 = "C:\Program Files\Autodesk\Maya2023\devkit\devkitBase" -$Env:PYBIND11_37 = (Resolve-Path -Path "..\.venvs\37\.venv\Lib\site-packages\pybind11") -$Env:PYBIND11_39 = (Resolve-Path -Path "..\.venvs\39\.venv\Lib\site-packages\pybind11") +$Env:PYBIND11_37 = (Resolve-Path -Path "..\.venvs\py379\Lib\site-packages\pybind11") +$Env:PYBIND11_39 = (Resolve-Path -Path "..\.venvs\py397\Lib\site-packages\pybind11") -$Env:PYTHON_37 = (Resolve-Path -Path "..\..\..\..\python\libs\.pyenv\pyenv-win\versions\3.7.9") -$Env:PYTHON_39 = (Resolve-Path -Path "..\..\..\..\python\libs\.pyenv\pyenv-win\versions\3.9.13") +$Env:PYTHON_37 = (Resolve-Path -Path "C:\Users\Sheaky\.pyenv\pyenv-win\versions\3.7.9") +$Env:PYTHON_39 = (Resolve-Path -Path "C:\Users\Sheaky\.pyenv\pyenv-win\versions\3.9.7") .\skin_plus_plus.sln diff --git a/PYProjects/source/open_skin_plus_plus_sln.bat b/PYProjects/source/open_skin_plus_plus_sln.bat index 2cc7e42..95e7a20 100644 --- a/PYProjects/source/open_skin_plus_plus_sln.bat +++ b/PYProjects/source/open_skin_plus_plus_sln.bat @@ -1,3 +1,4 @@ rem This allows the sln to be opened by double clicking, rather than right click -> run with powershell. @echo off PowerShell .sln.ps1 +pause \ No newline at end of file diff --git a/PYProjects/source/skin_plus_plus.sln b/PYProjects/source/skin_plus_plus.sln index b7e5799..6b69ea5 100644 --- a/PYProjects/source/skin_plus_plus.sln +++ b/PYProjects/source/skin_plus_plus.sln @@ -34,8 +34,8 @@ Global {7BF5EA8D-2105-425A-967C-590AD47EC6CB}.2023-Debug|x64.Build.0 = 2023-Debug|x64 {7BF5EA8D-2105-425A-967C-590AD47EC6CB}.2023-Release|x64.ActiveCfg = 2023-Release|x64 {7BF5EA8D-2105-425A-967C-590AD47EC6CB}.2023-Release|x64.Build.0 = 2023-Release|x64 - {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2021-Release|x64.ActiveCfg = 2022-Release|x64 - {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2021-Release|x64.Build.0 = 2022-Release|x64 + {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2021-Release|x64.ActiveCfg = 2021-Release|x64 + {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2021-Release|x64.Build.0 = 2021-Release|x64 {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2022-Debug|x64.ActiveCfg = 2022-Debug|x64 {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2022-Debug|x64.Build.0 = 2022-Debug|x64 {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2022-Release|x64.ActiveCfg = 2022-Release|x64 @@ -44,8 +44,7 @@ Global {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2023-Debug|x64.Build.0 = 2023-Debug|x64 {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2023-Release|x64.ActiveCfg = 2023-Release|x64 {6A977F79-6449-4D2F-8B5F-9363A19F5046}.2023-Release|x64.Build.0 = 2023-Release|x64 - {1A82B795-46D9-40C8-9AE2-4C4D2D71BBFD}.2021-Release|x64.ActiveCfg = 2022-Release|x64 - {1A82B795-46D9-40C8-9AE2-4C4D2D71BBFD}.2021-Release|x64.Build.0 = 2022-Release|x64 + {1A82B795-46D9-40C8-9AE2-4C4D2D71BBFD}.2021-Release|x64.ActiveCfg = 2021-Release|x64 {1A82B795-46D9-40C8-9AE2-4C4D2D71BBFD}.2022-Debug|x64.ActiveCfg = 2022-Debug|x64 {1A82B795-46D9-40C8-9AE2-4C4D2D71BBFD}.2022-Debug|x64.Build.0 = 2022-Debug|x64 {1A82B795-46D9-40C8-9AE2-4C4D2D71BBFD}.2022-Release|x64.ActiveCfg = 2022-Release|x64 diff --git a/PYProjects/source/skin_plus_plus_py/headers/skin_plus_plus_py.h b/PYProjects/source/skin_plus_plus_py/headers/skin_plus_plus_py.h index 09d1761..6284ca7 100644 --- a/PYProjects/source/skin_plus_plus_py/headers/skin_plus_plus_py.h +++ b/PYProjects/source/skin_plus_plus_py/headers/skin_plus_plus_py.h @@ -25,6 +25,7 @@ typedef eg::MatrixXd WeightsMatrix; typedef eg::MatrixXd PositionMatrix; typedef unsigned int UINT; + template UINT getItemIndex(std::vector vector, T item) { UINT index = std::distance(vector.begin(), find(vector.begin(), vector.end(), item)); @@ -36,23 +37,41 @@ UINT getItemIndex(std::vector vector, T item) { } +//char convertWCharToChar(const wchar_t* text) +//{ +// size_t length = std::wcslen(text); +// std::wstring_convert> conv; +// std::string storeTextBuffer = conv.to_bytes(text, text + length); +// +// return storeTextBuffer[0]; +//} + + char convertWCharToChar(const wchar_t* text) { - size_t length = std::wcslen(text); - std::wstring_convert> conv; - std::string storeTextBuffer = conv.to_bytes(text, text + length); + std::wstring ws(text); + std::string str(ws.begin(), ws.end()); - return storeTextBuffer[0]; + return str[0]; } +//std::string convertWCharToString(const wchar_t* text) +//{ +// size_t length = std::wcslen(text); +// std::wstring_convert> conv; +// std::string storeTextBuffer = conv.to_bytes(text, text + length); +// +// return storeTextBuffer; +//} + + std::string convertWCharToString(const wchar_t* text) { - size_t length = std::wcslen(text); - std::wstring_convert> conv; - std::string storeTextBuffer = conv.to_bytes(text, text + length); + std::wstring ws(text); + std::string str(ws.begin(), ws.end()); - return storeTextBuffer; + return str; } diff --git a/PYProjects/source/skin_plus_plus_py/skin_plus_plus_py.vcxproj b/PYProjects/source/skin_plus_plus_py/skin_plus_plus_py.vcxproj index 063fdd6..808a4d8 100644 --- a/PYProjects/source/skin_plus_plus_py/skin_plus_plus_py.vcxproj +++ b/PYProjects/source/skin_plus_plus_py/skin_plus_plus_py.vcxproj @@ -17,6 +17,10 @@ 2022-Release x64 + + 2021-Release + x64 + 16.0 @@ -26,6 +30,13 @@ 10.0.17134.0 + + DynamicLibrary + false + v141 + true + Unicode + DynamicLibrary true @@ -47,10 +58,11 @@ DynamicLibrary - true + false v142 false Unicode + x64 @@ -63,6 +75,9 @@ + + + @@ -75,6 +90,12 @@ $(SolutionDir)..\..\PYProjects\skin_plus_plus\py\debug_37 $(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(ProjectDir)headers;$(PYTHON_37)\include;$(PYBIND11_37)\include;$(IncludePath) + + false + .pyd + $(SolutionDir)..\..\PYProjects\skin_plus_plus\py\37 + $(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(WindowsSDK_IncludePath);$(VC_IncludePath);$(ProjectDir)headers;$(PYTHON_37)\include;$(PYBIND11_37)\include;$(IncludePath) + false .pyd @@ -181,6 +202,42 @@ $(PYTHON_39)\libs;%(AdditionalLibraryDirectories) + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + %(AdditionalIncludeDirectories) + + + Console + true + true + true + $(PYTHON_37)\libs;%(AdditionalLibraryDirectories) + $(OutDir)$(TargetName)$(TargetExt) + $(OutDir)obj\$(TargetName).pdb + $(OutDir)obj\$(TargetName).pgd + $(OutDir)obj\$(TargetName).lib + UseLinkTimeCodeGeneration + + + $(OutDir)obj\$(TargetName).xml + + + $(OutDir)obj\$(TargetName).bsc + + + + + + + Copy compiled files into correct python module structure + + diff --git a/PYProjects/source/skin_plus_plus_pymaya/skin_plus_plus_pymaya.vcxproj b/PYProjects/source/skin_plus_plus_pymaya/skin_plus_plus_pymaya.vcxproj index a377dcf..fd913eb 100644 --- a/PYProjects/source/skin_plus_plus_pymaya/skin_plus_plus_pymaya.vcxproj +++ b/PYProjects/source/skin_plus_plus_pymaya/skin_plus_plus_pymaya.vcxproj @@ -1,6 +1,10 @@ + + 2021-Release + x64 + 2022-Debug x64 @@ -42,6 +46,14 @@ Unicode x64 + + DynamicLibrary + false + v142 + true + Unicode + x64 + DynamicLibrary false @@ -52,7 +64,7 @@ DynamicLibrary - true + false v142 false Unicode @@ -64,10 +76,10 @@ - + - + @@ -76,8 +88,25 @@ + + + + + false + .pyd + $(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) + $(ADSK_MAYA_SDK_2022)\lib;$(PYTHON_37)\libs;$(LibraryPath) + $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_2021 + + + false + .pyd + $(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) + $(ADSK_MAYA_SDK_2022)\lib;$(PYTHON_37)\libs;$(LibraryPath) + $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_2021 + true .pyd @@ -85,80 +114,76 @@ $(ADSK_MAYA_SDK_2022)\lib;$(PYTHON_37)\libs $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_debug_2023\ - - true + + false .pyd $(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) $(ADSK_MAYA_SDK_2023)\lib;$(PYTHON_39)\libs;$(LibraryPath) - $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_debug_2023 - - - false - .pyd - $(THIRD_PARTY_EIGEN);$(THIRD_PARTY_FMT)\include;$(ProjectDir);$(ProjectDir)..\skin_plus_plus_py\headers;$(ADSK_MAYA_SDK_2022)\include;$(PYTHON_37)\include;$(IncludePath) - $(ADSK_MAYA_SDK_2022)\lib;$(PYTHON_37)\libs;$(LibraryPath) - $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_2022 + $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_2023\ - - false + + true .pyd $(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) $(ADSK_MAYA_SDK_2023)\lib;$(PYTHON_39)\libs;$(LibraryPath) - $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_2023\ + $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\maya\$(ProjectName)_debug_2023 true false - + Level3 + true + true true - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp20 stdc17 Console + true + true true - Foundation.lib;OpenMaya.lib;OpenMayaUI.lib;OpenMayaAnim.lib;OpenMayaFX.lib;OpenMayaRender.lib;Image.lib;opengl32.lib;%(AdditionalDependencies) - /export:initializePlugin /export:uninitializePlugin + OpenMaya.lib;OpenMayaAnim.lib;Foundation.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib;%(AdditionalDependencies) - + Level3 + true + true true - _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) true - stdcpp14 - Default + stdcpp20 + stdc17 Console + true + true true OpenMaya.lib;OpenMayaAnim.lib;Foundation.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib;%(AdditionalDependencies) - /export:initializePlugin /export:uninitializePlugin - + Level3 - true - true true - NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) true stdcpp20 stdc17 Console - true - true true - OpenMaya.lib;OpenMayaAnim.lib;Foundation.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib;%(AdditionalDependencies) + Foundation.lib;OpenMaya.lib;OpenMayaUI.lib;OpenMayaAnim.lib;OpenMayaFX.lib;OpenMayaRender.lib;Image.lib;opengl32.lib;%(AdditionalDependencies) + /export:initializePlugin /export:uninitializePlugin @@ -178,6 +203,22 @@ OpenMaya.lib;OpenMayaAnim.lib;Foundation.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib;%(AdditionalDependencies) + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpp14 + Default + + + Console + true + OpenMaya.lib;OpenMayaAnim.lib;Foundation.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib;%(AdditionalDependencies) + /export:initializePlugin /export:uninitializePlugin + + diff --git a/PYProjects/source/skin_plus_plus_pymxs/skin_plus_plus_pymxs.vcxproj b/PYProjects/source/skin_plus_plus_pymxs/skin_plus_plus_pymxs.vcxproj index 8ad3dc1..cd518f3 100644 --- a/PYProjects/source/skin_plus_plus_pymxs/skin_plus_plus_pymxs.vcxproj +++ b/PYProjects/source/skin_plus_plus_pymxs/skin_plus_plus_pymxs.vcxproj @@ -60,10 +60,11 @@ DynamicLibrary - true + false v142 false Unicode + x64 @@ -119,7 +120,7 @@ false .pyd $(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) - $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\max\$(ProjectName)_2022 + $(SolutionDir)..\..\PYProjects\skin_plus_plus\dccs\max\$(ProjectName)_2021 true