/[svn]/libgig/trunk/README
ViewVC logotype

Diff of /libgig/trunk/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3475 by schoenebeck, Sat Nov 25 01:19:10 2017 UTC revision 3476 by schoenebeck, Wed Feb 20 19:12:49 2019 UTC
# Line 149  Compiling for Linux Line 149  Compiling for Linux
149    On success, the resulting rpm(s) can usually be found under the proper    On success, the resulting rpm(s) can usually be found under the proper
150    "/usr/src/<rpmdir>/RPMS/<arch>" directory.    "/usr/src/<rpmdir>/RPMS/<arch>" directory.
151    
152  Compiling for Windows  Compiling for Windows using CMake
153  =====================  =================================
154    The easiest way is to compile is to use vcpkg (https://github.com/Microsoft/vcpkg)
155    to install libsndfile (required) and cppunit (optional). In the vcpkg install dir
156    type:
157    .\vcpkg.exe install libsndfile cppunit [--triplet x64-windows]
158    
159    libgig and its tools can be compiled for Windows using Bloodshed Dev-C++,  This should install the libraries in vcpkg, add the triplet option if you wish to
160    get the 64bit libraries.
161    
162    In an empty directory type:
163    cmake <libgig source dir> -DCMAKE_TOOLCHAIN_FILE=<vcpkg dir>\scripts\buildsystems\vcpkg.cmake
164    [-G"Visual Studio 15 2017 Win64"]
165    
166    Use the -G option to select the visual studio version and whether to compile for
167    64bits.
168    
169    This will create libgig.sln file which you can open in visual studio or you can use
170    the following command line to compile:
171    
172    cmake --build . --config <Release|Debug|MinRelSize|RelWithDebInfo>
173    
174    Compiling for Windows using Dev-C++
175    ===================================
176    
177      libgig and its tools can also be compiled on Windows using Bloodshed Dev-C++,
178    which is a free (GPL) C++ integrated development environment for Windows.    which is a free (GPL) C++ integrated development environment for Windows.
179    It is also possible to use MSYS from MinGW, which allows you to use    It is also possible to use MSYS from MinGW, which allows you to use
180    './configure && make' like the linux builds.    './configure && make' like the linux builds.

Legend:
Removed from v.3475  
changed lines
  Added in v.3476

  ViewVC Help
Powered by ViewVC