diff --git a/src/dllmain.c b/src/dllmain.c new file mode 100644 index 0000000..42afa88 --- /dev/null +++ b/src/dllmain.c @@ -0,0 +1,23 @@ +/* +* Copyright (c), Recep Aslantas. +* +* MIT License (MIT), http://opensource.org/licenses/MIT +* Full license can be found in the LICENSE file +*/ + +#include "config.h" + +BOOL +APIENTRY +DllMain(HMODULE hModule, + DWORD ul_reason_for_call, + LPVOID lpReserved) { + switch (ul_reason_for_call) { + case DLL_PROCESS_ATTACH: + case DLL_THREAD_ATTACH: + case DLL_THREAD_DETACH: + case DLL_PROCESS_DETACH: + break; + } + return TRUE; +} diff --git a/win/.gitignore b/win/.gitignore new file mode 100644 index 0000000..da6703c --- /dev/null +++ b/win/.gitignore @@ -0,0 +1,4 @@ +!cglm.sln +!cglm.vcxproj +!cglm.vcxproj.filters +!packages.config diff --git a/win/build.bat b/win/build.bat new file mode 100644 index 0000000..a2f0bf0 --- /dev/null +++ b/win/build.bat @@ -0,0 +1 @@ +msbuild cglm.vcxproj /p:Configuration=Release diff --git a/win/cglm.sln b/win/cglm.sln new file mode 100644 index 0000000..6316235 --- /dev/null +++ b/win/cglm.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.26403.7 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "cglm", "cglm.vcxproj", "{CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Debug|x64.ActiveCfg = Debug|x64 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Debug|x64.Build.0 = Debug|x64 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Debug|x86.ActiveCfg = Debug|Win32 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Debug|x86.Build.0 = Debug|Win32 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Release|x64.ActiveCfg = Release|x64 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Release|x64.Build.0 = Release|x64 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Release|x86.ActiveCfg = Release|Win32 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC}.Release|x86.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/win/cglm.vcxproj b/win/cglm.vcxproj new file mode 100644 index 0000000..1549430 --- /dev/null +++ b/win/cglm.vcxproj @@ -0,0 +1,199 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 15.0 + {CA8BCAF9-CD25-4133-8F62-3D1449B5D2FC} + Win32Proj + cglm + 10.0.14393.0 + + + + DynamicLibrary + true + v141 + Unicode + + + DynamicLibrary + false + v141 + true + Unicode + + + DynamicLibrary + true + v141 + Unicode + + + DynamicLibrary + false + v141 + true + Unicode + + + + + + + + + + + + + + + + + + + + + true + + + + false + + + false + + + + NotUsing + Level3 + MaxSpeed + WIN32;_DEBUG;_WINDOWS;_USRDLL;CGLM_EXPORTS;CGLM_DLL;%(PreprocessorDefinitions);CGLM_DLL + None + Default + + CompileAsC + true + + + Windows + + + + + Level3 + MaxSpeed + _DEBUG;_WINDOWS;_USRDLL;CGLM_EXPORTS;CGLM_DLL;%(PreprocessorDefinitions);CGLM_DLL + AnySuitable + true + true + + CompileAsC + None + Default + + + Windows + + + + + Level3 + NotUsing + MaxSpeed + true + true + WIN32;NDEBUG;_WINDOWS;_USRDLL;CGLM_EXPORTS;CGLM_DLL;%(PreprocessorDefinitions);CGLM_DLL + None + + CompileAsC + + + Windows + true + true + + + + + Level3 + NotUsing + MaxSpeed + true + true + NDEBUG;_WINDOWS;_USRDLL;CGLM_EXPORTS;CGLM_DLL;%(PreprocessorDefinitions);CGLM_DLL + None + + CompileAsC + + + Windows + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/win/cglm.vcxproj.filters b/win/cglm.vcxproj.filters new file mode 100644 index 0000000..9e102ef --- /dev/null +++ b/win/cglm.vcxproj.filters @@ -0,0 +1,153 @@ + + + + + {93995380-89BD-4b04-88EB-625FBE52EBFB} + h;hh;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;mfcribbon-ms + + + {4FC737F1-C7A5-4376-A066-2A32D752A2FF} + cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx + + + {f46634e5-c098-41a0-afb3-45afb6a53593} + + + {496b3b53-1258-4efa-87b2-4280ea82f87e} + + + {28919415-29bd-4edd-8ab1-1ec9a16e46f0} + + + {792cb1a9-bdc8-4f00-bfde-067750b0ab41} + + + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include + + + include\call + + + include\call + + + include\call + + + include\call + + + include\call + + + include\call + + + include\call + + + include\call + + + include\arch\simd + + + include\arch\simd + + + include\arch\simd + + + include\arch\simd + + + include\arch\simd + + + include\arch\simd + + + include\arch\simd + + + src + + + + + src + + + src + + + src + + + src + + + src + + + src + + + src + + + src + + + src + + + \ No newline at end of file