Skip to content

Commit

Permalink
Update ch_cmconfig.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gouriano authored Feb 26, 2024
1 parent 0cc1593 commit 31bdf12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/ch_cmconfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,13 +244,13 @@ For developers at NCBI, the following samples are available: [CGI sample](https:
## Use Toolkit as source tree

Sometimes it could be beneficial to use the NCBI C++ Toolkit directly as a source tree. For example, you find the Toolkit in [Github](https://github.com/ncbi/ncbi-cxx-toolkit-public) and want to use it in your project. How to integrate them? One option is to build the Toolkit - standalone or as a Conan package, and then use it as a [prebuilt one](#ch_cmconfig._Use_prebuilt).
Another option is using the Toolkit directly as a source tree.
Another option is to use the Toolkit directly as a source tree.

<a name="ch_cmconfig._unrelated"></a>

### Unrelated source trees

In this case, you put your project sources and the Toolkit into separate unrelated trees - for example, in *$HOME/project* and *$HOME/toolkit*. Now in *$HOME/project*, create *CMakeLists.txt as follows:
In this case, you put your project sources and the Toolkit into separate unrelated trees - for example, in *$HOME/project* and *$HOME/toolkit*. Now in *$HOME/project*, create *CMakeLists.txt* as follows:

cmake_minimum_required(VERSION 3.20)
project(test)
Expand Down

0 comments on commit 31bdf12

Please sign in to comment.