-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use conanfile.txt instead of conanfile.py
The .py file was useful mainly for Conan 1, where the .txt file lacked features to control test and tool requirements and where the files are generated. With the "layout.cmake_layout" setting the files are output to "build/generators" instead of the current "conan" directory. Fixes #109
- Loading branch information
1 parent
6432727
commit 3536f8f
Showing
6 changed files
with
22 additions
and
23 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
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 was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[requires]{% if c %}{% if exe %} | ||
hedley/15{% end %} | ||
json-c/0.17{% else %} | ||
fmt/10.2.1{% end %} | ||
|
||
[test_requires] | ||
catch2/{% if catch3 %}3.5.2{% else %}2.13.10 | ||
|
||
[options] | ||
catch2/*:with_main=True{% end %} | ||
|
||
[generators] | ||
CMakeToolchain | ||
CMakeDeps | ||
VirtualRunEnv | ||
|
||
[layout] | ||
cmake_layout |