Last active
November 22, 2019 15:03
-
-
Save jasonbeverage/4d277a96e9e86f198f9eee8789fd2903 to your computer and use it in GitHub Desktop.
Build osg and osgearth against vcpkg for my machine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build osg with vcpkg | |
cmake .. -G "Visual Studio 15 2017 Win64" -DCMAKE_TOOLCHAIN_FILE=d:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake -DWIN32_USE_MP=ON -DCMAKE_INSTALL_PREFIX=d:\dev\Installs\OpenSceneGraph -DCMAKE_BUILD_TYPE=Release | |
cmake --build . --target INSTALL --config Release | |
# Build osgearth with vcpkg and local osg | |
cmake .. -G "Visual Studio 15 2017 Win64" -DOSG_DIR=d:\dev\Installs\OpenSceneGraph -DWIN32_USE_MP=ON -DCMAKE_TOOLCHAIN_FILE=d:\dev\vcpkg\scripts\buildsystems\vcpkg.cmake -DWIN32_USE_MP=ON -DCMAKE_INSTALL_PREFIX=d:\dev\Installs\osgEarth -DCMAKE_BUILD_TYPE=Release | |
cmake --build . --target INSTALL --config Release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment