diff --git a/libusb/CMakeLists.txt b/libusb/CMakeLists.txt new file mode 100644 index 0000000..77560b2 --- /dev/null +++ b/libusb/CMakeLists.txt @@ -0,0 +1 @@ +add_library(hidapi-libusb hid.c) \ No newline at end of file diff --git a/linux/CMakeLists.txt b/linux/CMakeLists.txt new file mode 100644 index 0000000..b67d771 --- /dev/null +++ b/linux/CMakeLists.txt @@ -0,0 +1 @@ +add_library(hidapi-hidraw hid.c) \ No newline at end of file diff --git a/windows/CMakeLists.txt b/windows/CMakeLists.txt new file mode 100644 index 0000000..387ac02 --- /dev/null +++ b/windows/CMakeLists.txt @@ -0,0 +1 @@ +add_library(hidapi-hid hid.c) \ No newline at end of file diff --git a/windows/hidapi.vcxproj b/windows/hidapi.vcxproj new file mode 100644 index 0000000..ae3ea43 --- /dev/null +++ b/windows/hidapi.vcxproj @@ -0,0 +1,106 @@ + + + + + Debug + x64 + + + Release + x64 + + + + {A107C21C-418A-4697-BB10-20C3AA60E2E4} + hidapi + Win32Proj + 8.1 + + + + StaticLibrary + v140 + Unicode + + + StaticLibrary + v140 + MultiByte + + + + + + + + + + + + + <_ProjectFileVersion>14.0.25431.1 + + + true + $(SolutionDir)lib/ + $(SolutionDir)tmp\$(ProjectName)-$(Configuration)-$(Platform)/ + + + false + $(SolutionDir)lib/ + $(SolutionDir)tmp\$(ProjectName)-$(Configuration)-$(Platform)/ + + + + Disabled + ..\hidapi;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions) + EnableFastChecks + MultiThreadedDebugDLL + + + Level3 + ProgramDatabase + + + setupapi.lib;%(AdditionalDependencies) + true + Windows + + + setupapi.lib + + + + + MaxSpeed + true + ..\hidapi;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions) + true + + + Level3 + ProgramDatabase + + + setupapi.lib;%(AdditionalDependencies) + true + Windows + true + true + + + setupapi.lib + + + + + + + + + + + + \ No newline at end of file diff --git a/windows/hidapi.vcxproj.filters b/windows/hidapi.vcxproj.filters new file mode 100644 index 0000000..af3a78a --- /dev/null +++ b/windows/hidapi.vcxproj.filters @@ -0,0 +1,27 @@ + + + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hpp;hxx;hm;inl;inc;xsd + + + {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} + rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav + + + + + Source Files + + + + + Header Files + + + \ No newline at end of file diff --git a/windows/hidapi.vcxproj.user b/windows/hidapi.vcxproj.user new file mode 100644 index 0000000..abe8dd8 --- /dev/null +++ b/windows/hidapi.vcxproj.user @@ -0,0 +1,4 @@ + + + + \ No newline at end of file