You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,3 +35,25 @@ The ```sudo``` is there to give you the required permissions to install into you
35
35
We have moved the tutorials to a different repository https://github.com/dacelib/dace-tutorials to keep the main repository clean. You can clone the tutorials repository and follow the instructions there to get started with DACE.
36
36
37
37
Also have a look at the [DACE Wiki pages](https://github.com/dacelib/dace/wiki) if you have further questions.
38
+
39
+
## Embedding the DACE in other projects
40
+
To use the DACE library without installing it locally, use the [FetchContent](https://cmake.org/cmake/help/v3.19/module/FetchContent.html) mechanism of CMake.
41
+
42
+
Include this code at the start of your CMakeList.txt file to have CMake automatically clone and build the DACE within your project and make the resulting libraries available as the `dace::dace_s` (static) and `dace::dace` (dynamic) targets.
0 commit comments