Skip to content

Commit

Permalink
Modified to match changes in core package. JIRA: CXX-11140
Browse files Browse the repository at this point in the history
  • Loading branch information
gouriano committed Jul 1, 2022
1 parent aff6ab9 commit 7426595
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 1,354 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,16 +118,15 @@ Or, on Windows:
<a name="recipe_Options"></a>
## Define build options.

NCBI C++ Toolkit libraries can be built as either shared or static ones. The same applies to external packages.
NCBI C++ Toolkit libraries can be built as either shared or static ones.
You can request desired options in conanfile.txt. For example, the following instructs Conan to use NCBI C++ Toolkit
shared libraries and use static libraries of external packages:
shared libraries:

[requires]
ncbi-cxx-toolkit-public/26.0.0
[options]
ncbi-cxx-toolkit-public:with_targets=blastinput
ncbi-cxx-toolkit-public:shared=True
ncbi-cxx-toolkit-public:sharedDeps=False
[generators]
cmake

Expand Down Expand Up @@ -297,7 +296,7 @@ To use *ConanCenter* recipe, **do not** clone this repository, **do not** export
[requires]
ncbi-cxx-toolkit-public/26.0.1

*ConanCenter* recipe does not support *GRPC* and *PROTOBUF* 3-rd party packages, and also lacks support of *sharedDeps* options.
*ConanCenter* recipe does not support *GRPC* and *PROTOBUF* 3-rd party packages.
Note that Conan tries to reuse (download from *ConanCenter*) already existing binary packages which match your build configuration.
If for some reason the build fails, rebuild the Toolkit locally when configuring:

Expand Down
Loading

0 comments on commit 7426595

Please sign in to comment.