Cloned SEACAS for EXODUS library with extra build files for internal package management.
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 Initial commit 2 years ago
..
CMakeLists.txt Initial commit 2 years ago
README.md Initial commit 2 years ago
app.cpp Initial commit 2 years ago
util.cpp Initial commit 2 years ago

README.md

TribitsOldSimpleExampleApp

This simple example project TribitsOldSimpleExampleApp is a raw CMake project that pulls in libraries from a few packages from TribitsExampleProject using just find_package(TribitsExProj REQUIRED COMPONENTS ...) but uses the old specification for using an installed TriBITS project (i.e. through CMake variables <Project>_LIBRARIES, <Project>_INCLUDE_DIRS, and <Project>_TPL_INCLUDE_DIRS).

After building and installing TribitsExampleProject under <upstreamInstallDir>, then configure, build, and test TribitsOldSimpleExampleApp with:

  cmake \
    -DCMAKE_PREFIX_PATH=<upstreamInstallDir> \
    <base-dir>/TribitsOldSimpleExampleApp

  make

  ctest

This project can be instructed to use the non-namespaced old deprecated targets by adding the CMake cache var:

  -D TribitsOldSimpleExApp_USE_DEPRECATED_TARGETS=ON

This will generated deprecated warnings with newer versions of TriBITS. (This is to demonstrate and test these deprecated non-namespaced targets and to demonstrate how to remove the deprecated warnings in a downstream customer CMake project.)

NOTE: The modern version of this project using the modern CMake targets produced by TribitsExampleProject is TribitsSimpleExampleApp. Comparing the CMakeLists.txt files in these two projects (e.g. here and here) demonstrates the simplifications afforded by the namespaced modern CMake targets.