Skip to content
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

Try to make UNITY build with CMake #1803

Open
louwers opened this issue Oct 24, 2023 · 2 comments
Open

Try to make UNITY build with CMake #1803

louwers opened this issue Oct 24, 2023 · 2 comments
Assignees
Labels
build Related to build, configuration or CI/CD

Comments

@louwers
Copy link
Collaborator

louwers commented Oct 24, 2023

A unity build potentially speeds up compilation with CMake.

It throws multiple source files together, so to get it to work some variables need to be renamed and some files need to be reorderd in the CMake config.

https://cmake.org/cmake/help/latest/variable/CMAKE_UNITY_BUILD.html#variable:CMAKE_UNITY_BUILD

@louwers louwers added the build Related to build, configuration or CI/CD label Oct 24, 2023
@louwers louwers self-assigned this Oct 24, 2023
@louwers
Copy link
Collaborator Author

louwers commented Jul 13, 2024

@louwers
Copy link
Collaborator Author

louwers commented Oct 14, 2024

Works now for Android. #2932

When enabling it when compiling the render tests I get duplicate symbol errors:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to build, configuration or CI/CD
Projects
None yet
Development

No branches or pull requests

1 participant