You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lib
96dbec27e0
|
2 years ago | |
---|---|---|
.. | ||
CMakeLists.txt | 2 years ago | |
README.md | 2 years ago | |
app.cpp | 2 years ago | |
util.cpp | 2 years ago |
README.md
TribitsSimpleExampleApp
This simple example project TribitsSimpleExampleApp
is a raw CMake project
that pulls in libraries from a few packages from
TribitsExampleProject
using just
find_package(TribitsExProj REQUIRED COMPONENTS ...)
and also links a smaller
program using a subset of the libraries from one of the packages from
TribitsExampleProject
.
After building and installing TribitsExampleProject
under
<upstreamInstallDir>
, then configure, build, and test
TribitsSimpleExampleApp
with:
cmake \
-DCMAKE_PREFIX_PATH=<upstreamInstallDir> \
<base-dir>/TribitsSimpleExampleApp
make
ctest
NOTE: The version of this project that demonstrates how to use the old interface,
with variables that work with much older versions of TriBITS, is given in
TribitsOldSimpleExampleApp
.