-
Notifications
You must be signed in to change notification settings - Fork 4
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
HYDRA-776 : Update build doc & script #37
Conversation
…ersions prerequisites
@@ -106,8 +112,6 @@ message(STATUS " PYTHON_INCLUDE_DIRS = ${PYTHON_INCLUDE_DIRS}") | |||
message(STATUS " PYTHON_LIBRARIES = ${PYTHON_LIBRARIES}") | |||
message(STATUS " Python_EXECUTABLE = ${Python_EXECUTABLE}") | |||
|
|||
include(cmake/jinja.cmake) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jinja is no longer needed in MayaHydra
You then need to set the generator to ```Ninja``` and the ```CMAKE_MAKE_PROGRAM``` variable to the Ninja binary you downloaded. | ||
You then need to set the generator to ```Ninja```. | ||
``` | ||
python build.py --generator Ninja --build-args=-DCMAKE_MAKE_PROGRAM='path to ninja binary' | ||
python build.py --generator Ninja |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifying the CMAKE_MAKE_PROGRAM should not be necessary as CMake will figure out which one to use based on the generator. This option mostly seems to be used to force a specific "make" program.
Jinja2 3.1.2 | ||
MarkupSafe 2.1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These two are no longer relevant
This PR updates the build docs to (hopefully) contain all info that might be needed to build the plugin. It also contains a slight tweak to the top-level CMakeLists to automatically determine the default Python version to build with based on the Maya version : note that the Python version can still be manually specified with the same variable as before.