CMake scripts for building OpenSceneGraph third party libraries.
These scripts can be used to build third party libraries from source using CMake(http://www.cmake.org/).
The source code for respective library has to be downloaded separately, see download locations below.
By building the INSTALL target for both debug and release these scripts will create a folder named 3rdParty
.
Inside this folder there will folders created to represent each platform toolset.
So far these scripts has been tested with successfully with the following toolsets:
-
Visual Studio 2010 - 32 bit build
-
Visual Studio 2010 - 64 bit build
-
Visual Studio 2013 - 32 bit build
-
Visual Studio 2015 - 32 bit build
-
Visual Studio 2015 - 64 bit build
-
MinGW + GCC 4.8.2
- Download the CMake scripts from this repository.
- Download the source for the dependencies you would like to use from their respective location as specified below.
- Start the CMake GUI and select the directory with the CMake scripts as your source directory. Use any desired output directory as binary directory.
- Press Configure inside the CMake GUI.
- Fill in the location of the downloaded sources of your desired dependencies and press "Configure" again. Repeat until there is no more errors and warnings in CMake.
- Press Generate inside the CMake GUI. This will generate solution file inside your binary directory.
- Open the solution file in your IDE.
- Build the
ALL_BUILD
project for both debug and release. - Build the
INSTALL
project for both debug and release.
In your binary directory there will now be a folder named 3rdParty
with a sub-folder named after your target platform. Inside this folder there should be all your headers and libraries.
Latest version tested: 1.2.8
Sources for zlib can be downloaded from:
Latest version tested: 1.6.21
Sources for libpng can be downloaded from:
http://www.libpng.org/pub/png/libpng.html
Latest version tested: 9b
Sources for libjpeg can be downloaded from:
Latest version tested: 4.0.6
Sources for libtiff can be downloaded from:
Latest version tested: 2.6.3
Sources for FreeType can be downloaded from:
Latest version tested: 3.7
Sources for GLUT can be downloaded from:
http://www.opengl.org/resources/libraries/glut/
Latest version tested: 5.1.2
Sources for GIFLIB can be downloaded from:
http://sourceforge.net/projects/giflib/
Latest version tested: nmoinvaz/minizip@16455205a717532e416d92c40df44f3b1797d7d8
Sources for MINIZIP can be downloaded from:
http://github.com/nmoinvaz/minizip
Latest version tested: 7.49.1
Sources for cURL can be downloaded from: