Skip to content

Instantly share code, notes, and snippets.

@max-dark
Last active August 21, 2021 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save max-dark/270437192b0f5c803fa0debf392fcbd0 to your computer and use it in GitHub Desktop.
Save max-dark/270437192b0f5c803fa0debf392fcbd0 to your computer and use it in GitHub Desktop.
o3de build configuration
@rem configure O3DE for windows
setlocal
set ROOT=C:\root\path\for\o3de
set INSTALL=%ROOT%\o3de-bin
set BUILD=%ROOT%\o3de-build
set PACKAGES=%ROOT%\o3de-packages
set SOURCE=%ROOT%\o3de
set GENARATOR=-G "Visual Studio 16 2019"
set DEFINES=-DLY_3RDPARTY_PATH=%PACKAGES% -DLY_UNITY_BUILD=ON -DLY_DISABLE_TEST_MODULES=ON
cmake -B %BUILD% -S %SOURCE% %GENERATOR% -DCMAKE_INSTALL_PREFIX=%INSTALL% %DEFINES%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment