-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add components to cmake_find_package generator (jinja2) (#7108)
* Add jinja2 template for cmake_find_package with components * Add components to cmake_find_package * Add components to cmake_find_package generator (jinja2) * fix * tag tests as slow * try fix * try and print * Fix find * try without example2 * add link flags, use set_target_property(), fix test * push test * Use conan_basic_setup() * Fix test * Fix ALL tests FINALLY! * add example2, fix tests, add reverse and format messages * add sorted_components() to base generator class * fix includes and remove messages * Change jinja syntax * test component with same name as global * remove dependencies from global target * Link mini-targets to other components * Update test with slightly different behavior * use name and classmethod * reuse macros * use split * fix with test * refactor * fix * use pkg name as prefix in variables * reuse macro * find_package(COMPONENTS) check and test * fix textwrap for python 2 and a test * remove find components check in old implementation * keep global variables * include and populate all global variables Co-authored-by: memsharded <james@conan.io>
- Loading branch information
1 parent
0eea418
commit 0001620
Showing
4 changed files
with
902 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.