diff --git a/PyRainmeter.cpp b/PyRainmeter.cpp index 6db0d51..43e806c 100644 --- a/PyRainmeter.cpp +++ b/PyRainmeter.cpp @@ -19,7 +19,7 @@ #include #include #include "structmember.h" -#include "../../API/RainmeterAPI.h" +#include "rainmeter-plugin-sdk/API/RainmeterAPI.h" typedef struct RainmeterObject { PyObject_HEAD diff --git a/PythonPlugin.cpp b/PythonPlugin.cpp index b61ed36..73e7963 100644 --- a/PythonPlugin.cpp +++ b/PythonPlugin.cpp @@ -18,7 +18,7 @@ #include #include -#include "../../API/RainmeterAPI.h" +#include "./rainmeter-plugin-sdk/API/RainmeterAPI.h" PyObject* CreateRainmeterObject(void *rm); diff --git a/RainmeterPython.vcxproj b/RainmeterPython.vcxproj index 47480e8..a0e4809 100644 --- a/RainmeterPython.vcxproj +++ b/RainmeterPython.vcxproj @@ -30,13 +30,14 @@ Win32Proj PythonPlugin PythonPlugin + 8.1 DynamicLibrary true Unicode - v110 + v140 DynamicLibrary @@ -109,7 +110,7 @@ true - ..\..\API\x32\Rainmeter.lib;%(AdditionalDependencies) + rainmeter-plugin-sdk\API\x32\Rainmeter.lib;%(AdditionalDependencies) @@ -119,13 +120,11 @@ Level3 Disabled WIN32;_DEBUG;_WINDOWS;_USRDLL;PLUGINEMPTY_EXPORTS;%(PreprocessorDefinitions) - C:\Python33\include;%(AdditionalIncludeDirectories) MultiThreadedDebug true - ..\..\API\x64\Rainmeter.lib;%(AdditionalDependencies) - C:\Python33\libs;%(AdditionalLibraryDirectories) + rainmeter-plugin-sdk\API\x64\Rainmeter.lib;%(AdditionalDependencies) @@ -137,7 +136,6 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PLUGINEMPTY_EXPORTS;%(PreprocessorDefinitions) - C:\Python33\include;%(AdditionalIncludeDirectories) MultiThreaded @@ -145,8 +143,7 @@ true .rdata=.text true - ..\..\API\x32\Rainmeter.lib;%(AdditionalDependencies) - C:\Python33\libs;%(AdditionalLibraryDirectories) + rainmeter-plugin-sdk\API\x32\Rainmeter.lib;%(AdditionalDependencies) @@ -158,7 +155,6 @@ true true WIN32;NDEBUG;_WINDOWS;_USRDLL;PLUGINEMPTY_EXPORTS;%(PreprocessorDefinitions) - C:\Python33\include;%(AdditionalIncludeDirectories) MultiThreaded @@ -166,8 +162,7 @@ true .rdata=.text true - ..\..\API\x64\Rainmeter.lib;%(AdditionalDependencies) - C:\Python33\libs;%(AdditionalLibraryDirectories) + rainmeter-plugin-sdk\API\x64\Rainmeter.lib;%(AdditionalDependencies) diff --git a/RainmeterPython.vcxproj.user b/RainmeterPython.vcxproj.user new file mode 100644 index 0000000..abe8dd8 --- /dev/null +++ b/RainmeterPython.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file