Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moving build scripts to vcpkg ? #483

Open
smeunier-amd opened this issue Feb 1, 2023 · 4 comments
Open

Moving build scripts to vcpkg ? #483

smeunier-amd opened this issue Feb 1, 2023 · 4 comments

Comments

@smeunier-amd
Copy link

It simplifies a lot building DJV.

I did this for two versions of DJV already :

I can't maintain this myself and maybe it makes sense for DJV.

@smeunier-amd
Copy link
Author

Here's commands for a fresh repo :

  1. git submodule update --init --recursive
  2. .\vcpkg\bootstrap-vcpkg.bat -disableMetrics
  3. .\vcpkg\vcpkg.exe install
  4. configure cmake adding -DCMAKE_TOOLCHAIN_FILE=${workspaceFolder}/vcpkg/scripts/buildsystems/vcpkg.cmake
  5. build using cmake

@darbyjohnston
Copy link
Owner

Hi and sorry for the delay! I'm not familiar with vcpkg, is this a replacement for CMake or a way to automate the CMake builds?

@meshula
Copy link

meshula commented Feb 3, 2023

it's a package manager like apt or flatpak. Started as windows only by Microsoft, but now cross platform.

@smeunier-amd
Copy link
Author

smeunier-amd commented Feb 6, 2023

No problem for the delay ! vcpkg can help versioning, retrieving, building libraries used by cmake projects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants