diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-09-22 12:03:29 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-09-22 12:04:13 +0200 |
| commit | 3dfb01228b4f06a538c2a19352e34fd172e20fe3 (patch) | |
| tree | c0e060d7d74b0ed31a30d4898e4dcca34f2c0976 | |
| parent | e5a561b5d86e6292832a7baefdcdf24e25821ae3 (diff) | |
INSTALL.md: add instructions to build with Visual Studio (#1023, from Winfried instructions)
| -rw-r--r-- | INSTALL.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -63,6 +63,20 @@ Note 4 : On MacOS, if it does not work, try adding the following flag to the cma You can use cmake to generate the project files for the IDE you are using (VC2010, XCode, etc). Type 'cmake --help' for available generators on your platform. +Examples for Windows with Visual Studio C++ compiler: + +If using directly the cl compiler: + +``` +cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE:string="Release" -DBUILD_SHARED_LIBS:bool=on -DCMAKE_INSTALL_PREFIX:path="C:/Users/Public" -DCMAKE_LIBRARY_PATH:path="C:/Users/Public" -DCMAKE_INCLUDE_PATH:path="C:/Users/Public/include" .. +``` + +If you do not want directly use the cl compiler, you could use: + +``` +cmake -DCMAKE_BUILD_TYPE:string="Release" -DBUILD_SHARED_LIBS:bool=on -DCMAKE_INSTALL_PREFIX:path="C:/Users/Public" -DCMAKE_LIBRARY_PATH:path="C:/Users/Public" -DCMAKE_INCLUDE_PATH:path="C:/Users/Public/include" .. +``` + # Enabling CPU specific optimizations For Intel/AMD processors, OpenJPEG implements optimizations using the SSE4.1 |
