Skip to content
This repository was archived by the owner on Apr 19, 2023. It is now read-only.

optimize_dependencies by default#42

Open
midjji wants to merge 1 commit into
cpp-best-practices:mainfrom
midjji:main
Open

optimize_dependencies by default#42
midjji wants to merge 1 commit into
cpp-best-practices:mainfrom
midjji:main

Conversation

@midjji
Copy link
Copy Markdown

@midjji midjji commented Oct 13, 2022

This will improve build parallelism significantly, but at the cost that cmake must be aware of generated srcs. This is automatic for e.g. configure file, protobuf, etc. However if you use e.g. exec_program(generate_sources.py), then the targets which depend on the target with these sources must be marked as dependent.

This will improve build parallelism significantly, but at the cost that cmake must be aware of generated srcs.  This is automatic for e.g. configure file, protobuf, etc.  
However if you use e.g. exec_program(generate_sources.py), then the targets which depend on the target with these sources must be marked as dependent.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant