-
Notifications
You must be signed in to change notification settings - Fork 0
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
Maya + Unreal Build scripts (Win/Linux) #15
Conversation
… / linux to tested platforms
…/ayon-usd-resolver into feature/AY-3942_AyonUsdBuildScript
…er with 3 env variables. loads under Alma Linux9
…es only the AyonUsd Cmake script needs to define the project first because off a variable deadlock. this version will probably not work under windowns because i did not update the windwos build scripts
Is Ondra the only one to help here or can we test something from a user perspective as well? If so, we need some instructions :) |
im not sure tbh right now. currently there is no User perspective on this repo because the user interaction / server settings will be handled by the AyonUsd plugin. so im gonna answer that with an: im not sure. |
…ows and linux from May15th2024
…project at the start off this plugin so that we dont get an infinit loop
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.
Running test/TestAyonUsd.bat
:
(base) PS C:\Users\annat\Documents\Projects\Ayon\ayon-usd-resolver> .\scripts\buildAyonUsd.bat
C:\Users\annat\Documents\Projects\Ayon\ayon-usd-resolver>REM in case you use Pyenv // Pyenv exec works
C:\Users\annat\Documents\Projects\Ayon\ayon-usd-resolver>cd ../
C:\Users\annat\Documents\Projects\Ayon>rmdir /s /q build
The system cannot find the file specified.
C:\Users\annat\Documents\Projects\Ayon>rmdir /s /q Resolvers/AyonUsdWin/AyonUsd23_5_py39
Invalid switch - "AyonUsdWin".
C:\Users\annat\Documents\Projects\Ayon>set AyonUsdRoot=
C:\Users\annat\Documents\Projects\Ayon>set COMPILEPLUGIN=
C:\Users\annat\Documents\Projects\Ayon>cmake -S . -B build -DDEV=0 -DJTRACE=0 -DCMAKE_BUILD_TYPE=Release
CMake Error: The source directory "C:/Users/annat/Documents/Projects/Ayon" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
C:\Users\annat\Documents\Projects\Ayon>cmake --build build --clean-first --config Release
Error: C:/Users/annat/Documents/Projects/Ayon/build is not a directory
C:\Users\annat\Documents\Projects\Ayon>cmake --install build
CMake Error: Error processing file: C:/Users/annat/Documents/Projects/Ayon/build/cmake_install.cmake
Sure it was as naive as running it directly from within developer console, but maybe we should add some sanity checks. But in next PR - just mentioning it here.
Also, the script are expecting that you will run them from specific directory - like /scripts/build.bat
has to be run from within /scripts
otherwise it will fail.
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.
see comments above
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
1: 2: |
Nothing really important, just to avoid duplication of information in dir/file hierarchy. So you basically merge
By unification, I meant:
(notice Windows vs. Win) I guess it is problem just for *HouWin scripts and I vote for shorter I think dashes and underscores actually help with readability and they are used everywhere - in package repositories, like:
|
…h was merged into it
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.
Just those little changes
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
Okay, perfect, I see what you mean. |
im opening this pr to close the other Pr
as this branch was created from the other branch and contains all the important work from it.
this PR also serves to block further development from me until both plugins are fully working and tested for both Os setups.
this PR implements