Skip to content

Conversation

@enpe
Copy link
Contributor

@enpe enpe commented Jan 2, 2026

Integrate Locally-Built Third-Party Libraries with Visual Studio Projects

This PR enables building Ocean using Visual Studio projects with locally-built third-party libraries from the CMake build system.

Changes:

  • Visual Studio Integration: Updated all .props files to reference reorganized third-party library structure with
    version-organized paths (e.g., libname\version\lib\win_x64_vc143_static_debug)
  • DirectShow Support: Added DirectShow Base Classes to Windows third-party CMake builds
  • Documentation: Added comprehensive guide for building Ocean with Visual Studio projects (Section 4 in building_for_windows.md)
  • Temporary Workarounds: Disabled ocean/io/Signature.* (requires OpenSSL, not yet built)
  • Build Improvements: Updated .gitignore for build artifacts

Key Features:

  • Third-party libraries built via CMake can now be used with Visual Studio projects
  • Reorganization script transforms CMake output to Visual Studio-compatible structure
  • Symlink approach ($(OCEAN_DEVELOPMENT_PATH)\3rdparty) for flexible paths
  • Supports both CMake builds (CI/automation) and Visual Studio builds (development/debugging)

Limitations:

  • OpenSSL not yet included (SSL functionality unavailable)
  • Google V8 not included (JavaScript interaction unavailable)

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Jan 2, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 2, 2026

@enpe has imported this pull request. If you are a Meta employee, you can view this in D90043792.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant