Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. CMake
  3. osg-3rdparty-cmake

osg-3rdparty-cmake

UnlicenseCMakev1.0

CMake scripts for building OpenSceneGraph third-party libraries from source.

GitHubGitHub
199 stars109 forks0 contributors

What is osg-3rdparty-cmake?

osg-3rdparty-cmake is a collection of CMake scripts designed to build third-party libraries needed for OpenSceneGraph, a high-performance 3D graphics toolkit. It automates the compilation of dependencies like zlib, libpng, and libjpeg from source, ensuring they are correctly configured for use with OpenSceneGraph projects. This solves the problem of manually building and integrating these libraries, which can be error-prone and time-consuming.

Target Audience

Developers working with OpenSceneGraph who need to build its dependencies from source, particularly those using Visual Studio on Windows. It is also useful for system integrators or build engineers setting up OpenSceneGraph environments.

Value Proposition

Developers choose osg-3rdparty-cmake because it provides a standardized, CMake-based method to build OpenSceneGraph dependencies, reducing configuration errors and saving time. Its support for prebuilt binaries and flexible source management makes it a practical alternative to manual compilation or platform-specific build scripts.

Overview

CMake scripts for building OpenSceneGraph third party libraries.

Use Cases

Best For

  • Building OpenSceneGraph dependencies from source on Windows
  • Setting up a consistent development environment for OpenSceneGraph projects
  • Automating the compilation of third-party graphics libraries
  • Integrating libraries like zlib, libpng, and libjpeg with CMake
  • Generating Visual Studio solutions for OpenSceneGraph third-party libraries
  • Managing dependencies for cross-platform 3D graphics applications

Not Ideal For

  • Projects on Linux or macOS that rely on system package managers like apt or Homebrew for dependencies
  • Developers who want fully automated dependency resolution without manual source downloads, such as those using vcpkg or Conan
  • Teams working with non-OpenSceneGraph graphics libraries, as this tool is specifically tailored for OSG's dependency set

Pros & Cons

Pros

CMake Integration

Uses CMake to generate platform-specific project files, reducing configuration errors and ensuring compatibility with OpenSceneGraph, as outlined in the instructions.

Prebuilt Library Support

Offers precompiled binary archives for Visual Studio 2017 and 2019, speeding up setup by avoiding source compilation for common Windows toolchains.

Organized Output Structure

Automatically organizes built libraries and headers into a standardized 3rdParty folder with platform subdirectories, simplifying integration into OpenSceneGraph projects.

Flexible Source Management

Allows selective building by specifying custom source locations for each dependency, enabling builds from different versions or patches as per user needs.

Cons

Limited Prebuilt Platform Support

Prebuilt binaries are only available for Windows with specific Visual Studio versions, requiring full manual compilation for other platforms or compilers.

Manual Dependency Sourcing

Users must download each library's source code separately from external sites, adding steps and potential for errors in the build process.

Fixed Dependency List

Only supports a predefined set of libraries; if OpenSceneGraph requires additional dependencies, they must be handled outside this system.

Frequently Asked Questions

Quick Stats

Stars199
Forks109
Contributors0
Open Issues8
Last commit3 years ago
CreatedSince 2014

Tags

#graphics#third-party-libraries#dependency-management#visual-studio#cmake#c-plus-plus#build-system

Built With

C
CMake

Included in

CMake5.4k
Auto-fetched 1 day ago

Related Projects

suitesparse-metis-for-windowssuitesparse-metis-for-windows

CMake scripts for painless usage of SuiteSparse+METIS from Visual Studio and the rest of Windows/Linux/OSX IDEs supported by CMake

Stars467
Forks222
Last commit2 years ago
cmake-language-servercmake-language-server

CMake LSP Implementation

Stars405
Forks41
Last commit1 year ago
autovalaautovala

A program that automatically generates CMake and Meson configuration files for your Vala project

Stars105
Forks15
Last commit7 years ago
cmake-lintcmake-lint

Check for coding style issues in CMake files

Stars104
Forks15
Last commit7 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub