From 76107064d7ee0cb290b4cc3719e6189fb77c09f1 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Sat, 22 Apr 2017 14:59:01 +0300 Subject: [PATCH] add build instructions for Windows --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index d9ef14f..029ac22 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ https://github.com/g-truc/glm
You have two option to call a function/operation: inline or library call (link) -Almost all functions are marked inline (always_inline) so compiler probably will inline. -To call pre-compiled version, just use `glmc_` (c stands for 'call') instead of `glm_`. +Almost all functions are marked inline (always_inline) so compiler probably will inline. +To call pre-compiled version, just use `glmc_` (c stands for 'call') instead of `glm_`. ```C #include /* for inline */ @@ -92,10 +92,19 @@ $ [sudo] make install ``` ### Windows (MSBuild) +Windows related build files, project files are located in `win` folder, +make sure you are inside `cglm/win` folder. +Code Analysis are enabled, it may take awhile to build -```text -TODO: +```Powershell +$ cd win +$ .\build.bat ``` +if `msbuild` won't work (because of multi version VS) then try to build with `devenv`: +```Powershell +$ devenv cglm.sln /Build Release +``` + ##How to use If you want to use inline versions of funcstions then; include main header ```C