-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Separate CMakeLists for each test target #3573
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
Conversation
|
The Android build is not happy about this change: https://ci.sfml-dev.org/#/builders/1/builds/2777/steps/11/logs/stdio |
|
Will take a look later but suspect I just need to update the paths it deploys assets to on the device |
|
So really should be using a proper android app for the tests, or failing that use cmake test fixtures to copy test data rather than a build target, but to keep the scope down for this change I've just updated the existing paths so android tests should pass now |
|
Seems our android setup is broken on windows currently which is all I have access to today - Have made an educated guess at the fix |
4b3c110 to
5ec29df
Compare
|
Thank you! 🙂 |
A minor restructure of the cmake structure - Tests already have their own folder for source and resource files, and it's generally good practice (as we do throughout the rest of the project) to also have separate CMakeLists for each subdirectory/target
Generally makes It easier to understand and work with the tests